wherobots-python-sdk 0.9.0__tar.gz → 0.9.1__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.
- {wherobots_python_sdk-0.9.0/wherobots_python_sdk.egg-info → wherobots_python_sdk-0.9.1}/PKG-INFO +1 -1
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/pyproject.toml +9 -6
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/tests/test_tasks.py +11 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/wherobots/__version__.py +1 -1
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/wherobots/models/_generated.py +1 -1
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1/wherobots_python_sdk.egg-info}/PKG-INFO +1 -1
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/LICENSE +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/README.md +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/setup.cfg +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/tests/test_api.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/tests/test_base_client.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/tests/test_client.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/tests/test_client_header.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/tests/test_config.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/tests/test_enums.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/tests/test_exceptions.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/tests/test_files_api.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/tests/test_files_drive.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/tests/test_init_exports.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/tests/test_integration.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/tests/test_live_contract.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/tests/test_logger.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/tests/test_models.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/tests/test_regressions.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/tests/test_security.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/tests/test_spec_contract.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/tests/test_task_run_wait.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/tests/test_utils.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/tests/test_wire.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/tests/test_workload_auth.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/wherobots/__init__.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/wherobots/_wire.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/wherobots/api/__init__.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/wherobots/api/_operations.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/wherobots/api/base.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/wherobots/api/drive.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/wherobots/api/files.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/wherobots/api/runs.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/wherobots/api/tasks.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/wherobots/api/workload_auth.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/wherobots/client.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/wherobots/config.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/wherobots/enums/__init__.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/wherobots/enums/_generated.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/wherobots/enums/_handwritten.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/wherobots/exceptions.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/wherobots/models/__init__.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/wherobots/models/_handwritten.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/wherobots/py.typed +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/wherobots/sdk.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/wherobots/utils/__init__.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/wherobots/utils/client_header.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/wherobots/utils/logger.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/wherobots/utils/validation.py +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/wherobots_python_sdk.egg-info/SOURCES.txt +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/wherobots_python_sdk.egg-info/dependency_links.txt +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/wherobots_python_sdk.egg-info/requires.txt +0 -0
- {wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/wherobots_python_sdk.egg-info/top_level.txt +0 -0
|
@@ -41,13 +41,13 @@ dev = [
|
|
|
41
41
|
"pytest==9.2.0",
|
|
42
42
|
"pytest-cov==7.1.0",
|
|
43
43
|
"pytest-mock==3.17.0",
|
|
44
|
-
"ruff==0.17.
|
|
45
|
-
"pyrefly==1.4.
|
|
46
|
-
"import-linter==2.
|
|
44
|
+
"ruff==0.17.5",
|
|
45
|
+
"pyrefly==1.4.1",
|
|
46
|
+
"import-linter==2.16",
|
|
47
47
|
"pre-commit==4.7.0",
|
|
48
|
-
"hypothesis==6.170.
|
|
49
|
-
"cosmic-ray==8.
|
|
50
|
-
"ast-grep-cli==0.51.
|
|
48
|
+
"hypothesis==6.170.15",
|
|
49
|
+
"cosmic-ray==8.9.0",
|
|
50
|
+
"ast-grep-cli==0.51.3",
|
|
51
51
|
"types-requests==2.33.0.20261030",
|
|
52
52
|
]
|
|
53
53
|
|
|
@@ -123,3 +123,6 @@ markers = [
|
|
|
123
123
|
"integration: live API tests requiring WHEROBOTS_API_KEY (deselected by default)",
|
|
124
124
|
"off_contract: feeds a response the spec forbids, so skip the spec_contract fixture",
|
|
125
125
|
]
|
|
126
|
+
|
|
127
|
+
[tool.uv]
|
|
128
|
+
exclude-newer = "14 days"
|
|
@@ -227,6 +227,17 @@ def test_logs_pass_since_and_keep_nanosecond_timestamps(session):
|
|
|
227
227
|
|
|
228
228
|
|
|
229
229
|
# Off contract because `units` is an integer on production and a decimal string on staging.
|
|
230
|
+
@pytest.mark.off_contract # The spec gains null when the API ships it (WBC-2038).
|
|
231
|
+
def test_get_task_run_reads_a_null_cached_flag_while_the_run_is_going(session):
|
|
232
|
+
body = TASK_RUN | {"state": "RUNNING", "endedAt": None, "cached": None}
|
|
233
|
+
wb = _wb(session, body=body)
|
|
234
|
+
|
|
235
|
+
run = wb.task_runs.get("tr_1")
|
|
236
|
+
|
|
237
|
+
assert run.cached is None
|
|
238
|
+
assert run.is_active
|
|
239
|
+
|
|
240
|
+
|
|
230
241
|
@pytest.mark.off_contract
|
|
231
242
|
@pytest.mark.parametrize("units", [11, "1.333333"])
|
|
232
243
|
def test_cost_is_a_decimal(session, units):
|
|
@@ -614,7 +614,7 @@ class TaskRun(TaskRunDetailBehavior, WireModel):
|
|
|
614
614
|
|
|
615
615
|
batch_kind: BatchKind | None = dc.field(default=None, metadata={"wire": "batchKind"})
|
|
616
616
|
batch_time: datetime | None = dc.field(default=None, metadata={"wire": "batchTime"})
|
|
617
|
-
cached: bool = dc.field(default=False, metadata={"wire": "cached"})
|
|
617
|
+
cached: bool | None = dc.field(default=False, metadata={"wire": "cached"})
|
|
618
618
|
cancel_requested_at: datetime | None = dc.field(
|
|
619
619
|
default=None, metadata={"wire": "cancelRequestedAt"}
|
|
620
620
|
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/wherobots_python_sdk.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{wherobots_python_sdk-0.9.0 → wherobots_python_sdk-0.9.1}/wherobots_python_sdk.egg-info/requires.txt
RENAMED
|
File without changes
|
|
File without changes
|