ACIL FM
Dark
Refresh
Current DIR:
/opt/imunify360/venv/lib/python3.11/site-packages/geoip2
/
opt
imunify360
venv
lib
python3.11
site-packages
geoip2
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
__pycache__
-
chmod
Open
Rename
Delete
database.py
8.7 MB
chmod
View
DL
Edit
Rename
Delete
errors.py
1.43 MB
chmod
View
DL
Edit
Rename
Delete
mixins.py
410 B
chmod
View
DL
Edit
Rename
Delete
models.py
16.6 MB
chmod
View
DL
Edit
Rename
Delete
py.typed
0 B
chmod
View
DL
Edit
Rename
Delete
records.py
24.23 MB
chmod
View
DL
Edit
Rename
Delete
types.py
160 B
chmod
View
DL
Edit
Rename
Delete
webservice.py
16.94 MB
chmod
View
DL
Edit
Rename
Delete
__init__.py
199 B
chmod
View
DL
Edit
Rename
Delete
Edit file: /opt/imunify360/venv/lib/python3.11/site-packages/geoip2/errors.py
""" Errors ====== """ from typing import Optional class GeoIP2Error(RuntimeError): """There was a generic error in GeoIP2. This class represents a generic error. It extends :py:exc:`RuntimeError` and does not add any additional attributes. """ class AddressNotFoundError(GeoIP2Error): """The address you were looking up was not found.""" class AuthenticationError(GeoIP2Error): """There was a problem authenticating the request.""" class HTTPError(GeoIP2Error): """There was an error when making your HTTP request. This class represents an HTTP transport error. It extends :py:exc:`GeoIP2Error` and adds attributes of its own. :ivar http_status: The HTTP status code returned :ivar uri: The URI queried :ivar decoded_content: The decoded response content """ def __init__( self, message: str, http_status: Optional[int] = None, uri: Optional[str] = None, decoded_content: Optional[str] = None, ) -> None: super().__init__(message) self.http_status = http_status self.uri = uri self.decoded_content = decoded_content class InvalidRequestError(GeoIP2Error): """The request was invalid.""" class OutOfQueriesError(GeoIP2Error): """Your account is out of funds for the service queried.""" class PermissionRequiredError(GeoIP2Error): """Your account does not have permission to access this service."""
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply