mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-13 17:52:19 +03:00
test
This commit is contained in:
parent
c434fa9387
commit
e801fcaa3d
|
@ -25,8 +25,11 @@ class Registry(object):
|
|||
return self._registry.get(model)
|
||||
|
||||
def get_model_by_string(self, model):
|
||||
print(self.__dict__)
|
||||
print(self._registry.__dict__)
|
||||
print(self._field_registry)
|
||||
print(self._registry.keys())
|
||||
return filter(lambda x: model == x.__name__, self._registry.keys())[0]
|
||||
return list(filter(lambda x: model == x.__name__, self._registry.keys()))[0]
|
||||
|
||||
|
||||
def register_converted_field(self, field, converted):
|
||||
|
|
Loading…
Reference in New Issue
Block a user