Skip to content

Commit baa981c

Browse files
committed
Just a typo, should be 'things instead of 'thing'
1 parent fa35c61 commit baa981c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

frost_sta_client/model/location.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,11 @@ def things(self):
141141
@things.setter
142142
def things(self, values):
143143
if values is None:
144-
self._thing = None
144+
self._things = None
145145
return
146146
if isinstance(values, list) and all(isinstance(th, thing.Thing) for th in values):
147147
entity_class = entity_type.EntityTypes['Thing']['class']
148-
self._thing = entity_list.EntityList(entity_class=entity_class, entities=values)
148+
self._things = entity_list.EntityList(entity_class=entity_class, entities=values)
149149
return
150150
if not isinstance(values, entity_list.EntityList) or \
151151
any((not isinstance(th, thing.Thing)) for th in values.entities):

0 commit comments

Comments
 (0)