"""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)
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
__pycache__ | Folder | 0755 |
|
|
__init__.py | File | 199 B | 0644 |
|
database.py | File | 8.7 KB | 0644 |
|
errors.py | File | 1.43 KB | 0644 |
|
mixins.py | File | 410 B | 0644 |
|
models.py | File | 16.6 KB | 0644 |
|
py.typed | File | 0 B | 0644 |
|
records.py | File | 24.23 KB | 0644 |
|
types.py | File | 160 B | 0644 |
|
webservice.py | File | 16.94 KB | 0644 |
|