-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v0.4.0 - Async BugFixes & Optimisations (#225)
* Fix(register): updated register_enum function support custom classes Use isinstance instead of type to support instances of enum class in addition to exact same type. * Support Async * Convert: get_node to async * Fix: Test Case * Bug Fix on connection_resolver * Support Async * Fix: connection_resolver * Support Async, Test Case Added * Bump Version : 0.4.0 * Add asgiref to dependency * Add pytest-asyncio to dependency * Fix: Test Case * Update: README.md * Blocking Threaded to Async * Bug Fix: Argument Parser * (Deprecated) get_resolver to wrap_resolve * Fix: Count Performance * Fix: Queryset Check * Optimise: Lazy Reference Resolver * Fix: DeprecationWarnings * Fix: Queryset evaluation * feat: add support for mongo date field * refactor: change logging level * fix(connection_field): respects non_filter_fields when argument name is same as field name * refact: sync to async wrapper * chore: add ruff formatting * fix: inconsistent has_next_page when pk is not sorted * fix: self.get_queryset not being async * fix[pipeline]: add ruff remove flake8 * refact: filter connection * refact: has_next_page logic * fix: has_next_page using limit * fix: ci change flake8 to ruff * fix: convert | syntax to union type for backward compatibility * chore: add support for python 12 * chore: drop support for python 3.7, add support python 3.12 * refact: add typings * fix: ruff lint * chore: add setup tools for python 12 to fix mongomock ImportError: No module named pkg_resources --------- Co-authored-by: Adithyan Jothir <adithyan@strollby.com> Co-authored-by: Adarsh D <adarshdevamritham@gmail.com> Co-authored-by: Arun Suresh Kumar <asuresh960@gmail.com> Co-authored-by: M Aswin Kishore <mak26.work@gmail.com> Co-authored-by: Edwin Jose George <edwin@strollby.com> Co-authored-by: Roshan R Chandar <roshanr2001@gmail.com>
- Loading branch information
1 parent
615adb3
commit 2a094fc
Showing
38 changed files
with
3,172 additions
and
919 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
from .settings import * # flake8: noqa | ||
|
||
mongoengine.connect( | ||
"graphene-mongo-test", host="mongomock://localhost", alias="default" | ||
) | ||
mongoengine.connect("graphene-mongo-test", host="mongomock://localhost", alias="default") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,17 @@ | ||
from .fields import MongoengineConnectionField | ||
from .fields_async import AsyncMongoengineConnectionField | ||
|
||
from .types import MongoengineObjectType, MongoengineInputType, MongoengineInterfaceType | ||
from .types_async import AsyncMongoengineObjectType | ||
|
||
__version__ = "0.1.1" | ||
|
||
__all__ = [ | ||
"__version__", | ||
"MongoengineObjectType", | ||
"AsyncMongoengineObjectType", | ||
"MongoengineInputType", | ||
"MongoengineInterfaceType", | ||
"MongoengineConnectionField" | ||
] | ||
"MongoengineConnectionField", | ||
"AsyncMongoengineConnectionField", | ||
] |
Oops, something went wrong.