fleet-python 0.2.73__tar.gz → 0.2.73b1__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.73/fleet_python.egg-info → fleet_python-0.2.73b1}/PKG-INFO +1 -1
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/_async/base.py +2 -6
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/base.py +2 -6
- {fleet_python-0.2.73 → fleet_python-0.2.73b1/fleet_python.egg-info}/PKG-INFO +1 -1
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/pyproject.toml +1 -1
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/LICENSE +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/README.md +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/examples/diff_example.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/examples/dsl_example.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/examples/example.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/examples/exampleResume.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/examples/example_account.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/examples/example_action_log.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/examples/example_client.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/examples/example_mcp_anthropic.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/examples/example_mcp_openai.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/examples/example_sync.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/examples/example_task.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/examples/example_tasks.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/examples/example_verifier.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/examples/export_tasks.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/examples/fetch_tasks.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/examples/gemini_example.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/examples/import_tasks.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/examples/iterate_verifiers.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/examples/json_tasks_example.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/examples/nova_act_example.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/examples/openai_example.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/examples/openai_simple_example.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/examples/query_builder_example.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/examples/quickstart.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/examples/test_cdp_logging.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/__init__.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/_async/__init__.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/_async/client.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/_async/env/__init__.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/_async/env/client.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/_async/exceptions.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/_async/global_client.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/_async/instance/__init__.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/_async/instance/base.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/_async/instance/client.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/_async/models.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/_async/resources/__init__.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/_async/resources/base.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/_async/resources/browser.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/_async/resources/mcp.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/_async/resources/sqlite.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/_async/tasks.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/_async/verifiers/__init__.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/_async/verifiers/bundler.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/_async/verifiers/verifier.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/client.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/config.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/env/__init__.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/env/client.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/exceptions.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/global_client.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/instance/__init__.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/instance/base.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/instance/client.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/instance/models.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/models.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/resources/__init__.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/resources/base.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/resources/browser.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/resources/mcp.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/resources/sqlite.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/tasks.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/types.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/verifiers/__init__.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/verifiers/bundler.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/verifiers/code.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/verifiers/db.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/verifiers/decorator.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/verifiers/parse.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/verifiers/sql_differ.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet/verifiers/verifier.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet_python.egg-info/SOURCES.txt +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet_python.egg-info/dependency_links.txt +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet_python.egg-info/requires.txt +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/fleet_python.egg-info/top_level.txt +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/scripts/fix_sync_imports.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/scripts/unasync.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/setup.cfg +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/tests/__init__.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/tests/test_app_method.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/tests/test_instance_dispatch.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/tests/test_sqlite_resource_dual_mode.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/tests/test_sqlite_shared_memory_behavior.py +0 -0
- {fleet_python-0.2.73 → fleet_python-0.2.73b1}/tests/test_verifier_from_string.py +0 -0
|
@@ -2,7 +2,6 @@ import httpx
|
|
|
2
2
|
from typing import Dict, Any, Optional
|
|
3
3
|
import json
|
|
4
4
|
import logging
|
|
5
|
-
import time
|
|
6
5
|
import uuid
|
|
7
6
|
|
|
8
7
|
from ..models import InstanceResponse
|
|
@@ -52,14 +51,11 @@ class BaseWrapper:
|
|
|
52
51
|
"X-Fleet-SDK-Version": __version__,
|
|
53
52
|
}
|
|
54
53
|
headers["Authorization"] = f"Bearer {self.api_key}"
|
|
55
|
-
|
|
54
|
+
|
|
56
55
|
# Add request ID for idempotency (persists across retries)
|
|
57
56
|
if request_id:
|
|
58
57
|
headers["X-Request-ID"] = request_id
|
|
59
|
-
|
|
60
|
-
# Add timestamp for all requests
|
|
61
|
-
headers["X-Request-Timestamp"] = str(int(time.time() * 1000))
|
|
62
|
-
|
|
58
|
+
|
|
63
59
|
return headers
|
|
64
60
|
|
|
65
61
|
|
|
@@ -2,7 +2,6 @@ import httpx
|
|
|
2
2
|
from typing import Dict, Any, Optional
|
|
3
3
|
import json
|
|
4
4
|
import logging
|
|
5
|
-
import time
|
|
6
5
|
import uuid
|
|
7
6
|
|
|
8
7
|
from .models import InstanceResponse
|
|
@@ -52,14 +51,11 @@ class BaseWrapper:
|
|
|
52
51
|
"X-Fleet-SDK-Version": __version__,
|
|
53
52
|
}
|
|
54
53
|
headers["Authorization"] = f"Bearer {self.api_key}"
|
|
55
|
-
|
|
54
|
+
|
|
56
55
|
# Add request ID for idempotency (persists across retries)
|
|
57
56
|
if request_id:
|
|
58
57
|
headers["X-Request-ID"] = request_id
|
|
59
|
-
|
|
60
|
-
# Add timestamp for all requests
|
|
61
|
-
headers["X-Request-Timestamp"] = str(int(time.time() * 1000))
|
|
62
|
-
|
|
58
|
+
|
|
63
59
|
return headers
|
|
64
60
|
|
|
65
61
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|