fleet-python 0.2.104__tar.gz → 0.2.106__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.104/fleet_python.egg-info → fleet_python-0.2.106}/PKG-INFO +1 -1
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/_async/client.py +11 -1
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/_async/models.py +9 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/_async/tasks.py +15 -2
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/client.py +11 -1
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/models.py +9 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/tasks.py +15 -2
- {fleet_python-0.2.104 → fleet_python-0.2.106/fleet_python.egg-info}/PKG-INFO +1 -1
- {fleet_python-0.2.104 → fleet_python-0.2.106}/pyproject.toml +1 -1
- {fleet_python-0.2.104 → fleet_python-0.2.106}/LICENSE +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/README.md +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/examples/diff_example.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/examples/dsl_example.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/examples/example.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/examples/exampleResume.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/examples/example_account.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/examples/example_action_log.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/examples/example_client.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/examples/example_mcp_anthropic.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/examples/example_mcp_openai.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/examples/example_sync.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/examples/example_task.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/examples/example_tasks.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/examples/example_verifier.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/examples/export_tasks.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/examples/export_tasks_filtered.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/examples/fetch_tasks.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/examples/gemini_example.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/examples/import_tasks.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/examples/iterate_verifiers.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/examples/json_tasks_example.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/examples/nova_act_example.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/examples/openai_example.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/examples/openai_simple_example.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/examples/query_builder_example.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/examples/quickstart.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/examples/test_cdp_logging.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/__init__.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/_async/__init__.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/_async/base.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/_async/env/__init__.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/_async/env/client.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/_async/exceptions.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/_async/global_client.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/_async/instance/__init__.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/_async/instance/base.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/_async/instance/client.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/_async/resources/__init__.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/_async/resources/api.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/_async/resources/base.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/_async/resources/browser.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/_async/resources/mcp.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/_async/resources/sqlite.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/_async/verifiers/__init__.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/_async/verifiers/bundler.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/_async/verifiers/verifier.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/agent/__init__.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/agent/gemini_cua/Dockerfile +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/agent/gemini_cua/__init__.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/agent/gemini_cua/agent.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/agent/gemini_cua/mcp/main.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/agent/gemini_cua/mcp_server/__init__.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/agent/gemini_cua/mcp_server/main.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/agent/gemini_cua/mcp_server/tools.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/agent/gemini_cua/requirements.txt +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/agent/gemini_cua/start.sh +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/agent/orchestrator.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/agent/types.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/agent/utils.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/base.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/cli.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/config.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/env/__init__.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/env/client.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/eval/__init__.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/eval/uploader.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/exceptions.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/global_client.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/instance/__init__.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/instance/base.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/instance/client.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/instance/models.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/proxy/__init__.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/proxy/proxy.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/proxy/whitelist.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/resources/__init__.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/resources/api.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/resources/base.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/resources/browser.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/resources/mcp.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/resources/sqlite.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/types.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/utils/__init__.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/utils/http_logging.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/utils/logging.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/utils/playwright.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/verifiers/__init__.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/verifiers/bundler.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/verifiers/code.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/verifiers/db.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/verifiers/decorator.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/verifiers/parse.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/verifiers/sql_differ.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet/verifiers/verifier.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet_python.egg-info/SOURCES.txt +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet_python.egg-info/dependency_links.txt +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet_python.egg-info/entry_points.txt +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet_python.egg-info/requires.txt +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/fleet_python.egg-info/top_level.txt +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/scripts/fix_sync_imports.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/scripts/unasync.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/setup.cfg +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/tests/__init__.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/tests/test_app_method.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/tests/test_expect_exactly.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/tests/test_expect_only.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/tests/test_instance_dispatch.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/tests/test_sqlite_resource_dual_mode.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/tests/test_sqlite_shared_memory_behavior.py +0 -0
- {fleet_python-0.2.104 → fleet_python-0.2.106}/tests/test_verifier_from_string.py +0 -0
|
@@ -1270,6 +1270,8 @@ class AsyncFleet:
|
|
|
1270
1270
|
prompt: Optional[str] = None,
|
|
1271
1271
|
verifier_code: Optional[str] = None,
|
|
1272
1272
|
metadata: Optional[Dict[str, Any]] = None,
|
|
1273
|
+
writer_metadata: Optional[Dict[str, Any]] = None,
|
|
1274
|
+
qa_metadata: Optional[Dict[str, Any]] = None,
|
|
1273
1275
|
) -> TaskResponse:
|
|
1274
1276
|
"""Update an existing task.
|
|
1275
1277
|
|
|
@@ -1278,11 +1280,19 @@ class AsyncFleet:
|
|
|
1278
1280
|
prompt: New prompt text for the task (optional)
|
|
1279
1281
|
verifier_code: Python code for task verification (optional)
|
|
1280
1282
|
metadata: Additional metadata for the task (optional)
|
|
1283
|
+
writer_metadata: Metadata filled by task writer (optional)
|
|
1284
|
+
qa_metadata: Metadata filled by QA reviewer (optional)
|
|
1281
1285
|
|
|
1282
1286
|
Returns:
|
|
1283
1287
|
TaskResponse containing the updated task details
|
|
1284
1288
|
"""
|
|
1285
|
-
payload = TaskUpdateRequest(
|
|
1289
|
+
payload = TaskUpdateRequest(
|
|
1290
|
+
prompt=prompt,
|
|
1291
|
+
verifier_code=verifier_code,
|
|
1292
|
+
metadata=metadata,
|
|
1293
|
+
writer_metadata=writer_metadata,
|
|
1294
|
+
qa_metadata=qa_metadata,
|
|
1295
|
+
)
|
|
1286
1296
|
response = await self.client.request(
|
|
1287
1297
|
"PUT", f"/v1/tasks/{task_key}", json=payload.model_dump(exclude_none=True)
|
|
1288
1298
|
)
|
|
@@ -157,6 +157,9 @@ class TaskRequest(BaseModel):
|
|
|
157
157
|
version: Optional[str] = Field(None, title="Version")
|
|
158
158
|
env_variables: Optional[Dict[str, Any]] = Field(None, title="Env Variables")
|
|
159
159
|
metadata: Optional[Dict[str, Any]] = Field(None, title="Metadata")
|
|
160
|
+
writer_metadata: Optional[Dict[str, Any]] = Field(
|
|
161
|
+
None, title="Writer Metadata", description="Metadata filled by task writer"
|
|
162
|
+
)
|
|
160
163
|
output_json_schema: Optional[Dict[str, Any]] = Field(None, title="Output Json Schema")
|
|
161
164
|
|
|
162
165
|
|
|
@@ -164,6 +167,12 @@ class TaskUpdateRequest(BaseModel):
|
|
|
164
167
|
prompt: Optional[str] = Field(None, title="Prompt")
|
|
165
168
|
verifier_code: Optional[str] = Field(None, title="Verifier Code")
|
|
166
169
|
metadata: Optional[Dict[str, Any]] = Field(None, title="Metadata")
|
|
170
|
+
writer_metadata: Optional[Dict[str, Any]] = Field(
|
|
171
|
+
None, title="Writer Metadata", description="Metadata filled by task writer"
|
|
172
|
+
)
|
|
173
|
+
qa_metadata: Optional[Dict[str, Any]] = Field(
|
|
174
|
+
None, title="QA Metadata", description="Metadata filled by QA reviewer"
|
|
175
|
+
)
|
|
167
176
|
|
|
168
177
|
|
|
169
178
|
class VerifierData(BaseModel):
|
|
@@ -456,7 +456,12 @@ async def load_tasks(
|
|
|
456
456
|
|
|
457
457
|
|
|
458
458
|
async def update_task(
|
|
459
|
-
task_key: str,
|
|
459
|
+
task_key: str,
|
|
460
|
+
prompt: Optional[str] = None,
|
|
461
|
+
verifier_code: Optional[str] = None,
|
|
462
|
+
metadata: Optional[Dict[str, Any]] = None,
|
|
463
|
+
writer_metadata: Optional[Dict[str, Any]] = None,
|
|
464
|
+
qa_metadata: Optional[Dict[str, Any]] = None,
|
|
460
465
|
):
|
|
461
466
|
"""Convenience function to update an existing task.
|
|
462
467
|
|
|
@@ -465,6 +470,8 @@ async def update_task(
|
|
|
465
470
|
prompt: New prompt text for the task (optional)
|
|
466
471
|
verifier_code: Python code for task verification (optional)
|
|
467
472
|
metadata: Additional metadata for the task (optional)
|
|
473
|
+
writer_metadata: Metadata filled by task writer (optional)
|
|
474
|
+
qa_metadata: Metadata filled by QA reviewer (optional)
|
|
468
475
|
|
|
469
476
|
Returns:
|
|
470
477
|
TaskResponse containing the updated task details
|
|
@@ -473,12 +480,18 @@ async def update_task(
|
|
|
473
480
|
response = await fleet.update_task("my-task", prompt="New prompt text")
|
|
474
481
|
response = await fleet.update_task("my-task", verifier_code="def verify(env): return True")
|
|
475
482
|
response = await fleet.update_task("my-task", metadata={"seed": 42, "story": "Updated story"})
|
|
483
|
+
response = await fleet.update_task("my-task", writer_metadata={"author": "john"})
|
|
476
484
|
"""
|
|
477
485
|
from .global_client import get_client
|
|
478
486
|
|
|
479
487
|
client = get_client()
|
|
480
488
|
return await client.update_task(
|
|
481
|
-
task_key=task_key,
|
|
489
|
+
task_key=task_key,
|
|
490
|
+
prompt=prompt,
|
|
491
|
+
verifier_code=verifier_code,
|
|
492
|
+
metadata=metadata,
|
|
493
|
+
writer_metadata=writer_metadata,
|
|
494
|
+
qa_metadata=qa_metadata,
|
|
482
495
|
)
|
|
483
496
|
|
|
484
497
|
|
|
@@ -1281,6 +1281,8 @@ class Fleet:
|
|
|
1281
1281
|
prompt: Optional[str] = None,
|
|
1282
1282
|
verifier_code: Optional[str] = None,
|
|
1283
1283
|
metadata: Optional[Dict[str, Any]] = None,
|
|
1284
|
+
writer_metadata: Optional[Dict[str, Any]] = None,
|
|
1285
|
+
qa_metadata: Optional[Dict[str, Any]] = None,
|
|
1284
1286
|
) -> TaskResponse:
|
|
1285
1287
|
"""Update an existing task.
|
|
1286
1288
|
|
|
@@ -1289,11 +1291,19 @@ class Fleet:
|
|
|
1289
1291
|
prompt: New prompt text for the task (optional)
|
|
1290
1292
|
verifier_code: Python code for task verification (optional)
|
|
1291
1293
|
metadata: Additional metadata for the task (optional)
|
|
1294
|
+
writer_metadata: Metadata filled by task writer (optional)
|
|
1295
|
+
qa_metadata: Metadata filled by QA reviewer (optional)
|
|
1292
1296
|
|
|
1293
1297
|
Returns:
|
|
1294
1298
|
TaskResponse containing the updated task details
|
|
1295
1299
|
"""
|
|
1296
|
-
payload = TaskUpdateRequest(
|
|
1300
|
+
payload = TaskUpdateRequest(
|
|
1301
|
+
prompt=prompt,
|
|
1302
|
+
verifier_code=verifier_code,
|
|
1303
|
+
metadata=metadata,
|
|
1304
|
+
writer_metadata=writer_metadata,
|
|
1305
|
+
qa_metadata=qa_metadata,
|
|
1306
|
+
)
|
|
1297
1307
|
response = self.client.request(
|
|
1298
1308
|
"PUT", f"/v1/tasks/{task_key}", json=payload.model_dump(exclude_none=True)
|
|
1299
1309
|
)
|
|
@@ -161,6 +161,9 @@ class TaskRequest(BaseModel):
|
|
|
161
161
|
version: Optional[str] = Field(None, title="Version")
|
|
162
162
|
env_variables: Optional[Dict[str, Any]] = Field(None, title="Env Variables")
|
|
163
163
|
metadata: Optional[Dict[str, Any]] = Field(None, title="Metadata")
|
|
164
|
+
writer_metadata: Optional[Dict[str, Any]] = Field(
|
|
165
|
+
None, title="Writer Metadata", description="Metadata filled by task writer"
|
|
166
|
+
)
|
|
164
167
|
output_json_schema: Optional[Dict[str, Any]] = Field(
|
|
165
168
|
None, title="Output Json Schema"
|
|
166
169
|
)
|
|
@@ -170,6 +173,12 @@ class TaskUpdateRequest(BaseModel):
|
|
|
170
173
|
prompt: Optional[str] = Field(None, title="Prompt")
|
|
171
174
|
verifier_code: Optional[str] = Field(None, title="Verifier Code")
|
|
172
175
|
metadata: Optional[Dict[str, Any]] = Field(None, title="Metadata")
|
|
176
|
+
writer_metadata: Optional[Dict[str, Any]] = Field(
|
|
177
|
+
None, title="Writer Metadata", description="Metadata filled by task writer"
|
|
178
|
+
)
|
|
179
|
+
qa_metadata: Optional[Dict[str, Any]] = Field(
|
|
180
|
+
None, title="QA Metadata", description="Metadata filled by QA reviewer"
|
|
181
|
+
)
|
|
173
182
|
|
|
174
183
|
|
|
175
184
|
class VerifierData(BaseModel):
|
|
@@ -457,7 +457,12 @@ def load_tasks(
|
|
|
457
457
|
|
|
458
458
|
|
|
459
459
|
def update_task(
|
|
460
|
-
task_key: str,
|
|
460
|
+
task_key: str,
|
|
461
|
+
prompt: Optional[str] = None,
|
|
462
|
+
verifier_code: Optional[str] = None,
|
|
463
|
+
metadata: Optional[Dict[str, Any]] = None,
|
|
464
|
+
writer_metadata: Optional[Dict[str, Any]] = None,
|
|
465
|
+
qa_metadata: Optional[Dict[str, Any]] = None,
|
|
461
466
|
):
|
|
462
467
|
"""Convenience function to update an existing task.
|
|
463
468
|
|
|
@@ -466,6 +471,8 @@ def update_task(
|
|
|
466
471
|
prompt: New prompt text for the task (optional)
|
|
467
472
|
verifier_code: Python code for task verification (optional)
|
|
468
473
|
metadata: Additional metadata for the task (optional)
|
|
474
|
+
writer_metadata: Metadata filled by task writer (optional)
|
|
475
|
+
qa_metadata: Metadata filled by QA reviewer (optional)
|
|
469
476
|
|
|
470
477
|
Returns:
|
|
471
478
|
TaskResponse containing the updated task details
|
|
@@ -474,12 +481,18 @@ def update_task(
|
|
|
474
481
|
response = fleet.update_task("my-task", prompt="New prompt text")
|
|
475
482
|
response = fleet.update_task("my-task", verifier_code="def verify(env): return True")
|
|
476
483
|
response = fleet.update_task("my-task", metadata={"seed": 42, "story": "Updated story"})
|
|
484
|
+
response = fleet.update_task("my-task", writer_metadata={"author": "john"})
|
|
477
485
|
"""
|
|
478
486
|
from .global_client import get_client
|
|
479
487
|
|
|
480
488
|
client = get_client()
|
|
481
489
|
return client.update_task(
|
|
482
|
-
task_key=task_key,
|
|
490
|
+
task_key=task_key,
|
|
491
|
+
prompt=prompt,
|
|
492
|
+
verifier_code=verifier_code,
|
|
493
|
+
metadata=metadata,
|
|
494
|
+
writer_metadata=writer_metadata,
|
|
495
|
+
qa_metadata=qa_metadata,
|
|
483
496
|
)
|
|
484
497
|
|
|
485
498
|
|
|
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
|
|
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
|