Skip to content

Commit f61e939

Browse files
committed
refactor: Rename convert_postgres_array_to_list to convert_field_to_list.
1 parent 439153b commit f61e939

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphene_mongo/converter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def convert_date_to_string(field, registry=None):
5858

5959

6060
@convert_mongoengine_field.register(mongoengine.ListField)
61-
def convert_postgres_array_to_list(field, registry=None):
61+
def convert_field_to_list(field, registry=None):
6262
base_type = convert_mongoengine_field(field.field, registry=registry)
6363
if isinstance(base_type, (Dynamic)):
6464
base_type = base_type.get_type()._type

0 commit comments

Comments
 (0)