belkka
belkka
Also, according to [usage](https://github.com/graphql-python/graphene-django/blob/9f26772ae02106d723ca27b88eb10660c05df8d8/graphene_django/types.py#L192), https://github.com/graphql-python/graphene-django/blob/9f26772ae02106d723ca27b88eb10660c05df8d8/graphene_django/types.py#L192 there could be added type hints for `fields` and `exclude`: ```python class DjangoObjectTypeOptions(ObjectTypeOptions): ... fields = None # type: Union[List[str], Tuple[str, ...], Literal['__all__']] exclude =...
And explanation why first of edited code examples doesn't work properly: ```python import graphene class Query(graphene.ObjectType): question = graphene.Field( graphene.String, foo=graphene.String(), bar=graphene.Int() ) def resolve_question(root, info, foo, bar): # If...
Added two more commits that fix indentation in another block and add syntax highlighting for graphql queries in code blocks
Same problem python: 3.8.2 httpretty: 1.0.2 requests: 2.22.0 Following script never ends ``` import httpretty import requests httpretty.enable() requests.get('http://example.com') httpretty.disable() ```
I confirm, it looks reasonable. **UPD**: I am not sure now, because `registration_ids=None` does not mean "all users", but rather "make request without "registration_ids" field. Since there is no registration...
I will be glad to perform more similar refactoring in the project if current change will be considered reasonable.
Sorry for the late reply. I have a lot of thoughts on the topic... (Click on every section to expand) ### 1. Is it a breaking change for existing apps?...
@mistborn17 looks like at some point maintainers wanted to [deprecate](https://github.com/milvus-io/pymilvus/commit/60b16aa12cf371f8c7ccdb7ca897e7f16f248bb5) orm module (in dev branch), so I stopped working on the PR. Apparently, they [changed their mind](https://github.com/milvus-io/pymilvus/commit/20c2c54645ceef90bef39088671ca090061cd1c4) later. Though, I...
Could you provide links to the doc and examples you followed? I found this https://docs.graphene-python.org/en/latest/execution/dataloader/. > RuntimeWarning: coroutine 'Query.resolve_account' was never awaited > What am I doing wrong? Apparently, you...
Oh, just noticed this issue is a duplicate of #1390. It also mentions PR #1394, which aims to add support for `Schema.execute_async`