lacuscore 1.13.3__tar.gz → 1.13.5__tar.gz
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-1.13.3 → lacuscore-1.13.5}/PKG-INFO +1 -1
- {lacuscore-1.13.3 → lacuscore-1.13.5}/lacuscore/helpers.py +11 -1
- {lacuscore-1.13.3 → lacuscore-1.13.5}/lacuscore/lacuscore.py +2 -2
- {lacuscore-1.13.3 → lacuscore-1.13.5}/pyproject.toml +1 -1
- {lacuscore-1.13.3 → lacuscore-1.13.5}/LICENSE +0 -0
- {lacuscore-1.13.3 → lacuscore-1.13.5}/README.md +0 -0
- {lacuscore-1.13.3 → lacuscore-1.13.5}/lacuscore/__init__.py +0 -0
- {lacuscore-1.13.3 → lacuscore-1.13.5}/lacuscore/lacus_monitoring.py +0 -0
- {lacuscore-1.13.3 → lacuscore-1.13.5}/lacuscore/py.typed +0 -0
- {lacuscore-1.13.3 → lacuscore-1.13.5}/lacuscore/task_logger.py +0 -0
@@ -16,12 +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
|
|
21
20
|
if sys.version_info < (3, 12):
|
22
21
|
from typing_extensions import TypedDict
|
22
|
+
|
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"]
|
23
32
|
else:
|
24
33
|
from typing import TypedDict
|
34
|
+
from playwright._impl._api_structures import Cookie # , StorageState
|
25
35
|
|
26
36
|
|
27
37
|
class LacusCoreException(Exception):
|
@@ -132,7 +132,7 @@ class LacusCore():
|
|
132
132
|
user_agent: str | None=None,
|
133
133
|
proxy: str | dict[str, str] | None=None,
|
134
134
|
general_timeout_in_sec: int | None=None,
|
135
|
-
cookies: list[dict[str, Any]] | None=None,
|
135
|
+
cookies: list[dict[str, Any]] | list[Cookie] | None=None,
|
136
136
|
storage: dict[str, Any] | None=None,
|
137
137
|
headers: dict[str, str] | None=None,
|
138
138
|
http_credentials: dict[str, str] | None=None,
|
@@ -164,7 +164,7 @@ class LacusCore():
|
|
164
164
|
user_agent: str | None=None,
|
165
165
|
proxy: str | dict[str, str] | None=None,
|
166
166
|
general_timeout_in_sec: int | None=None,
|
167
|
-
cookies: list[dict[str, Any]] | None=None,
|
167
|
+
cookies: list[dict[str, Any]] | list[Cookie] | None=None,
|
168
168
|
storage: dict[str, Any] | None=None,
|
169
169
|
headers: dict[str, str] | None=None,
|
170
170
|
http_credentials: dict[str, str] | None=None,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|