graphene/graphene/utils
Cadu 694c1db21e
Vendor DataLoader from aiodataloader and move get_event_loop() out of __init__ function. (#1459)
* Vendor DataLoader from aiodataloader and also move get_event_loop behavior from `__init__` to a property which only gets resolved when actually needed (this will solve PyTest-related to early get_event_loop() issues)

* Added DataLoader's specific tests

* plug `loop` parameter into `self._loop`, so that we still have the ability to pass in a custom event loop, if needed.


Co-authored-by: Erik Wrede <erikwrede2@gmail.com>
2022-09-07 20:32:53 +02:00
..
tests Vendor DataLoader from aiodataloader and move get_event_loop() out of __init__ function. (#1459) 2022-09-07 20:32:53 +02:00
__init__.py Refactored all graphene code moving to 1.0 2016-06-03 21:06:54 -07:00
crunch.py Graphene v3 following v3 graphql-core (#1048) 2019-08-17 17:07:53 -04:00
dataloader.py Vendor DataLoader from aiodataloader and move get_event_loop() out of __init__ function. (#1459) 2022-09-07 20:32:53 +02:00
deduplicator.py Graphene v3 following v3 graphql-core (#1048) 2019-08-17 17:07:53 -04:00
deprecated.py Updated all str.format(…) to f-strings (#1158) 2020-03-14 17:32:44 -07:00
get_unbound_function.py Run black formatter via pre-commit on all files 2018-07-06 12:09:23 -07:00
is_introspection_key.py add depth limit validator tests 2021-08-14 07:45:34 +05:30
module_loading.py Chore: Refactor Multi Expression Code 2021-11-05 02:21:14 +01:00
orderedtype.py run linters locally 2021-08-24 08:30:54 +05:30
props.py Graphene v3 following v3 graphql-core (#1048) 2019-08-17 17:07:53 -04:00
resolve_only_args.py Run black formatter via pre-commit on all files 2018-07-06 14:03:15 -07:00
str_converters.py Remove to_const function (#1212) 2020-06-24 19:21:40 -07:00
subclass_with_meta.py Updated all str.format(…) to f-strings (#1158) 2020-03-14 17:32:44 -07:00
thenables.py Graphene v3 following v3 graphql-core (#1048) 2019-08-17 17:07:53 -04:00
trim_docstring.py Implement trim_docstring 2017-02-22 07:03:30 +11:00