syncmodels 0.1.347__py2.py3-none-any.whl → 0.1.348__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.
- syncmodels/__init__.py +1 -1
- syncmodels/helpers/orion.py +2 -4
- {syncmodels-0.1.347.dist-info → syncmodels-0.1.348.dist-info}/METADATA +2 -2
- {syncmodels-0.1.347.dist-info → syncmodels-0.1.348.dist-info}/RECORD +9 -9
- {syncmodels-0.1.347.dist-info → syncmodels-0.1.348.dist-info}/AUTHORS.rst +0 -0
- {syncmodels-0.1.347.dist-info → syncmodels-0.1.348.dist-info}/LICENSE +0 -0
- {syncmodels-0.1.347.dist-info → syncmodels-0.1.348.dist-info}/WHEEL +0 -0
- {syncmodels-0.1.347.dist-info → syncmodels-0.1.348.dist-info}/entry_points.txt +0 -0
- {syncmodels-0.1.347.dist-info → syncmodels-0.1.348.dist-info}/top_level.txt +0 -0
syncmodels/__init__.py
CHANGED
syncmodels/helpers/orion.py
CHANGED
@@ -221,7 +221,7 @@ class OrionInjector:
|
|
221
221
|
if response.status_code < 300:
|
222
222
|
orion_item = response.json()
|
223
223
|
else:
|
224
|
-
log.
|
224
|
+
log.debug(
|
225
225
|
"It seems that [%s] doesn't exist in Orion (is a new entity for Orion)",
|
226
226
|
url,
|
227
227
|
)
|
@@ -460,17 +460,15 @@ class OrionInjector:
|
|
460
460
|
# https://fiware-orion.readthedocs.io/en/2.4.0/user/forbidden_characters/index.html
|
461
461
|
# https://telefonicaid.github.io/fiware-orion/archive/api/v2/
|
462
462
|
if isinstance(value, str):
|
463
|
-
|
464
463
|
if self.REG_FORBIDDEN_CHARS.search(value):
|
465
464
|
data[key] = self.REG_FORBIDDEN_CHARS.sub("", value)
|
466
|
-
log.
|
465
|
+
log.info(
|
467
466
|
"[%s] replacing illegal characters in %s: %s -> %s",
|
468
467
|
data["id"],
|
469
468
|
key,
|
470
469
|
value,
|
471
470
|
data[key],
|
472
471
|
)
|
473
|
-
foo = 1
|
474
472
|
else:
|
475
473
|
data[key] = value = replace(value)
|
476
474
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: syncmodels
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.348
|
4
4
|
Summary: Synchronizable Models
|
5
5
|
Home-page: https://github.com/asterio.gonzalez/syncmodels
|
6
6
|
Author: Asterio Gonzalez
|
@@ -18,7 +18,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
18
18
|
Requires-Python: >=3.6
|
19
19
|
License-File: LICENSE
|
20
20
|
License-File: AUTHORS.rst
|
21
|
-
Requires-Dist: agptools>=0.1.
|
21
|
+
Requires-Dist: agptools>=0.1.348
|
22
22
|
Requires-Dist: aiocache
|
23
23
|
Requires-Dist: aiohttp
|
24
24
|
Requires-Dist: Click
|
@@ -1,4 +1,4 @@
|
|
1
|
-
syncmodels/__init__.py,sha256=
|
1
|
+
syncmodels/__init__.py,sha256=zRskcOy0OBfyNpVc1dXZ89VD42tDgHQ5s_KX02h-_OU,146
|
2
2
|
syncmodels/context.py,sha256=k1Gs_ip9BfyRFpyRnzqYvRDKo0sYBqJsh6z9sWln9oE,451
|
3
3
|
syncmodels/crawler.py,sha256=lx0IU586JD0qcdozWiv0y7970CkUEg3SzFB6gOYDS6I,94540
|
4
4
|
syncmodels/crud.py,sha256=oZIcwEKR2i-lesEF_059Y4yThohd9m7gs6R6xYgLH-I,15351
|
@@ -32,7 +32,7 @@ syncmodels/helpers/geojson.py,sha256=9VZjdEw19fLS_Q9topapUOPGxRg2D4GOqm2tlx11W7M
|
|
32
32
|
syncmodels/helpers/importers.py,sha256=KImR9pQu4ir6EI6Ipta0q3RWloFT_VTJi67kM0lZsKQ,3919
|
33
33
|
syncmodels/helpers/loaders.py,sha256=aus0aRcbU1vVa_zWo42aX6uV3B0fQ0aQpkTWlR9xGLA,4325
|
34
34
|
syncmodels/helpers/models.py,sha256=c_ATzmiw5mVY1IGnwmyhjIuu5d2idHU-XeRigZSMkOQ,719
|
35
|
-
syncmodels/helpers/orion.py,sha256=
|
35
|
+
syncmodels/helpers/orion.py,sha256=RY3hEVusUJDuSBN8YBy--RWnZ4TtP0jOUtNuHC1ySjg,30685
|
36
36
|
syncmodels/helpers/surreal.py,sha256=-K7d0JjoSwquSLwIW18Ae4GEL3eI0FTmq2fJKUJd9TA,10912
|
37
37
|
syncmodels/helpers/units.py,sha256=g50m5DQrAyP_qpDRa4LCEA5Rz2UZUmlIixfWG_ddw9I,3571
|
38
38
|
syncmodels/logic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -303,10 +303,10 @@ syncmodels/session/postgresql.py,sha256=ZMIu1Rv93pKfvFlovFBmWArzlrT2xaQWNYGZT_LW
|
|
303
303
|
syncmodels/session/sql.py,sha256=auZ_3RZTSWViED4UrExYaes42Y2bTZKixEsfOpa_zaU,7036
|
304
304
|
syncmodels/session/sqlite.py,sha256=nCDjopLiBpX1F10qkKoARM7JrVdIpJ1WdGOduFVxaiA,2080
|
305
305
|
syncmodels/source/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
306
|
-
syncmodels-0.1.
|
307
|
-
syncmodels-0.1.
|
308
|
-
syncmodels-0.1.
|
309
|
-
syncmodels-0.1.
|
310
|
-
syncmodels-0.1.
|
311
|
-
syncmodels-0.1.
|
312
|
-
syncmodels-0.1.
|
306
|
+
syncmodels-0.1.348.dist-info/AUTHORS.rst,sha256=3ZPoqg8Aav8DSYKd0fwcwn4_5HwSiMLart0E5Un00-U,168
|
307
|
+
syncmodels-0.1.348.dist-info/LICENSE,sha256=uzMOYtIiUsnsD0xHJR7aJWJ4v_bvan0kTnvufy5eNoA,1075
|
308
|
+
syncmodels-0.1.348.dist-info/METADATA,sha256=Eag9GhrcYqHzx4X8iRknn0m6mLU1nEurWlD7DI_iv-I,2700
|
309
|
+
syncmodels-0.1.348.dist-info/WHEEL,sha256=SrDKpSbFN1G94qcmBqS9nyHcDMp9cUS9OC06hC0G3G0,109
|
310
|
+
syncmodels-0.1.348.dist-info/entry_points.txt,sha256=dMnigjZsHMxTwXiiZyBZdBbMYE0-hY3L5cG15EcDAzw,51
|
311
|
+
syncmodels-0.1.348.dist-info/top_level.txt,sha256=2DfQ9NuAhKMjY3BvQGVBA7GfqTm7EoHNbaehSUiqiHQ,11
|
312
|
+
syncmodels-0.1.348.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|