frost-sta-client 1.1.44__py2.py3-none-any.whl → 1.1.46__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
1
  __title__ = 'frost_sta_client'
2
- __version__ = '1.1.44'
2
+ __version__ = '1.1.46'
3
3
  __license__ = 'LGPL3'
4
- __author__ = 'Jonathan Vogl'
4
+ __author__ = 'Fraunhofer IOSB'
5
5
  __copyright__ = 'Fraunhofer IOSB'
6
- __contact__ = 'jonathan.vogl@iosb.fraunhofer.de'
6
+ __contact__ = 'maximilian.zenner@iosb.fraunhofer.de'
7
7
  __url__ = 'https://github.com/FraunhoferIOSB/FROST-Python-Client'
8
8
  __description__ = 'a client library to facilitate interaction with a FROST SensorThingsAPI Server'
@@ -168,6 +168,7 @@ class Location(entity.Entity):
168
168
  if isinstance(values, entity_list.EntityList) and \
169
169
  all(isinstance(hl, historical_location.HistoricalLocation) for hl in values.entities):
170
170
  self._historical_locations = values
171
+ return
171
172
  raise ValueError('historical_location should be of type HistoricalLocation!')
172
173
 
173
174
  def get_things(self):
@@ -90,7 +90,8 @@ class SensorThingsService:
90
90
  if parent is None:
91
91
  return relation
92
92
  this_entity_type = entity_type.get_list_for_class(type(parent))
93
- return "{entity_type}({id})/{relation}".format(entity_type=this_entity_type, id=parent.id, relation=relation)
93
+ _id = f"'{parent.id}'" if isinstance(parent.id, str) else parent.id
94
+ return "{entity_type}({id})/{relation}".format(entity_type=this_entity_type, id=_id, relation=relation)
94
95
 
95
96
  def get_full_path(self, parent, relation):
96
97
  slash = "" if self.url.pathstr[-1] == '/' else "/"
@@ -1,21 +1,31 @@
1
- Metadata-Version: 2.1
2
- Name: frost-sta-client
3
- Version: 1.1.44
1
+ Metadata-Version: 2.4
2
+ Name: frost_sta_client
3
+ Version: 1.1.46
4
4
  Summary: a client library to facilitate interaction with a FROST SensorThingsAPI Server
5
5
  Home-page: https://github.com/FraunhoferIOSB/FROST-Python-Client
6
- Author: Jonathan Vogl
7
- Author-email: jonathan.vogl@iosb.fraunhofer.de
6
+ Author: Fraunhofer IOSB
7
+ Author-email: maximilian.zenner@iosb.fraunhofer.de
8
8
  License: LGPL3
9
9
  Keywords: sta,ogc,frost,sensorthingsapi,IoT
10
10
  Description-Content-Type: text/markdown
11
11
  License-File: LICENSE
12
- Requires-Dist: demjson3 >=3.0.5
13
- Requires-Dist: furl >=2.1.3
14
- Requires-Dist: geojson >=2.5.0
15
- Requires-Dist: jsonpickle >=2.0.0
16
- Requires-Dist: requests >=2.26.0
12
+ Requires-Dist: demjson3>=3.0.5
13
+ Requires-Dist: furl>=2.1.3
14
+ Requires-Dist: geojson>=2.5.0
15
+ Requires-Dist: jsonpickle>=2.0.0
16
+ Requires-Dist: requests>=2.26.0
17
17
  Requires-Dist: jsonpatch
18
18
  Requires-Dist: python-dateutil
19
+ Dynamic: author
20
+ Dynamic: author-email
21
+ Dynamic: description
22
+ Dynamic: description-content-type
23
+ Dynamic: home-page
24
+ Dynamic: keywords
25
+ Dynamic: license
26
+ Dynamic: license-file
27
+ Dynamic: requires-dist
28
+ Dynamic: summary
19
29
 
20
30
  # Sensorthings API Python Client
21
31
 
@@ -1,5 +1,5 @@
1
1
  frost_sta_client/__init__.py,sha256=N0Rs6kwdPcpyz0p-Tfq2PYIAIIZsMmnSC0QXus_AmP0,1789
2
- frost_sta_client/__version__.py,sha256=GQSpJjfS8eBXr0jLcx1rge1wgTPGiEIhl4TMpRP3Qak,361
2
+ frost_sta_client/__version__.py,sha256=2I96Dx_dgPZ_hYTctkW8TckFWByBZJV0nmpDGdu9hHQ,367
3
3
  frost_sta_client/utils.py,sha256=hY9JO0F4jIXODXFu7xdFw2b6hGhYQky_UZI0UDRBPaI,4845
