X7ROOT File Manager
Current Path:
/opt/imunify360/venv/lib/python3.11/site-packages/geoip2
opt
/
imunify360
/
venv
/
lib
/
python3.11
/
site-packages
/
geoip2
/
??
..
??
__init__.py
(199 B)
??
__pycache__
??
database.py
(8.7 KB)
??
errors.py
(1.43 KB)
??
mixins.py
(410 B)
??
models.py
(16.6 KB)
??
py.typed
(0 B)
??
records.py
(24.23 KB)
??
types.py
(160 B)
??
webservice.py
(16.94 KB)
Editing: mixins.py
"""This package contains utility mixins""" # pylint: disable=too-few-public-methods from abc import ABCMeta from typing import Any class SimpleEquality(metaclass=ABCMeta): """Naive __dict__ equality mixin""" def __eq__(self, other: Any) -> bool: return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ def __ne__(self, other): return not self.__eq__(other)
Upload File
Create Folder