Skip to content

Commit 3e06d31

Browse files
committed
minor: Add noqa and remove unused property
1 parent 35d3f4a commit 3e06d31

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

graphene_mongo/fields.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,6 @@ def get_reference_field(r, kv):
9292
return r
9393
return reduce(get_reference_field, self.fields.items(), {})
9494

95-
@property
96-
def filter_fields(self):
97-
return self._type._meta.filter_fields
98-
9995
@property
10096
def fields(self):
10197
return self._type._meta.fields

graphene_mongo/types.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ def __init_subclass_with_meta__(cls, model=None, registry=None, skip_registry=Fa
117117
cls._meta.fields.update(mongoengine_fields)
118118
registry.register(cls)
119119

120+
# noqa
120121
@classmethod
121122
def is_type_of(cls, root, info):
122123
if isinstance(root, cls):

0 commit comments

Comments
 (0)