4
4
  frost_sta_client/dao/__init__.py,sha256=RKxbQ3WLVygWyz_Kb-SzO7CfUdffq7LqtJHcHSOHmgo,221
5
5
  frost_sta_client/dao/actuator.py,sha256=WxRjeetR50Pb9AbhCdtc1VRSl09pgzfA2DsPBBZy-3E,1099
@@ -21,7 +21,7 @@ frost_sta_client/model/datastream.py,sha256=FwscWHlpX5T_Zj_Prk1gxwZdMO-GLw9DivRn
21
21
  frost_sta_client/model/entity.py,sha256=xf3EgxqUAg3Wk4nvZRNKkeFjYDMSS_47YPNVDVuFGO0,3671
22
22
  frost_sta_client/model/feature_of_interest.py,sha256=uMZN9o4udGoATmw6FTKKWZa5srfQFQpGvqNRjCul-uI,7186
23
23
  frost_sta_client/model/historical_location.py,sha256=UsPgUeYEa-ju_yyGSF0VrW0nVdTxMASsgfq7mB1iRZg,4615
24
- frost_sta_client/model/location.py,sha256=icDVJOMy3XJmuPf4exOUEd2p9Z1xC5fF3CoPgobJagI,9242
24
+ frost_sta_client/model/location.py,sha256=UoakCdiXRwuJ42RH4_pYrzKqAY4tnL0pPJ6CEKoNp04,9262
25
25
  frost_sta_client/model/multi_datastream.py,sha256=USZcs8dmDxI-D5RcX8ejbRavQQUhpBy1glWm7OP1PH8,14376
26
26
  frost_sta_client/model/observation.py,sha256=YPNqH_CMfvaimkdAMtWW76-l5UIai32aej22pP3DnZ8,9221
27
27
  frost_sta_client/model/observedproperty.py,sha256=5ALOVMOSg4AB3CjX0vL_ddF0jKTJwBq89Nt9jE4eDcU,8346
@@ -39,9 +39,9 @@ frost_sta_client/query/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3
39
39
  frost_sta_client/query/query.py,sha256=hXd-ffYf2HDZ5aqVA5lW5XtoijIr4-4mTfevdRDz2pk,5481
40
40
  frost_sta_client/service/__init__.py,sha256=au1GqHe1OB7Iq-i90plqmIrH-7wBE7ogDoQ2uX03Fj0,109
41
41
  frost_sta_client/service/auth_handler.py,sha256=qahYUK7Z0kGvbUcdtpodIA9sngYCfJz2jqKpLVGA8Z4,1117
42
- frost_sta_client/service/sensorthingsservice.py,sha256=ntvnqUoUmPQFn_GC8Z_jEBfEMmQBQ77-Sg0ps1FIYrM,4550
43
- frost_sta_client-1.1.44.dist-info/LICENSE,sha256=LPNKwDiu5awG-TPd0dqYJuC7k4PBPY4LCI_O0LSpW1s,7814
44
- frost_sta_client-1.1.44.dist-info/METADATA,sha256=eBfKeSRyYSqIFGaNLSLTifJ1jWPxQZr-DDch-xh5FIY,5706
45
- frost_sta_client-1.1.44.dist-info/WHEEL,sha256=m9WAupmBd2JGDsXWQGJgMGXIWbQY3F5c2xBJbBhq0nY,110
46
- frost_sta_client-1.1.44.dist-info/top_level.txt,sha256=c35-3D_K1E_y8fcadqI3j6kGQ7HBrkOqCNie5Rv64KI,17
47
- frost_sta_client-1.1.44.dist-info/RECORD,,
42
+ frost_sta_client/service/sensorthingsservice.py,sha256=H2wM4v5oPvJ6eBfvdkbYyLI4V1vaWpbAuq-Q_fGo3-A,4621
43
+ frost_sta_client-1.1.46.dist-info/licenses/LICENSE,sha256=LPNKwDiu5awG-TPd0dqYJuC7k4PBPY4LCI_O0LSpW1s,7814
44
+ frost_sta_client-1.1.46.dist-info/METADATA,sha256=bai9l7s_EzHlUwU-HHwd5Udjw742BCpIm0-f1WxJZdg,5916
45
+ frost_sta_client-1.1.46.dist-info/WHEEL,sha256=9bhjOwO--Rs91xaPcBdlYFUmIudhuXqFlPriQeYQITw,109
46
+ frost_sta_client-1.1.46.dist-info/top_level.txt,sha256=c35-3D_K1E_y8fcadqI3j6kGQ7HBrkOqCNie5Rv64KI,17
47
+ frost_sta_client-1.1.46.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.41.1)
2
+ Generator: setuptools (77.0.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py2-none-any
5
5
  Tag: py3-none-any