You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ifisinstance(values, entity_list.EntityList) and \
all(isinstance(hl, historical_location.HistoricalLocation) forhlinvalues.entities):
self._historical_locations=valuesraiseValueError('historical_location should be of type HistoricalLocation!')
issue service.locations().query().expand("HistoricalLocations").list()
will now raise the ValueError on line 171, because after assignment of self._historical_locations = values function is not returned, but continues to raising ValueError, even though no actual error occured.
proposal
ifisinstance(values, entity_list.EntityList) and \
all(isinstance(hl, historical_location.HistoricalLocation) forhlinvalues.entities):
self._historical_locations=valuesreturnraiseValueError('historical_location should be of type HistoricalLocation!')
The text was updated successfully, but these errors were encountered:
Line 168-171:
https://github.com/FraunhoferIOSB/FROST-Python-Client/blob/master/frost_sta_client/model/location.py#L168
now
issue
service.locations().query().expand("HistoricalLocations").list()
will now raise the ValueError on line 171, because after assignment of
self._historical_locations = values
function is not returned, but continues to raising ValueError, even though no actual error occured.proposal
The text was updated successfully, but these errors were encountered: