syncmodels 0.1.328__py2.py3-none-any.whl → 0.1.330__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/logic/browser.py +3 -3
- syncmodels/session/sql.py +1 -1
- syncmodels/storage.py +2 -2
- {syncmodels-0.1.328.dist-info → syncmodels-0.1.330.dist-info}/METADATA +2 -2
- {syncmodels-0.1.328.dist-info → syncmodels-0.1.330.dist-info}/RECORD +11 -11
- {syncmodels-0.1.328.dist-info → syncmodels-0.1.330.dist-info}/AUTHORS.rst +0 -0
- {syncmodels-0.1.328.dist-info → syncmodels-0.1.330.dist-info}/LICENSE +0 -0
- {syncmodels-0.1.328.dist-info → syncmodels-0.1.330.dist-info}/WHEEL +0 -0
- {syncmodels-0.1.328.dist-info → syncmodels-0.1.330.dist-info}/entry_points.txt +0 -0
- {syncmodels-0.1.328.dist-info → syncmodels-0.1.330.dist-info}/top_level.txt +0 -0
syncmodels/__init__.py
CHANGED
syncmodels/logic/browser.py
CHANGED
@@ -757,13 +757,14 @@ class BrowserLogicBot(SwarmBot):
|
|
757
757
|
'url': 'https://www.notino.es/ardell/remover-producto-para-quitar-las-pestanas-postizas/p-16258869/'}]}
|
758
758
|
"""
|
759
759
|
universe = {}
|
760
|
-
if
|
760
|
+
if True:
|
761
761
|
_task = {
|
762
762
|
"bot": "wip",
|
763
763
|
"datetime": "2025-01-18 11:46:18.241069+00:00",
|
764
764
|
"id": "queue:00a401e322d3a3b43e8687cf5d4c10bd",
|
765
765
|
"kind__": "prices",
|
766
|
-
"url": "https://
|
766
|
+
"url": "https://makeup.es/product/600657/",
|
767
|
+
# "url": "https://wells.pt/total-plex-bond-reconstruction-shampoo-7932859.html",
|
767
768
|
# "url": "https://www.maquillalia.com/ardell-kit-de-pestanas-postizas-seamless-naked-p-84985.html",
|
768
769
|
# "url": "https://www.douglas.es/es/p/5010993205",
|
769
770
|
# "url": "https://www.amazon.es/gp/offer-listing/B00LM8CW6Y",
|
@@ -1587,7 +1588,6 @@ class BrowserLogicSession(iBrowserSession):
|
|
1587
1588
|
|
1588
1589
|
|
1589
1590
|
"""
|
1590
|
-
|
1591
1591
|
frame = sys._getframe(1)
|
1592
1592
|
context = frame.f_locals.get("context")
|
1593
1593
|
page = aux = None
|
syncmodels/session/sql.py
CHANGED
@@ -111,7 +111,7 @@ class iSQLSession(iSession):
|
|
111
111
|
|
112
112
|
since_key = params.get(MONOTONIC_SINCE_KEY)
|
113
113
|
table = context[KIND_KEY]
|
114
|
-
limit = params.get(LIMIT_KEY_VALUE, context.get(LIMIT_KEY_VALUE)) or
|
114
|
+
limit = params.get(LIMIT_KEY_VALUE, context.get(LIMIT_KEY_VALUE)) or 1024
|
115
115
|
|
116
116
|
query = f"SELECT * FROM {table}"
|
117
117
|
if MONOTONIC_SINCE_VALUE in params:
|
syncmodels/storage.py
CHANGED
@@ -831,8 +831,8 @@ class WaveStorage(iWaves, iStorage):
|
|
831
831
|
namespace = _uri["fscheme"]
|
832
832
|
database = _uri["host"]
|
833
833
|
thing = _uri["thing"]
|
834
|
-
uid = data.pop("id", None)
|
835
|
-
data[ORG_KEY] = uid
|
834
|
+
uid = data.pop("id", None) or _uri.get("id")
|
835
|
+
data[ORG_KEY] = uid # must exists!
|
836
836
|
# TODO: agp: REVIEW when data[ORG_KEY] is None
|
837
837
|
assert data[ORG_KEY], "id isn't provided?"
|
838
838
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: syncmodels
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.330
|
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.330
|
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=g59bA8lWKxQA9npRZE5WiXLHT-QTCR2ggetQwG4iExQ,142
|
2
2
|
syncmodels/context.py,sha256=k1Gs_ip9BfyRFpyRnzqYvRDKo0sYBqJsh6z9sWln9oE,451
|
3
3
|
syncmodels/crawler.py,sha256=_pgelyrIKuVl8vdINJ6NSh5qkSnZf4rAACph4SZ_2H4,95281
|
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=tnF74q94wCidUo4dW77RWLVSKzJRv5ZGKFsNfoxWOkg,74546
|
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
|
@@ -38,7 +38,7 @@ syncmodels/helpers/units.py,sha256=g50m5DQrAyP_qpDRa4LCEA5Rz2UZUmlIixfWG_ddw9I,3
|
|
38
38
|
syncmodels/logic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
39
39
|
syncmodels/logic/activity_logger.py,sha256=8wjvgRwaNbibYWGgl-trovSS70yNkoCTlb-AIx3aZEE,14053
|
40
40
|
syncmodels/logic/analyzer.py,sha256=AJncaSGlgKKG2X-Y9-6_phBZkIz4CGWYLI2JSKqLhhI,12542
|
41
|
-
syncmodels/logic/browser.py,sha256=
|
41
|
+
syncmodels/logic/browser.py,sha256=I7qBVuzlz_CAb8UdZ9vkQC4WHfj33tf6OTFQrt0WyZM,85257
|
42
42
|
syncmodels/logic/swarm.py,sha256=eRBVlNAOzzWKFGCb7LGLx2aj7yQlTY1OwLoeSEllvXY,17207
|
43
43
|
syncmodels/logic/tasks.py,sha256=7C6DYqbMOV9NTewg0qQRoCPo-k9424MlGR62ZkyPrCk,21962
|
44
44
|
syncmodels/mapper/__init__.py,sha256=jS82LFr9zzyqXBz82tSw04vDowhTpKxhg_W2XvhUlt0,129
|
@@ -300,13 +300,13 @@ syncmodels/model/schema_org/xpathtype.py,sha256=D8gKiCrGSSuUVYw7BIWmOIUbKATfv2Ip
|
|
300
300
|
syncmodels/session/__init__.py,sha256=NxFkOiL_oGaYt2qv9yAvWrNcXn_xT9yLzCLd7PGRaWI,15564
|
301
301
|
syncmodels/session/http.py,sha256=tf7z0ccAEYoCOZT4Ukv3NBXz9hUO3vs2s9bm491pCj8,1480
|
302
302
|
syncmodels/session/postgresql.py,sha256=ZMIu1Rv93pKfvFlovFBmWArzlrT2xaQWNYGZT_LW61k,175
|
303
|
-
syncmodels/session/sql.py,sha256=
|
303
|
+
syncmodels/session/sql.py,sha256=bD7zXRrEKKJmqY2UoibWENuWb5zHrrU72F3_dYbS6LY,6569
|
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.330.dist-info/AUTHORS.rst,sha256=3ZPoqg8Aav8DSYKd0fwcwn4_5HwSiMLart0E5Un00-U,168
|
307
|
+
syncmodels-0.1.330.dist-info/LICENSE,sha256=uzMOYtIiUsnsD0xHJR7aJWJ4v_bvan0kTnvufy5eNoA,1075
|
308
|
+
syncmodels-0.1.330.dist-info/METADATA,sha256=tNxb2OSD2M4XsGc7gAC8FQRkCOcnZdoHFtpRESCA9tk,2700
|
309
|
+
syncmodels-0.1.330.dist-info/WHEEL,sha256=SrDKpSbFN1G94qcmBqS9nyHcDMp9cUS9OC06hC0G3G0,109
|
310
|
+
syncmodels-0.1.330.dist-info/entry_points.txt,sha256=dMnigjZsHMxTwXiiZyBZdBbMYE0-hY3L5cG15EcDAzw,51
|
311
|
+
syncmodels-0.1.330.dist-info/top_level.txt,sha256=2DfQ9NuAhKMjY3BvQGVBA7GfqTm7EoHNbaehSUiqiHQ,11
|
312
|
+
syncmodels-0.1.330.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|