fleet-python 0.2.50__tar.gz → 0.2.51__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.
Potentially problematic release.
This version of fleet-python might be problematic. Click here for more details.
- {fleet_python-0.2.50 → fleet_python-0.2.51}/PKG-INFO +1 -1
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/_async/client.py +1 -9
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/client.py +1 -9
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet_python.egg-info/PKG-INFO +1 -1
- {fleet_python-0.2.50 → fleet_python-0.2.51}/pyproject.toml +1 -1
- {fleet_python-0.2.50 → fleet_python-0.2.51}/LICENSE +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/README.md +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/examples/diff_example.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/examples/dsl_example.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/examples/example.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/examples/exampleResume.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/examples/example_account.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/examples/example_action_log.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/examples/example_client.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/examples/example_mcp_anthropic.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/examples/example_mcp_openai.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/examples/example_sync.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/examples/example_task.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/examples/example_tasks.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/examples/example_verifier.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/examples/gemini_example.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/examples/json_tasks_example.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/examples/nova_act_example.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/examples/openai_example.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/examples/openai_simple_example.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/examples/query_builder_example.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/examples/quickstart.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/examples/test_cdp_logging.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/__init__.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/_async/__init__.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/_async/base.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/_async/env/__init__.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/_async/env/client.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/_async/exceptions.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/_async/global_client.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/_async/instance/__init__.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/_async/instance/base.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/_async/instance/client.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/_async/models.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/_async/resources/__init__.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/_async/resources/base.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/_async/resources/browser.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/_async/resources/mcp.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/_async/resources/sqlite.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/_async/tasks.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/_async/verifiers/__init__.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/_async/verifiers/bundler.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/_async/verifiers/verifier.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/base.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/config.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/env/__init__.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/env/client.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/exceptions.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/global_client.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/instance/__init__.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/instance/base.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/instance/client.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/instance/models.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/models.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/resources/__init__.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/resources/base.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/resources/browser.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/resources/mcp.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/resources/sqlite.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/tasks.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/types.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/verifiers/__init__.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/verifiers/bundler.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/verifiers/code.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/verifiers/db.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/verifiers/decorator.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/verifiers/parse.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/verifiers/sql_differ.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet/verifiers/verifier.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet_python.egg-info/SOURCES.txt +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet_python.egg-info/dependency_links.txt +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet_python.egg-info/requires.txt +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/fleet_python.egg-info/top_level.txt +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/scripts/fix_sync_imports.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/scripts/unasync.py +0 -0
- {fleet_python-0.2.50 → fleet_python-0.2.51}/setup.cfg +0 -0
|
@@ -579,17 +579,9 @@ class AsyncFleet:
|
|
|
579
579
|
tasks.append(task)
|
|
580
580
|
|
|
581
581
|
for task in tasks:
|
|
582
|
-
payload = TaskRequest(
|
|
583
|
-
key=task.key,
|
|
584
|
-
prompt=task.prompt,
|
|
585
|
-
environment_id=task.env_id,
|
|
586
|
-
verifier_func=task.verifier_func,
|
|
587
|
-
version=task.version or None,
|
|
588
|
-
env_variables=task.env_variables or {},
|
|
589
|
-
)
|
|
590
582
|
try:
|
|
591
583
|
response = await self.client.request(
|
|
592
|
-
"POST", "/v1/tasks", json=
|
|
584
|
+
"POST", "/v1/tasks", json=task.model_dump()
|
|
593
585
|
)
|
|
594
586
|
except Exception as e:
|
|
595
587
|
logger.error(f"Failed to import task {task.key}: {e}")
|
|
@@ -587,17 +587,9 @@ class Fleet:
|
|
|
587
587
|
responses = []
|
|
588
588
|
|
|
589
589
|
for task in tasks:
|
|
590
|
-
payload = TaskRequest(
|
|
591
|
-
key=task.key,
|
|
592
|
-
prompt=task.prompt,
|
|
593
|
-
environment_id=task.env_id,
|
|
594
|
-
verifier_func=task.verifier_func,
|
|
595
|
-
version=task.version or None,
|
|
596
|
-
env_variables=task.env_variables or {},
|
|
597
|
-
)
|
|
598
590
|
try:
|
|
599
591
|
response = self.client.request(
|
|
600
|
-
"POST", "/v1/tasks", json=
|
|
592
|
+
"POST", "/v1/tasks", json=task.model_dump()
|
|
601
593
|
)
|
|
602
594
|
responses.append(response)
|
|
603
595
|
except Exception as e:
|
|
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
|