Open securedimensions opened 5 months ago
The comparison of a Datastream and Thing.get_datastream().query().list().entities[0] fails.
Datastream
Thing.get_datastream().query().list().entities[0]
... ds1 = fsc.Datastream('Air Temperature', 'Air temperature measured with the FT-0310 Weather Station', 'http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_Measurement') ds1.observed_property = temp ds1.unit_of_measurement = celsius ds1.thing = thing ds1.sensor = sensor service.create(ds1) ds2 = thing.get_datastreams().query().list() if ds1 != ds2.entities[0]: print("datastreams are not equal") else: print("datastreams are equal")
Description
The comparison of a
Datastream
andThing.get_datastream().query().list().entities[0]
fails.Reproducing the error