lacuscore 1.7.9__py3-none-any.whl → 1.7.10__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.
lacuscore/lacuscore.py CHANGED
@@ -23,7 +23,7 @@ from enum import IntEnum, unique
23
23
  from logging import LoggerAdapter
24
24
  from pathlib import Path
25
25
  from tempfile import NamedTemporaryFile
26
- from typing import Literal, Optional, Union, Dict, List, Any, TypedDict, overload, Tuple, cast, MutableMapping, Iterator
26
+ from typing import Literal, Any, TypedDict, overload, cast, MutableMapping, Iterator
27
27
  from uuid import uuid4
28
28
  from urllib.parse import urlsplit
29
29
 
@@ -342,7 +342,7 @@ class LacusCore():
342
342
  p = self.redis.pipeline()
343
343
  p.set(f'lacus:query_hash:{hash_query}', perma_uuid, nx=True, ex=recapture_interval)
344
344
  p.hset(f'lacus:capture_settings:{perma_uuid}', mapping=mapping_capture) # type: ignore
345
- p.zadd('lacus:to_capture', {perma_uuid: priority})
345
+ p.zadd('lacus:to_capture', {perma_uuid: priority if priority is not None else 0})
346
346
  try:
347
347
  p.execute()
348
348
  except DataError:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lacuscore
3
- Version: 1.7.9
3
+ Version: 1.7.10
4
4
  Summary: Core of Lacus, usable as a module
5
5
  Home-page: https://github.com/ail-project/LacusCore
6
6
  License: BSD-3-Clause
@@ -26,7 +26,7 @@ Provides-Extra: docs
26
26
  Requires-Dist: Sphinx (<7.2) ; (python_version < "3.9") and (extra == "docs")
27
27
  Requires-Dist: Sphinx (>=7.2,<8.0) ; (python_version >= "3.9") and (extra == "docs")
28
28
  Requires-Dist: defang (>=0.5.3,<0.6.0)
29
- Requires-Dist: playwrightcapture[recaptcha] (>=1.22.6,<2.0.0)
29
+ Requires-Dist: playwrightcapture[recaptcha] (>=1.22.7,<2.0.0)
30
30
  Requires-Dist: redis[hiredis] (>=5.0.1,<6.0.0)
31
31
  Requires-Dist: requests (>=2.31.0,<3.0.0)
32
32
  Requires-Dist: ua-parser (>=0.18.0,<0.19.0)
@@ -0,0 +1,8 @@
1
+ lacuscore/__init__.py,sha256=10JsUmjLD9xQIsjTDYT5nGowsJVe9C-FHNkaUFuAUtU,321
2
+ lacuscore/lacus_monitoring.py,sha256=UOfE_1-_rhVeKJXQ_m9XxYkr7VwyQnA6iK-x_tcXJfo,2775
3
+ lacuscore/lacuscore.py,sha256=nPO6BTFncjq4oeJkuYFM9c4VICyGPNKEtUh0k2qhcY8,40069
4
+ lacuscore/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ lacuscore-1.7.10.dist-info/LICENSE,sha256=4C4hLYrIkUD96Ggk-y_Go1Qf7PBZrEm9PSeTGe2nd4s,1516
6
+ lacuscore-1.7.10.dist-info/METADATA,sha256=_pSrAcSqMZooOBp3WbLj0T4oSH4btzyzPf37SkqQ0cs,2515
7
+ lacuscore-1.7.10.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
8
+ lacuscore-1.7.10.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- lacuscore/__init__.py,sha256=10JsUmjLD9xQIsjTDYT5nGowsJVe9C-FHNkaUFuAUtU,321
2
- lacuscore/lacus_monitoring.py,sha256=UOfE_1-_rhVeKJXQ_m9XxYkr7VwyQnA6iK-x_tcXJfo,2775
3
- lacuscore/lacuscore.py,sha256=gCT0Ebq8rD753bSr8zdlj9fh15JA1wiZvtH1gnCOvEY,40074
4
- lacuscore/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
- lacuscore-1.7.9.dist-info/LICENSE,sha256=4C4hLYrIkUD96Ggk-y_Go1Qf7PBZrEm9PSeTGe2nd4s,1516
6
- lacuscore-1.7.9.dist-info/METADATA,sha256=rRm8P7Cv0nQB1xAujlb7m_zHk56uFxGcD5Mu_wOOeqU,2514
7
- lacuscore-1.7.9.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
8
- lacuscore-1.7.9.dist-info/RECORD,,