Skip to content

Commit

Permalink
Remove inheritance
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricardo Sánchez committed May 20, 2021
1 parent fa95061 commit 9b72875
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion mongoengine_plus/aio/async_document.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class AsyncDocument(Document):
meta = dict(
allow_inheritance=True,
abstract=True,
queryset_class=AsyncQuerySet,
)

Expand Down
3 changes: 0 additions & 3 deletions mongoengine_plus/models/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@


class BaseModel:
meta = {
'abstract': True,
}
_excluded: ClassVar = []
_hidden: ClassVar = []

Expand Down
2 changes: 1 addition & 1 deletion mongoengine_plus/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.0.3.dev0'
__version__ = '0.0.3.dev1'

0 comments on commit 9b72875

Please sign in to comment.