some refactors and cleanup

This commit is contained in:
collerek
2020-09-15 13:33:14 +02:00
parent 6124830642
commit df9b5d27da
5 changed files with 98 additions and 65 deletions

View File

@ -18,6 +18,14 @@ from ormar.models import Model
from ormar.queryset import QuerySet
from ormar.relations import RelationType
class UndefinedType: # pragma no cover
def __repr__(self) -> str:
return "OrmarUndefined"
Undefined = UndefinedType()
__version__ = "0.3.0"
__all__ = [
"Integer",
@ -40,4 +48,5 @@ __all__ = [
"ForeignKey",
"QuerySet",
"RelationType",
"Undefined",
]