fleet-python 0.2.75b2__tar.gz → 0.2.75b3__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.75b2/fleet_python.egg-info → fleet_python-0.2.75b3}/PKG-INFO +1 -1
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/examples/iterate_verifiers.py +6 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/_async/verifiers/verifier.py +1 -19
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/verifiers/verifier.py +1 -19
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3/fleet_python.egg-info}/PKG-INFO +1 -1
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/pyproject.toml +1 -1
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/LICENSE +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/README.md +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/examples/diff_example.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/examples/dsl_example.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/examples/example.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/examples/exampleResume.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/examples/example_account.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/examples/example_action_log.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/examples/example_client.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/examples/example_mcp_anthropic.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/examples/example_mcp_openai.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/examples/example_sync.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/examples/example_task.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/examples/example_tasks.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/examples/example_verifier.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/examples/export_tasks.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/examples/fetch_tasks.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/examples/gemini_example.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/examples/import_tasks.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/examples/json_tasks_example.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/examples/nova_act_example.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/examples/openai_example.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/examples/openai_simple_example.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/examples/query_builder_example.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/examples/quickstart.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/examples/test_cdp_logging.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/__init__.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/_async/__init__.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/_async/base.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/_async/client.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/_async/env/__init__.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/_async/env/client.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/_async/exceptions.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/_async/global_client.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/_async/instance/__init__.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/_async/instance/base.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/_async/instance/client.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/_async/models.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/_async/resources/__init__.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/_async/resources/base.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/_async/resources/browser.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/_async/resources/mcp.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/_async/resources/sqlite.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/_async/tasks.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/_async/verifiers/__init__.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/_async/verifiers/bundler.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/base.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/client.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/config.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/env/__init__.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/env/client.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/exceptions.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/global_client.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/instance/__init__.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/instance/base.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/instance/client.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/instance/models.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/models.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/resources/__init__.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/resources/base.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/resources/browser.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/resources/mcp.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/resources/sqlite.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/tasks.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/types.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/verifiers/__init__.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/verifiers/bundler.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/verifiers/code.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/verifiers/db.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/verifiers/decorator.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/verifiers/parse.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet/verifiers/sql_differ.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet_python.egg-info/SOURCES.txt +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet_python.egg-info/dependency_links.txt +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet_python.egg-info/requires.txt +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/fleet_python.egg-info/top_level.txt +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/scripts/fix_sync_imports.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/scripts/unasync.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/setup.cfg +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/tests/__init__.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/tests/test_app_method.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/tests/test_expect_only.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/tests/test_instance_dispatch.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/tests/test_sqlite_resource_dual_mode.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/tests/test_sqlite_shared_memory_behavior.py +0 -0
- {fleet_python-0.2.75b2 → fleet_python-0.2.75b3}/tests/test_verifier_from_string.py +0 -0
|
@@ -387,6 +387,12 @@ def apply_verifiers_to_json(json_path: str, python_path: str) -> None:
|
|
|
387
387
|
|
|
388
388
|
if task_key in verifiers:
|
|
389
389
|
new_code = verifiers[task_key]
|
|
390
|
+
|
|
391
|
+
# Escape newlines in debug print patterns (>>> and <<<)
|
|
392
|
+
# These should be \n escape sequences, not actual newlines
|
|
393
|
+
new_code = new_code.replace(">>>\n", ">>>\\n")
|
|
394
|
+
new_code = new_code.replace("\n<<<", "\\n<<<")
|
|
395
|
+
|
|
390
396
|
old_code = task.get("verifier_func", "").strip()
|
|
391
397
|
|
|
392
398
|
# Only update if the code actually changed
|
|
@@ -232,25 +232,7 @@ Remote traceback:
|
|
|
232
232
|
) -> "VerifiersExecuteResponse":
|
|
233
233
|
"""Remote execution of the verifier function that returns the full response model."""
|
|
234
234
|
args_array = list(args)
|
|
235
|
-
|
|
236
|
-
env_data = {
|
|
237
|
-
"instance_id": env.instance_id,
|
|
238
|
-
"env_key": env.env_key,
|
|
239
|
-
"version": env.version,
|
|
240
|
-
"status": env.status,
|
|
241
|
-
"subdomain": env.subdomain,
|
|
242
|
-
"created_at": env.created_at,
|
|
243
|
-
"updated_at": env.updated_at,
|
|
244
|
-
"terminated_at": env.terminated_at,
|
|
245
|
-
"team_id": env.team_id,
|
|
246
|
-
"region": env.region,
|
|
247
|
-
"env_variables": env.env_variables,
|
|
248
|
-
"data_key": env.data_key,
|
|
249
|
-
"data_version": env.data_version,
|
|
250
|
-
"urls": env.urls.model_dump() if env.urls else None,
|
|
251
|
-
"health": env.health,
|
|
252
|
-
}
|
|
253
|
-
args_array.append({"env": env_data})
|
|
235
|
+
args_array.append({"env": env.instance_id})
|
|
254
236
|
args = tuple(args_array)
|
|
255
237
|
|
|
256
238
|
try:
|
|
@@ -243,25 +243,7 @@ Remote traceback:
|
|
|
243
243
|
) -> "VerifiersExecuteResponse":
|
|
244
244
|
"""Remote execution of the verifier function that returns the full response model."""
|
|
245
245
|
args_array = list(args)
|
|
246
|
-
|
|
247
|
-
env_data = {
|
|
248
|
-
"instance_id": env.instance_id,
|
|
249
|
-
"env_key": env.env_key,
|
|
250
|
-
"version": env.version,
|
|
251
|
-
"status": env.status,
|
|
252
|
-
"subdomain": env.subdomain,
|
|
253
|
-
"created_at": env.created_at,
|
|
254
|
-
"updated_at": env.updated_at,
|
|
255
|
-
"terminated_at": env.terminated_at,
|
|
256
|
-
"team_id": env.team_id,
|
|
257
|
-
"region": env.region,
|
|
258
|
-
"env_variables": env.env_variables,
|
|
259
|
-
"data_key": env.data_key,
|
|
260
|
-
"data_version": env.data_version,
|
|
261
|
-
"urls": env.urls.model_dump() if env.urls else None,
|
|
262
|
-
"health": env.health,
|
|
263
|
-
}
|
|
264
|
-
args_array.append({"env": env_data})
|
|
246
|
+
args_array.append({"env": env.instance_id})
|
|
265
247
|
args = tuple(args_array)
|
|
266
248
|
|
|
267
249
|
try:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|