Skip to content

Commit

Permalink
BUG Correction
Browse files Browse the repository at this point in the history
  • Loading branch information
oualib committed Dec 27, 2023
1 parent 1ee45cf commit 8acc302
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions vertica_highcharts/highcharts/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def update(self, kwargs):
else:
self.__options__()[k].__options__().update(v)
else:
self.__options__().update({k:allowed_args[k][0](**v)})
self.__options__().update({k:self.ALLOWED_OPTIONS[k][0](**v)})

elif isinstance(self.ALLOWED_OPTIONS[k], tuple) and isinstance(self.ALLOWED_OPTIONS[k][0](), ArrayObject):
# update array
Expand All @@ -289,7 +289,7 @@ def update(self, kwargs):
for key, value in v.items():
self.__dict__[k].__options__().update({key:value})
else:
self.__dict__.update({k:allowed_args[k][0](**v)})
self.__dict__.update({k:self.ALLOWED_OPTIONS[k][0](**v)})

v = self.__dict__[k].__options__()
# upating object
Expand Down
4 changes: 2 additions & 2 deletions vertica_highcharts/highmaps/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def update(self, kwargs):
else:
self.__options__()[k].__options__().update(v)
else:
self.__options__().update({k:allowed_args[k][0](**v)})
self.__options__().update({k:self.ALLOWED_OPTIONS[k][0](**v)})

elif isinstance(self.ALLOWED_OPTIONS[k], tuple) and isinstance(self.ALLOWED_OPTIONS[k][0](), ArrayObject):
# update array
Expand All @@ -304,7 +304,7 @@ def update(self, kwargs):
for key, value in v.items():
self.__dict__[k].__options__().update({key:value})
else:
self.__dict__.update({k:allowed_args[k][0](**v)})
self.__dict__.update({k:self.ALLOWED_OPTIONS[k][0](**v)})

v = self.__dict__[k].__options__()
# upating object
Expand Down
4 changes: 2 additions & 2 deletions vertica_highcharts/highstock/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def update(self, kwargs):
else:
self.__options__()[k].__options__().update(v)
else:
self.__options__().update({k:allowed_args[k][0](**v)})
self.__options__().update({k:self.ALLOWED_OPTIONS[k][0](**v)})

elif isinstance(self.ALLOWED_OPTIONS[k], tuple) and isinstance(self.ALLOWED_OPTIONS[k][0](), ArrayObject):
# update array
Expand All @@ -288,7 +288,7 @@ def update(self, kwargs):
for key, value in v.items():
self.__dict__[k].__options__().update({key:value})
else:
self.__dict__.update({k:allowed_args[k][0](**v)})
self.__dict__.update({k:self.ALLOWED_OPTIONS[k][0](**v)})

v = self.__dict__[k].__options__()
# upating object
Expand Down

0 comments on commit 8acc302

Please sign in to comment.