syncmodels 0.1.339__py2.py3-none-any.whl → 0.1.340__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/mapper/mapper.py +2 -2
- syncmodels/storage.py +2 -1
- {syncmodels-0.1.339.dist-info → syncmodels-0.1.340.dist-info}/METADATA +2 -2
- {syncmodels-0.1.339.dist-info → syncmodels-0.1.340.dist-info}/RECORD +10 -10
- {syncmodels-0.1.339.dist-info → syncmodels-0.1.340.dist-info}/AUTHORS.rst +0 -0
- {syncmodels-0.1.339.dist-info → syncmodels-0.1.340.dist-info}/LICENSE +0 -0
- {syncmodels-0.1.339.dist-info → syncmodels-0.1.340.dist-info}/WHEEL +0 -0
- {syncmodels-0.1.339.dist-info → syncmodels-0.1.340.dist-info}/entry_points.txt +0 -0
- {syncmodels-0.1.339.dist-info → syncmodels-0.1.340.dist-info}/top_level.txt +0 -0
syncmodels/__init__.py
CHANGED
syncmodels/mapper/mapper.py
CHANGED
@@ -468,12 +468,12 @@ class Mapper:
|
|
468
468
|
# org["id"] = uid.split(":")[-1]
|
469
469
|
item = klass(**org)
|
470
470
|
except ValidationError as why:
|
471
|
-
log.
|
471
|
+
log.error(
|
472
472
|
"FAILED Pydatic Validation: klass: [%s] : [%s]",
|
473
473
|
klass,
|
474
474
|
org,
|
475
475
|
)
|
476
|
-
log.
|
476
|
+
log.error(f"{why}")
|
477
477
|
item = None
|
478
478
|
return item
|
479
479
|
|
syncmodels/storage.py
CHANGED
@@ -692,7 +692,8 @@ class DualStorage(PickleStorage):
|
|
692
692
|
res2 = await super().set(fqid, data, merge)
|
693
693
|
return all([res1, res2])
|
694
694
|
|
695
|
-
async def put(self, uri: URI, data: JSON = None, **kw) -> bool:
|
695
|
+
# async def put(self, uri: URI, data: JSON = None, **kw) -> bool:
|
696
|
+
async def put(self, uri: URI, data: JSON = None, context={}, **kw) -> bool:
|
696
697
|
_uri = parse_duri(uri)
|
697
698
|
if _uri.get("id"):
|
698
699
|
uri = build_uri(**_uri)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: syncmodels
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.340
|
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.340
|
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=A7RulFWn99dFCpIzsMzQR87lLji-g6qBo2408Use83w,142
|
2
2
|
syncmodels/context.py,sha256=k1Gs_ip9BfyRFpyRnzqYvRDKo0sYBqJsh6z9sWln9oE,451
|
3
3
|
syncmodels/crawler.py,sha256=DAD2tL93iG-LjNQRCg2h_snusjGhQyhdZyMPOCEyvNU,94499
|
4
4
|
syncmodels/crud.py,sha256=oZIcwEKR2i-lesEF_059Y4yThohd9m7gs6R6xYgLH-I,15351
|
@@ -11,7 +11,7 @@ syncmodels/registry.py,sha256=YaQtgbSwa0je1MpCcVHALI3_b85vrddyOlhsnrUcKZs,8224
|
|
11
11
|
syncmodels/requests.py,sha256=wWoC5hPDm1iBM_zrlyKRauzhXgdKR3pT5RqyC-5UZhQ,538
|
12
12
|
syncmodels/runner.py,sha256=IHDKuQ3yJ1DN9wktMiIrerPepYX61tc3AzbFfuUqEFw,5454
|
13
13
|
syncmodels/schema.py,sha256=uinUt8Asq_x7xa6MKWVXNyoWO6gKocjGPppjimaXzEU,2492
|
14
|
-
syncmodels/storage.py,sha256=
|
14
|
+
syncmodels/storage.py,sha256=kMtErJYjn0x3J4Z4L8-ZjNhfC3o6GYafgauZ_UUV6-g,74907
|
15
15
|
syncmodels/syncmodels.py,sha256=jcUxVbv1hrx5hI81VCO1onIM6WyORTqJVPwIqlPocOc,10596
|
16
16
|
syncmodels/timequeue.py,sha256=YRd3ULRaIhoszaBsYhfr0epMqAbL6-NwVEtScjUYttM,595
|
17
17
|
syncmodels/wave.py,sha256=Gra22BLiA9z2nF-6diXpjAc4GZv9nebmyvHxdAfXec4,7764
|
@@ -43,7 +43,7 @@ syncmodels/logic/swarm.py,sha256=eRBVlNAOzzWKFGCb7LGLx2aj7yQlTY1OwLoeSEllvXY,172
|
|
43
43
|
syncmodels/logic/tasks.py,sha256=7C6DYqbMOV9NTewg0qQRoCPo-k9424MlGR62ZkyPrCk,21962
|
44
44
|
syncmodels/mapper/__init__.py,sha256=jS82LFr9zzyqXBz82tSw04vDowhTpKxhg_W2XvhUlt0,129
|
45
45
|
syncmodels/mapper/fiware.py,sha256=auszPmhCS46z_68MXjksrQAFUfctjbVrVdBvOpOkMj8,523
|
46
|
-
syncmodels/mapper/mapper.py,sha256=
|
46
|
+
syncmodels/mapper/mapper.py,sha256=RtFt3t1GzitY08ur6gs3Nr4l2a6y_xFI-Zn2iBCN0xg,17397
|
47
47
|
syncmodels/model/__init__.py,sha256=mD6fpRvBOl7i98pqqwpB2NKlviyD-G8iRXqufjU-9z8,148
|
48
48
|
syncmodels/model/activity.py,sha256=tKzc9zc_5Sx549yTdaTYkfnLnbEsEmzpu53BHstqvFQ,4592
|
49
49
|
syncmodels/model/geofilters.py,sha256=YxZZPk60MvzrBslOrpJec_Er1aTWGg1wgYrXPovrpP8,9284
|
@@ -303,10 +303,10 @@ syncmodels/session/postgresql.py,sha256=ZMIu1Rv93pKfvFlovFBmWArzlrT2xaQWNYGZT_LW
|
|
303
303
|
syncmodels/session/sql.py,sha256=17C8EHn_1twHezhMlD5esMvx4m0iIrnD7JK-TuBswgU,6573
|
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.340.dist-info/AUTHORS.rst,sha256=3ZPoqg8Aav8DSYKd0fwcwn4_5HwSiMLart0E5Un00-U,168
|
307
|
+
syncmodels-0.1.340.dist-info/LICENSE,sha256=uzMOYtIiUsnsD0xHJR7aJWJ4v_bvan0kTnvufy5eNoA,1075
|
308
|
+
syncmodels-0.1.340.dist-info/METADATA,sha256=mjH_KmKnxPts4mnGz494bKnXbGr2hHAc7aagln5R__g,2700
|
309
|
+
syncmodels-0.1.340.dist-info/WHEEL,sha256=SrDKpSbFN1G94qcmBqS9nyHcDMp9cUS9OC06hC0G3G0,109
|
310
|
+
syncmodels-0.1.340.dist-info/entry_points.txt,sha256=dMnigjZsHMxTwXiiZyBZdBbMYE0-hY3L5cG15EcDAzw,51
|
311
|
+
syncmodels-0.1.340.dist-info/top_level.txt,sha256=2DfQ9NuAhKMjY3BvQGVBA7GfqTm7EoHNbaehSUiqiHQ,11
|
312
|
+
syncmodels-0.1.340.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|