fleet-python 0.2.99__tar.gz → 0.2.100__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.99/fleet_python.egg-info → fleet_python-0.2.100}/PKG-INFO +1 -1
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/__init__.py +1 -1
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/_async/__init__.py +1 -1
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/_async/base.py +1 -1
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/_async/resources/sqlite.py +9 -1
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/base.py +1 -1
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/resources/sqlite.py +9 -1
- {fleet_python-0.2.99 → fleet_python-0.2.100/fleet_python.egg-info}/PKG-INFO +1 -1
- {fleet_python-0.2.99 → fleet_python-0.2.100}/pyproject.toml +1 -1
- {fleet_python-0.2.99 → fleet_python-0.2.100}/LICENSE +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/README.md +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/examples/diff_example.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/examples/dsl_example.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/examples/example.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/examples/exampleResume.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/examples/example_account.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/examples/example_action_log.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/examples/example_client.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/examples/example_mcp_anthropic.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/examples/example_mcp_openai.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/examples/example_sync.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/examples/example_task.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/examples/example_tasks.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/examples/example_verifier.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/examples/export_tasks.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/examples/fetch_tasks.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/examples/gemini_example.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/examples/import_tasks.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/examples/iterate_verifiers.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/examples/json_tasks_example.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/examples/nova_act_example.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/examples/openai_example.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/examples/openai_simple_example.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/examples/query_builder_example.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/examples/quickstart.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/examples/test_cdp_logging.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/_async/client.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/_async/env/__init__.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/_async/env/client.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/_async/exceptions.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/_async/global_client.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/_async/instance/__init__.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/_async/instance/base.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/_async/instance/client.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/_async/models.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/_async/resources/__init__.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/_async/resources/api.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/_async/resources/base.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/_async/resources/browser.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/_async/resources/mcp.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/_async/tasks.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/_async/verifiers/__init__.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/_async/verifiers/bundler.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/_async/verifiers/verifier.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/agent/__init__.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/agent/gemini_cua/Dockerfile +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/agent/gemini_cua/__init__.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/agent/gemini_cua/agent.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/agent/gemini_cua/mcp/main.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/agent/gemini_cua/mcp_server/__init__.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/agent/gemini_cua/mcp_server/main.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/agent/gemini_cua/mcp_server/tools.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/agent/gemini_cua/requirements.txt +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/agent/gemini_cua/start.sh +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/agent/orchestrator.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/agent/types.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/agent/utils.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/cli.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/client.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/config.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/env/__init__.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/env/client.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/eval/__init__.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/eval/uploader.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/exceptions.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/global_client.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/instance/__init__.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/instance/base.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/instance/client.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/instance/models.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/models.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/proxy/__init__.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/proxy/proxy.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/proxy/whitelist.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/resources/__init__.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/resources/api.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/resources/base.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/resources/browser.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/resources/mcp.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/tasks.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/types.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/utils/__init__.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/utils/http_logging.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/utils/logging.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/utils/playwright.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/verifiers/__init__.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/verifiers/bundler.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/verifiers/code.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/verifiers/db.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/verifiers/decorator.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/verifiers/parse.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/verifiers/sql_differ.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet/verifiers/verifier.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet_python.egg-info/SOURCES.txt +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet_python.egg-info/dependency_links.txt +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet_python.egg-info/entry_points.txt +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet_python.egg-info/requires.txt +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/fleet_python.egg-info/top_level.txt +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/scripts/fix_sync_imports.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/scripts/unasync.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/setup.cfg +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/tests/__init__.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/tests/test_app_method.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/tests/test_expect_only.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/tests/test_instance_dispatch.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/tests/test_sqlite_resource_dual_mode.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/tests/test_sqlite_shared_memory_behavior.py +0 -0
- {fleet_python-0.2.99 → fleet_python-0.2.100}/tests/test_verifier_from_string.py +0 -0
|
@@ -8,6 +8,7 @@ import sqlite3
|
|
|
8
8
|
import os
|
|
9
9
|
import asyncio
|
|
10
10
|
import re
|
|
11
|
+
import json
|
|
11
12
|
|
|
12
13
|
from typing import TYPE_CHECKING
|
|
13
14
|
|
|
@@ -2114,7 +2115,14 @@ class AsyncSQLiteResource(Resource):
|
|
|
2114
2115
|
response = await self.client.request(
|
|
2115
2116
|
"GET", f"/resources/sqlite/{self.resource.name}/describe"
|
|
2116
2117
|
)
|
|
2117
|
-
|
|
2118
|
+
try:
|
|
2119
|
+
return DescribeResponse(**response.json())
|
|
2120
|
+
except json.JSONDecodeError as e:
|
|
2121
|
+
raise ValueError(
|
|
2122
|
+
f"Failed to parse JSON response from SQLite describe endpoint. "
|
|
2123
|
+
f"Status: {response.status_code}, "
|
|
2124
|
+
f"Response text: {response.text[:500]}"
|
|
2125
|
+
) from e
|
|
2118
2126
|
|
|
2119
2127
|
async def _describe_direct(self) -> DescribeResponse:
|
|
2120
2128
|
"""Describe database schema from local file or in-memory database."""
|
|
@@ -7,6 +7,7 @@ import tempfile
|
|
|
7
7
|
import sqlite3
|
|
8
8
|
import os
|
|
9
9
|
import re
|
|
10
|
+
import json
|
|
10
11
|
|
|
11
12
|
from typing import TYPE_CHECKING
|
|
12
13
|
|
|
@@ -2160,7 +2161,14 @@ class SQLiteResource(Resource):
|
|
|
2160
2161
|
response = self.client.request(
|
|
2161
2162
|
"GET", f"/resources/sqlite/{self.resource.name}/describe"
|
|
2162
2163
|
)
|
|
2163
|
-
|
|
2164
|
+
try:
|
|
2165
|
+
return DescribeResponse(**response.json())
|
|
2166
|
+
except json.JSONDecodeError as e:
|
|
2167
|
+
raise ValueError(
|
|
2168
|
+
f"Failed to parse JSON response from SQLite describe endpoint. "
|
|
2169
|
+
f"Status: {response.status_code}, "
|
|
2170
|
+
f"Response text: {response.text[:500]}"
|
|
2171
|
+
) from e
|
|
2164
2172
|
|
|
2165
2173
|
def _describe_direct(self) -> DescribeResponse:
|
|
2166
2174
|
"""Describe database schema from local file or in-memory database."""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|