Skip to content

Commit e85a612

Browse files
Arun S KumarArun S Kumar
authored andcommitted
[lint] Error fixed
1 parent afa284d commit e85a612

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graphene_mongo/converter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,8 @@ def reference_resolver(root, *args, **kwargs):
236236
only_fields = _type._meta.only_fields.split(",") if isinstance(_type._meta.only_fields,
237237
str) else list()
238238
return field.document_type.objects().no_dereference().only(
239-
*((list(set(only_fields + [to_snake_case(i) for i in get_query_fields(args[0]).keys()])))
240-
)).get(pk=document.id)
239+
*((list(set(only_fields + [to_snake_case(i) for i in get_query_fields(args[0]).keys()]))))).get(
240+
pk=document.id)
241241
return None
242242

243243
def dynamic_type():

0 commit comments

Comments
 (0)