fleet-python 0.2.74b1__tar.gz → 0.2.74b2__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.74b1/fleet_python.egg-info → fleet_python-0.2.74b2}/PKG-INFO +1 -1
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/_async/resources/sqlite.py +18 -7
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2/fleet_python.egg-info}/PKG-INFO +1 -1
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/pyproject.toml +1 -1
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/LICENSE +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/README.md +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/examples/diff_example.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/examples/dsl_example.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/examples/example.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/examples/exampleResume.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/examples/example_account.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/examples/example_action_log.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/examples/example_client.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/examples/example_mcp_anthropic.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/examples/example_mcp_openai.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/examples/example_sync.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/examples/example_task.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/examples/example_tasks.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/examples/example_verifier.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/examples/export_tasks.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/examples/fetch_tasks.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/examples/gemini_example.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/examples/import_tasks.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/examples/iterate_verifiers.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/examples/json_tasks_example.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/examples/nova_act_example.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/examples/openai_example.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/examples/openai_simple_example.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/examples/query_builder_example.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/examples/quickstart.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/examples/test_cdp_logging.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/__init__.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/_async/__init__.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/_async/base.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/_async/client.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/_async/env/__init__.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/_async/env/client.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/_async/exceptions.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/_async/global_client.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/_async/instance/__init__.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/_async/instance/base.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/_async/instance/client.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/_async/models.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/_async/resources/__init__.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/_async/resources/base.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/_async/resources/browser.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/_async/resources/mcp.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/_async/tasks.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/_async/verifiers/__init__.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/_async/verifiers/bundler.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/_async/verifiers/verifier.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/base.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/client.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/config.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/env/__init__.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/env/client.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/exceptions.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/global_client.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/instance/__init__.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/instance/base.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/instance/client.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/instance/models.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/models.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/resources/__init__.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/resources/base.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/resources/browser.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/resources/mcp.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/resources/sqlite.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/tasks.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/types.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/verifiers/__init__.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/verifiers/bundler.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/verifiers/code.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/verifiers/db.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/verifiers/decorator.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/verifiers/parse.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/verifiers/sql_differ.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet/verifiers/verifier.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet_python.egg-info/SOURCES.txt +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet_python.egg-info/dependency_links.txt +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet_python.egg-info/requires.txt +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/fleet_python.egg-info/top_level.txt +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/scripts/fix_sync_imports.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/scripts/unasync.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/setup.cfg +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/tests/__init__.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/tests/test_app_method.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/tests/test_instance_dispatch.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/tests/test_sqlite_resource_dual_mode.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/tests/test_sqlite_shared_memory_behavior.py +0 -0
- {fleet_python-0.2.74b1 → fleet_python-0.2.74b2}/tests/test_verifier_from_string.py +0 -0
|
@@ -296,19 +296,30 @@ class AsyncSnapshotDiff:
|
|
|
296
296
|
if self._cached is not None:
|
|
297
297
|
return self._cached
|
|
298
298
|
|
|
299
|
-
|
|
299
|
+
before_tables = set(await self.before.tables())
|
|
300
|
+
after_tables = set(await self.after.tables())
|
|
301
|
+
all_tables = before_tables | after_tables
|
|
300
302
|
diff: dict[str, dict[str, Any]] = {}
|
|
301
|
-
|
|
303
|
+
|
|
302
304
|
for tbl in all_tables:
|
|
303
305
|
if self.ignore_config.should_ignore_table(tbl):
|
|
304
306
|
continue
|
|
305
|
-
|
|
307
|
+
|
|
306
308
|
# Get primary key columns
|
|
307
309
|
pk_columns = await self._get_primary_key_columns(tbl)
|
|
308
|
-
|
|
309
|
-
# Get data from both snapshots
|
|
310
|
-
|
|
311
|
-
|
|
310
|
+
|
|
311
|
+
# Get data from both snapshots, fetching table contents on demand
|
|
312
|
+
if tbl in before_tables:
|
|
313
|
+
await self.before._ensure_table_data(tbl)
|
|
314
|
+
before_data = self.before._data.get(tbl, [])
|
|
315
|
+
else:
|
|
316
|
+
before_data = []
|
|
317
|
+
|
|
318
|
+
if tbl in after_tables:
|
|
319
|
+
await self.after._ensure_table_data(tbl)
|
|
320
|
+
after_data = self.after._data.get(tbl, [])
|
|
321
|
+
else:
|
|
322
|
+
after_data = []
|
|
312
323
|
|
|
313
324
|
# Create indexes by primary key
|
|
314
325
|
def make_key(row: dict, pk_cols: list[str]) -> Any:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|