fleet-python 0.2.125__tar.gz → 0.2.126__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.125/fleet_python.egg-info → fleet_python-0.2.126}/PKG-INFO +1 -1
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/__init__.py +1 -1
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/_async/__init__.py +1 -1
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/_async/base.py +1 -1
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/_async/client.py +4 -2
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/_async/models.py +2 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/base.py +1 -1
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/client.py +4 -2
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/models.py +2 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126/fleet_python.egg-info}/PKG-INFO +1 -1
- {fleet_python-0.2.125 → fleet_python-0.2.126}/pyproject.toml +1 -1
- {fleet_python-0.2.125 → fleet_python-0.2.126}/LICENSE +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/README.md +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/examples/diff_example.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/examples/dsl_example.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/examples/example.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/examples/exampleResume.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/examples/example_account.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/examples/example_action_log.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/examples/example_client.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/examples/example_mcp_anthropic.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/examples/example_mcp_openai.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/examples/example_sync.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/examples/example_task.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/examples/example_tasks.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/examples/example_verifier.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/examples/export_tasks.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/examples/export_tasks_filtered.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/examples/fetch_tasks.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/examples/gemini_example.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/examples/import_tasks.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/examples/iterate_verifiers.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/examples/json_tasks_example.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/examples/nova_act_example.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/examples/openai_example.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/examples/openai_simple_example.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/examples/query_builder_example.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/examples/quickstart.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/examples/test_cdp_logging.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/_async/env/__init__.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/_async/env/client.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/_async/exceptions.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/_async/global_client.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/_async/instance/__init__.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/_async/instance/base.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/_async/instance/client.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/_async/judge.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/_async/resources/__init__.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/_async/resources/api.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/_async/resources/base.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/_async/resources/browser.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/_async/resources/filesystem.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/_async/resources/mcp.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/_async/resources/sqlite.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/_async/tasks.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/_async/verifiers/__init__.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/_async/verifiers/bundler.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/_async/verifiers/verifier.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/agent/__init__.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/agent/gemini_cua/Dockerfile +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/agent/gemini_cua/__init__.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/agent/gemini_cua/agent.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/agent/gemini_cua/mcp/main.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/agent/gemini_cua/mcp_server/__init__.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/agent/gemini_cua/mcp_server/main.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/agent/gemini_cua/mcp_server/tools.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/agent/gemini_cua/requirements.txt +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/agent/gemini_cua/start.sh +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/agent/orchestrator.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/agent/types.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/agent/utils.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/cli.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/config.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/env/__init__.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/env/client.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/eval/__init__.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/eval/uploader.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/exceptions.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/global_client.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/instance/__init__.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/instance/base.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/instance/client.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/instance/models.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/judge.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/proxy/__init__.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/proxy/proxy.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/proxy/whitelist.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/resources/__init__.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/resources/api.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/resources/base.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/resources/browser.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/resources/filesystem.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/resources/mcp.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/resources/sqlite.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/tasks.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/types.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/utils/__init__.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/utils/http_logging.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/utils/logging.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/utils/playwright.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/verifiers/__init__.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/verifiers/bundler.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/verifiers/code.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/verifiers/db.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/verifiers/decorator.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/verifiers/parse.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/verifiers/sql_differ.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet/verifiers/verifier.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet_python.egg-info/SOURCES.txt +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet_python.egg-info/dependency_links.txt +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet_python.egg-info/entry_points.txt +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet_python.egg-info/requires.txt +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/fleet_python.egg-info/top_level.txt +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/scripts/fix_sync_imports.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/scripts/unasync.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/setup.cfg +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/tests/__init__.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/tests/test_app_method.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/tests/test_expect_exactly.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/tests/test_expect_only.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/tests/test_instance_dispatch.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/tests/test_sqlite_resource_dual_mode.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/tests/test_sqlite_shared_memory_behavior.py +0 -0
- {fleet_python-0.2.125 → fleet_python-0.2.126}/tests/test_verifier_from_string.py +0 -0
|
@@ -601,7 +601,9 @@ class AsyncFleet:
|
|
|
601
601
|
)
|
|
602
602
|
|
|
603
603
|
instance = AsyncEnv(client=self.client, **response.json())
|
|
604
|
-
|
|
604
|
+
# Resources are loaded lazily on first `db()`/`browser()`/`resources()` access
|
|
605
|
+
# via `_load_resources()`, so we don't preload here. Eagerly loading would
|
|
606
|
+
# fail-fast with a 502 while the container is still warming up.
|
|
605
607
|
return instance
|
|
606
608
|
|
|
607
609
|
async def make_for_task(self, task: Task) -> AsyncEnv:
|
|
@@ -653,7 +655,7 @@ class AsyncFleet:
|
|
|
653
655
|
else:
|
|
654
656
|
response = await self.client.request("GET", f"/v1/env/instances/{instance_id}")
|
|
655
657
|
instance = AsyncEnv(client=self.client, **response.json())
|
|
656
|
-
|
|
658
|
+
# Resources load lazily on first `db()`/`browser()`/`resources()` access.
|
|
657
659
|
return instance
|
|
658
660
|
|
|
659
661
|
def _create_url_instance(self, base_url: str) -> AsyncEnv:
|
|
@@ -51,6 +51,7 @@ class Instance(BaseModel):
|
|
|
51
51
|
team_id: str = Field(..., title="Team Id")
|
|
52
52
|
region: str = Field(..., title="Region")
|
|
53
53
|
env_variables: Optional[Dict[str, Any]] = Field(None, title="Env Variables")
|
|
54
|
+
multi_env_list: Optional[List[str]] = Field(None, title="Multi Env List")
|
|
54
55
|
|
|
55
56
|
|
|
56
57
|
class InstanceRequest(BaseModel):
|
|
@@ -357,6 +358,7 @@ class InstanceResponse(BaseModel):
|
|
|
357
358
|
data_version: Optional[str] = Field(None, title="Data Version")
|
|
358
359
|
urls: Optional[InstanceURLs] = Field(None, title="Urls")
|
|
359
360
|
health: Optional[bool] = Field(None, title="Health")
|
|
361
|
+
multi_env_list: Optional[List[str]] = Field(None, title="Multi Env List")
|
|
360
362
|
|
|
361
363
|
|
|
362
364
|
class AccountResponse(BaseModel):
|
|
@@ -613,7 +613,9 @@ class Fleet:
|
|
|
613
613
|
)
|
|
614
614
|
|
|
615
615
|
instance = SyncEnv(client=self.client, **response.json())
|
|
616
|
-
|
|
616
|
+
# Resources load lazily on first `db()`/`browser()`/`resources()` access via
|
|
617
|
+
# `_load_resources()`. Skipping the eager preload avoids fail-fast 502s while
|
|
618
|
+
# the container is still warming up.
|
|
617
619
|
return instance
|
|
618
620
|
|
|
619
621
|
def make_for_task(self, task: Task) -> SyncEnv:
|
|
@@ -665,7 +667,7 @@ class Fleet:
|
|
|
665
667
|
else:
|
|
666
668
|
response = self.client.request("GET", f"/v1/env/instances/{instance_id}")
|
|
667
669
|
instance = SyncEnv(client=self.client, **response.json())
|
|
668
|
-
|
|
670
|
+
# Resources load lazily on first `db()`/`browser()`/`resources()` access.
|
|
669
671
|
return instance
|
|
670
672
|
|
|
671
673
|
def _create_url_instance(self, base_url: str) -> SyncEnv:
|
|
@@ -52,6 +52,7 @@ class Instance(BaseModel):
|
|
|
52
52
|
region: str = Field(..., title="Region")
|
|
53
53
|
env_variables: Optional[Dict[str, Any]] = Field(None, title="Env Variables")
|
|
54
54
|
run_id: Optional[str] = Field(None, title="Run Id")
|
|
55
|
+
multi_env_list: Optional[List[str]] = Field(None, title="Multi Env List")
|
|
55
56
|
|
|
56
57
|
|
|
57
58
|
class InstanceRequest(BaseModel):
|
|
@@ -369,6 +370,7 @@ class InstanceResponse(BaseModel):
|
|
|
369
370
|
profile_id: Optional[str] = Field(None, title="Profile Id")
|
|
370
371
|
heartbeat_interval: Optional[int] = Field(None, title="Heartbeat Interval")
|
|
371
372
|
heartbeat_region: Optional[str] = Field(None, title="Heartbeat Region")
|
|
373
|
+
multi_env_list: Optional[List[str]] = Field(None, title="Multi Env List")
|
|
372
374
|
|
|
373
375
|
|
|
374
376
|
class Run(BaseModel):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|