File "/.../django-project/venv/lib/python3.8/site-packages/resources/schema.py", line 10, in <module>
from graphene_federation import build_schema
File "/.../django-project/venv/lib/python3.8/site-packages/graphene_federation/__init__.py", line 1, in <module>
from .main import build_schema
File "/.../django-project/venv/lib/python3.8/site-packages/graphene_federation/main.py", line 7, in <module>
from .service import get_service_query
File "/.../django-project/venv/lib/python3.8/site-packages/graphene_federation/service.py", line 8, in <module>
from graphene_federation.provides import get_provides_parent_types
File "/.../django-project/venv/lib/python3.8/site-packages/graphene_federation/provides.py", line 22, in <module>
def provides(field, fields: Union[str, list[str]] = None):
TypeError: 'type' object is not subscriptable
Environment:
python
== 3.8graphene-federation
== 3.0.2Django
== 3.2Steps to reproduce:
graphene-federation
to 3.0.2Stacktrace: