We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 830316e commit ce4efcbCopy full SHA for ce4efcb
django_opensearch_dsl/fields.py
@@ -145,7 +145,7 @@ def ListField(field): # noqa
145
146
original_get_value_from_instance = field.get_value_from_instance
147
148
- def get_value_from_instance(self, instance):
+ def get_value_from_instance(self, instance, field_value_to_ignore=None):
149
if not original_get_value_from_instance(instance): # pragma: no cover
150
return []
151
return [value for value in original_get_value_from_instance(instance)]
0 commit comments