lacuscore 1.13.2__py3-none-any.whl → 1.13.4__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/helpers.py CHANGED
@@ -16,13 +16,22 @@ from pydantic_core import from_json
16
16
 
17
17
  from playwrightcapture.capture import CaptureResponse as PlaywrightCaptureResponse
18
18
 
19
- from playwright._impl._api_structures import Cookie # , StorageState
20
19
 
20
+ if sys.version_info < (3, 12):
21
+ from typing_extensions import TypedDict
21
22
 
22
- if sys.version_info >= (3, 12):
23
- from typing import TypedDict
23
+ class Cookie(TypedDict, total=False):
24
+ name: str
25
+ value: str
26
+ domain: str
27
+ path: str
28
+ expires: float
29
+ httpOnly: bool
30
+ secure: bool
31
+ sameSite: Literal["Lax", "None", "Strict"]
24
32
  else:
25
- from typing_extensions import TypedDict
33
+ from typing import TypedDict
34
+ from playwright._impl._api_structures import Cookie # , StorageState
26
35
 
27
36
 
28
37
  class LacusCoreException(Exception):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: lacuscore
3
- Version: 1.13.2
3
+ Version: 1.13.4
4
4
  Summary: Core of Lacus, usable as a module
5
5
  License: BSD-3-Clause
6
6
  Author: Raphaël Vinot
@@ -26,7 +26,7 @@ Requires-Dist: async-timeout (>=5.0.1) ; python_version < "3.11"
26
26
  Requires-Dist: defang (>=0.5.3)
27
27
  Requires-Dist: dnspython (>=2.7.0)
28
28
  Requires-Dist: eval-type-backport (>=0.2.2) ; python_version < "3.10"
29
- Requires-Dist: playwrightcapture[recaptcha] (>=1.28.1)
29
+ Requires-Dist: playwrightcapture[recaptcha] (>=1.28.2)
30
30
  Requires-Dist: pydantic (>=2.10.6)
31
31
  Requires-Dist: redis[hiredis] (>=5.2.1)
32
32
  Requires-Dist: requests (>=2.32.3)
@@ -1,10 +1,10 @@
1
1
  lacuscore/__init__.py,sha256=aLBshQPT9IBDKn5qWrX9A_exqtLFPyLsQiPWdfpAFjA,537
2
- lacuscore/helpers.py,sha256=xiYrdpeqMnkJZRULMAjDC_wvesAcWQIt9xwEY3WIVr8,13305
2
+ lacuscore/helpers.py,sha256=UPJl6rzSRCwZUELQcVuYJjndBcgBjm_62N7JjXe5EDU,13543
3
3
  lacuscore/lacus_monitoring.py,sha256=r6IaYuh6sMq43eOWdZx0fU8p4PWVZlqSD6nr6yOaTUU,2713
4
4
  lacuscore/lacuscore.py,sha256=fzW-04_pFK_Bqv-66-ei4OLS3nxpHmNEXCn4_2pXhTU,42212
5
5
  lacuscore/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  lacuscore/task_logger.py,sha256=2wDotU6r6vn-aKO8nZNdxSuisSj11LlcxuvW60qPL0Y,1909
7
- lacuscore-1.13.2.dist-info/LICENSE,sha256=4C4hLYrIkUD96Ggk-y_Go1Qf7PBZrEm9PSeTGe2nd4s,1516
8
- lacuscore-1.13.2.dist-info/METADATA,sha256=m3OmT0l7ETOBcg9V4pls0RdMsQceQwYQ9uDkDykxUBs,2647
9
- lacuscore-1.13.2.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
10
- lacuscore-1.13.2.dist-info/RECORD,,
7
+ lacuscore-1.13.4.dist-info/LICENSE,sha256=4C4hLYrIkUD96Ggk-y_Go1Qf7PBZrEm9PSeTGe2nd4s,1516
8
+ lacuscore-1.13.4.dist-info/METADATA,sha256=IJmzHtaYXz5GM2anvC83JYILKaB-a_bOo0m0q1xsPL0,2647
9
+ lacuscore-1.13.4.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
10
+ lacuscore-1.13.4.dist-info/RECORD,,