fleet-python 0.2.73__tar.gz → 0.2.74__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.
- {fleet_python-0.2.73/fleet_python.egg-info → fleet_python-0.2.74}/PKG-INFO +1 -1
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/__init__.py +1 -1
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/_async/__init__.py +1 -1
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/_async/base.py +1 -1
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/_async/instance/client.py +1 -1
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/_async/tasks.py +3 -1
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/base.py +1 -1
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/instance/client.py +1 -1
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/tasks.py +1 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74/fleet_python.egg-info}/PKG-INFO +1 -1
- {fleet_python-0.2.73 → fleet_python-0.2.74}/pyproject.toml +1 -1
- {fleet_python-0.2.73 → fleet_python-0.2.74}/LICENSE +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/README.md +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/examples/diff_example.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/examples/dsl_example.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/examples/example.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/examples/exampleResume.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/examples/example_account.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/examples/example_action_log.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/examples/example_client.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/examples/example_mcp_anthropic.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/examples/example_mcp_openai.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/examples/example_sync.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/examples/example_task.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/examples/example_tasks.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/examples/example_verifier.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/examples/export_tasks.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/examples/fetch_tasks.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/examples/gemini_example.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/examples/import_tasks.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/examples/iterate_verifiers.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/examples/json_tasks_example.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/examples/nova_act_example.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/examples/openai_example.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/examples/openai_simple_example.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/examples/query_builder_example.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/examples/quickstart.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/examples/test_cdp_logging.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/_async/client.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/_async/env/__init__.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/_async/env/client.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/_async/exceptions.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/_async/global_client.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/_async/instance/__init__.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/_async/instance/base.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/_async/models.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/_async/resources/__init__.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/_async/resources/base.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/_async/resources/browser.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/_async/resources/mcp.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/_async/resources/sqlite.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/_async/verifiers/__init__.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/_async/verifiers/bundler.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/_async/verifiers/verifier.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/client.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/config.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/env/__init__.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/env/client.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/exceptions.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/global_client.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/instance/__init__.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/instance/base.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/instance/models.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/models.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/resources/__init__.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/resources/base.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/resources/browser.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/resources/mcp.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/resources/sqlite.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/types.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/verifiers/__init__.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/verifiers/bundler.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/verifiers/code.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/verifiers/db.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/verifiers/decorator.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/verifiers/parse.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/verifiers/sql_differ.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet/verifiers/verifier.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet_python.egg-info/SOURCES.txt +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet_python.egg-info/dependency_links.txt +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet_python.egg-info/requires.txt +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/fleet_python.egg-info/top_level.txt +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/scripts/fix_sync_imports.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/scripts/unasync.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/setup.cfg +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/tests/__init__.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/tests/test_app_method.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/tests/test_instance_dispatch.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/tests/test_sqlite_resource_dual_mode.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/tests/test_sqlite_shared_memory_behavior.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.74}/tests/test_verifier_from_string.py +0 -0
|
@@ -138,7 +138,7 @@ class AsyncInstanceClient:
|
|
|
138
138
|
|
|
139
139
|
async def _load_resources(self) -> None:
|
|
140
140
|
if self._resources is None:
|
|
141
|
-
response = await self.client.request("GET", "/resources"
|
|
141
|
+
response = await self.client.request("GET", "/resources")
|
|
142
142
|
if response.status_code != 200:
|
|
143
143
|
self._resources = []
|
|
144
144
|
return
|
|
@@ -280,7 +280,7 @@ class Task(BaseModel):
|
|
|
280
280
|
|
|
281
281
|
|
|
282
282
|
def verifier_from_string(
|
|
283
|
-
verifier_func: str, verifier_id: str, verifier_key: str, sha256: str = ""
|
|
283
|
+
verifier_func: str, verifier_id: str, verifier_key: str, sha256: str = "", verifier_runtime_version: str = ""
|
|
284
284
|
) -> "VerifierFunction":
|
|
285
285
|
"""Create a verifier function from string code.
|
|
286
286
|
|
|
@@ -289,6 +289,7 @@ def verifier_from_string(
|
|
|
289
289
|
verifier_id: Unique identifier for the verifier
|
|
290
290
|
verifier_key: Key/name for the verifier
|
|
291
291
|
sha256: SHA256 hash of the verifier code
|
|
292
|
+
verifier_runtime_version: Verifier runtime version
|
|
292
293
|
|
|
293
294
|
Returns:
|
|
294
295
|
VerifierFunction instance that can be used to verify tasks
|
|
@@ -381,6 +382,7 @@ def verifier_from_string(
|
|
|
381
382
|
verifier_id=verifier_id,
|
|
382
383
|
sha256=sha256,
|
|
383
384
|
raw_code=verifier_func,
|
|
385
|
+
verifier_runtime_version=verifier_runtime_version if verifier_runtime_version else None,
|
|
384
386
|
)
|
|
385
387
|
|
|
386
388
|
return verifier_instance
|
|
@@ -136,7 +136,7 @@ class InstanceClient:
|
|
|
136
136
|
|
|
137
137
|
def _load_resources(self) -> None:
|
|
138
138
|
if self._resources is None:
|
|
139
|
-
response = self.client.request("GET", "/resources"
|
|
139
|
+
response = self.client.request("GET", "/resources")
|
|
140
140
|
if response.status_code != 200:
|
|
141
141
|
self._resources = []
|
|
142
142
|
return
|
|
@@ -284,6 +284,7 @@ def verifier_from_string(
|
|
|
284
284
|
verifier_id: Unique identifier for the verifier
|
|
285
285
|
verifier_key: Key/name for the verifier
|
|
286
286
|
sha256: SHA256 hash of the verifier code
|
|
287
|
+
verifier_runtime_version: Verifier runtime version
|
|
287
288
|
|
|
288
289
|
Returns:
|
|
289
290
|
VerifierFunction instance that can be used to verify tasks
|
|
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
|
|
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
|