Skip to content

Commit e328d68

Browse files
committed
removed mutable default argument
1 parent 5ff31a4 commit e328d68

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

frost_sta_client/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__title__ = 'frost_sta_client'
2-
__version__ = '1.1.38'
2+
__version__ = '1.1.39'
33
__license__ = 'LGPL3'
44
__author__ = 'Jonathan Vogl'
55
__copyright__ = 'Fraunhofer IOSB'

frost_sta_client/model/ext/data_array_document.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717

1818

1919
class DataArrayDocument:
20-
def __init__(self, count=-1, next_link = None, value = []):
20+
def __init__(self, count=-1, next_link = None, value=None):
21+
if value is None:
22+
value = []
2123
self._count = count
2224
self._next_link = next_link
2325
self._value = value

0 commit comments

Comments
 (0)