Skip to content

Commit

Permalink
style: fix typo #265
Browse files Browse the repository at this point in the history
  • Loading branch information
MRichards99 committed Jan 31, 2022
1 parent a253422 commit 3f1b2d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datagateway_api/src/search_api/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def _is_panosc_entity_field_of_type_list(entity_field):
is_list = True
# The `_name` `outer_type_` attribute was introduced in Python 3.7 so to check
# whether the field is of type list in Python 3.6, we are checking the type of its
# defualt value. We must ensure that any new list fields that get added in future
# default value. We must ensure that any new list fields that get added in future
# are assigned a list by default.
elif isinstance(entity_field.default, list):
is_list = True
Expand Down

0 comments on commit 3f1b2d6

Please sign in to comment.