The problem: - Commit https://github.com/graphql-python/graphql-core/commit/42328a69a7b9c71bb539497c0a844916eb4e1805 changed some classes in `introspection.py`, leading to a breaking change Related issues: - https://github.com/koxudaxi/datamodel-code-generator/issues/2533 Notes: It looks like that commit was originally meant for v3.3.x: https://github.com/graphql-python/graphql-core/commit/4c8ecd484f19efa5b2e52838e226fd4358efd782 However it has been merged in v.3.2.7 release.