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 11bddac commit 09c021bCopy full SHA for 09c021b
Adafruit_IO/model.py
@@ -136,7 +136,7 @@ def _group_from_dict(cls, data):
136
def _dashboard_from_dict(cls, data):
137
params = {x: data.get(x, None) for x in cls._fields}
138
# Parse the blocks if they're provided and generate block instances.
139
- params['blocks'] = tuple(map(Feed.from_dict, data.get('blocks', [])))
+ params['blocks'] = tuple(map(Block.from_dict, data.get('blocks', [])))
140
return cls(**params)
141
142
0 commit comments