mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-02 20:54:16 +03:00
Added introspect method to the schema
This commit is contained in:
parent
b3ecbb300f
commit
8274fcc5d9
|
@ -52,6 +52,9 @@ class Schema(object):
|
||||||
operation_name=operation_name
|
operation_name=operation_name
|
||||||
)
|
)
|
||||||
|
|
||||||
|
def introspect(self):
|
||||||
|
return self._schema.get_type_map()
|
||||||
|
|
||||||
|
|
||||||
@signals.class_prepared.connect
|
@signals.class_prepared.connect
|
||||||
def object_type_created(object_type):
|
def object_type_created(object_type):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user