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 1fd0c29 commit fbd9a67Copy full SHA for fbd9a67
highcharts_gantt/options/series/series_generator.py
@@ -124,6 +124,7 @@
124
'gantt'
125
]
126
127
+
128
def create_series_obj(value,
129
default_type = None) -> Optional[SeriesBase]:
130
"""Create an instance descended from
@@ -179,8 +180,8 @@ def create_series_obj(value,
179
180
181
type_ = preliminary_as_dict.get('type', default_type)
182
else:
- preliminary_as_dict = json.loads(value)
183
- type_ = preliminary_as_dict.get('type', default_type)
+ preliminary_as_dict = json.loads(value)
184
+ type_ = preliminary_as_dict.get('type', default_type)
185
186
if not type_:
187
raise errors.HighchartsValueError('To instantiate a Series, the "type" must '
0 commit comments