syncmodels 0.1.319__py2.py3-none-any.whl → 0.1.321__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/storage.py +3 -1
- {syncmodels-0.1.319.dist-info → syncmodels-0.1.321.dist-info}/METADATA +2 -2
- {syncmodels-0.1.319.dist-info → syncmodels-0.1.321.dist-info}/RECORD +9 -9
- {syncmodels-0.1.319.dist-info → syncmodels-0.1.321.dist-info}/AUTHORS.rst +0 -0
- {syncmodels-0.1.319.dist-info → syncmodels-0.1.321.dist-info}/LICENSE +0 -0
- {syncmodels-0.1.319.dist-info → syncmodels-0.1.321.dist-info}/WHEEL +0 -0
- {syncmodels-0.1.319.dist-info → syncmodels-0.1.321.dist-info}/entry_points.txt +0 -0
- {syncmodels-0.1.319.dist-info → syncmodels-0.1.321.dist-info}/top_level.txt +0 -0
syncmodels/__init__.py
CHANGED
syncmodels/storage.py
CHANGED
@@ -882,6 +882,7 @@ class WaveStorage(iWaves, iStorage):
|
|
882
882
|
normalize_payload(data, sort_keys)
|
883
883
|
|
884
884
|
monotonic = data.setdefault(MONOTONIC_KEY, monotonic_wave())
|
885
|
+
data_sort_blueprint = []
|
885
886
|
|
886
887
|
async def prevously_inserted():
|
887
888
|
"""check if *same* object has been inserted in `tube` previously:
|
@@ -903,6 +904,7 @@ class WaveStorage(iWaves, iStorage):
|
|
903
904
|
nonlocal thing
|
904
905
|
nonlocal uid
|
905
906
|
nonlocal monotonic
|
907
|
+
nonlocal data_sort_blueprint
|
906
908
|
for monotonic_key in set(sort_keys).intersection(data):
|
907
909
|
monotonic_value = DATE(data[monotonic_key])
|
908
910
|
|
@@ -1172,7 +1174,7 @@ class WaveStorage(iWaves, iStorage):
|
|
1172
1174
|
|
1173
1175
|
# TODO: hack to speed up the process for some data
|
1174
1176
|
# TODO: remove when not needed
|
1175
|
-
must_check = kw.get(KIND_KEY) not in ("raw_energy",)
|
1177
|
+
must_check = True or kw.get(KIND_KEY) not in ("raw_energy",)
|
1176
1178
|
if must_check:
|
1177
1179
|
t0 = time.time()
|
1178
1180
|
await prevously_inserted()
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: syncmodels
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.321
|
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.321
|
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=YCrFrx1PsxbhNiMqBBunQVLdt1Ap-Qb9GFv5rNFXSt8,142
|
2
2
|
syncmodels/context.py,sha256=k1Gs_ip9BfyRFpyRnzqYvRDKo0sYBqJsh6z9sWln9oE,451
|
3
3
|
syncmodels/crawler.py,sha256=FthNzipF8cafNvogFC7AFn_N4qxOHkJTeo3Lbcw0P_g,94746
|
4
4
|
syncmodels/crud.py,sha256=ozumS7XgmXSFcFN2SZBH0jB0j_1vK2xE-FeFcTG7ikw,15327
|
@@ -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=FuKkTlakwp_kjVoB99Cye5QNt6eDlYLgZMkDZrpGz_Y,73794
|
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
|
@@ -302,10 +302,10 @@ syncmodels/session/postgresql.py,sha256=ZMIu1Rv93pKfvFlovFBmWArzlrT2xaQWNYGZT_LW
|
|
302
302
|
syncmodels/session/sql.py,sha256=bD7zXRrEKKJmqY2UoibWENuWb5zHrrU72F3_dYbS6LY,6569
|
303
303
|
syncmodels/session/sqlite.py,sha256=nCDjopLiBpX1F10qkKoARM7JrVdIpJ1WdGOduFVxaiA,2080
|
304
304
|
syncmodels/source/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
305
|
-
syncmodels-0.1.
|
306
|
-
syncmodels-0.1.
|
307
|
-
syncmodels-0.1.
|
308
|
-
syncmodels-0.1.
|
309
|
-
syncmodels-0.1.
|
310
|
-
syncmodels-0.1.
|
311
|
-
syncmodels-0.1.
|
305
|
+
syncmodels-0.1.321.dist-info/AUTHORS.rst,sha256=3ZPoqg8Aav8DSYKd0fwcwn4_5HwSiMLart0E5Un00-U,168
|
306
|
+
syncmodels-0.1.321.dist-info/LICENSE,sha256=uzMOYtIiUsnsD0xHJR7aJWJ4v_bvan0kTnvufy5eNoA,1075
|
307
|
+
syncmodels-0.1.321.dist-info/METADATA,sha256=RNK6Sl181O_IzLUQEP0EPIfWr1C11u5QdawpA2z-cmQ,2700
|
308
|
+
syncmodels-0.1.321.dist-info/WHEEL,sha256=SrDKpSbFN1G94qcmBqS9nyHcDMp9cUS9OC06hC0G3G0,109
|
309
|
+
syncmodels-0.1.321.dist-info/entry_points.txt,sha256=dMnigjZsHMxTwXiiZyBZdBbMYE0-hY3L5cG15EcDAzw,51
|
310
|
+
syncmodels-0.1.321.dist-info/top_level.txt,sha256=2DfQ9NuAhKMjY3BvQGVBA7GfqTm7EoHNbaehSUiqiHQ,11
|
311
|
+
syncmodels-0.1.321.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|