diff options
author | tmartins <thigm85@gmail.com> | 2020-07-07 10:20:05 +0200 |
---|---|---|
committer | tmartins <thigm85@gmail.com> | 2020-07-07 10:20:05 +0200 |
commit | e9eecc937cdc2dc4925904c1f0e986efcb016269 (patch) | |
tree | fa66d9fcf8e6b337b499b5f2b4f88ab49e5ea317 /python | |
parent | 8ca9b9fbbcfbf61eae4681438fb81c9c0b0d66a5 (diff) |
remove redundant list
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": |