diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/vespa/vespa/package.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vespa/vespa/package.py b/python/vespa/vespa/package.py index 4606b111f5e..ed0aa047805 100644 --- a/python/vespa/vespa/package.py +++ b/python/vespa/vespa/package.py @@ -86,7 +86,7 @@ class Document(ToJson, FromJson["Document"]): :param fields: fields to be added :return: """ - self.fields.extend(list(fields)) + self.fields.extend(fields) @staticmethod def from_dict(mapping: Mapping) -> "Document": |