classifyre-cli 0.9.4__py3-none-any.whl → 0.9.6__py3-none-any.whl
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.
- {classifyre_cli-0.9.4.dist-info → classifyre_cli-0.9.6.dist-info}/METADATA +1 -1
- {classifyre_cli-0.9.4.dist-info → classifyre_cli-0.9.6.dist-info}/RECORD +5 -5
- src/query/session.py +3 -11
- {classifyre_cli-0.9.4.dist-info → classifyre_cli-0.9.6.dist-info}/WHEEL +0 -0
- {classifyre_cli-0.9.4.dist-info → classifyre_cli-0.9.6.dist-info}/entry_points.txt +0 -0
|
@@ -100,7 +100,7 @@ src/query/masks.py,sha256=E-B1kt_99BIcaKpTEYGXYLGKnr3R5b-piLqaZci84Aw,10982
|
|
|
100
100
|
src/query/predicate.py,sha256=VH4U3UyfAL5aWKdcrSSgADy5T3s7WVWJowmNywo6EaE,1644
|
|
101
101
|
src/query/rows.py,sha256=JcUgThkVIKJsQIlhemT_xQ0aiQNItCQ-x8NsLx0KLhc,4588
|
|
102
102
|
src/query/runner.py,sha256=EBwcaMHwSgBgdGNr9k_DMhEB2yc0qcDWGUm8C0AzPjw,7888
|
|
103
|
-
src/query/session.py,sha256=
|
|
103
|
+
src/query/session.py,sha256=Galv55hZwUrhJbIQe7WuyU5d2NoM5UYhip3HEdgYVsc,43432
|
|
104
104
|
src/query/warm.py,sha256=E1QQKm2FqJ5M8hOPeLBYn24bjetFeE8GPYaf8PoR1T8,7719
|
|
105
105
|
src/query/worker.py,sha256=nxW6sqkVFOiCtJh5Tbek8esoY07pxnWrhCwvC8D9e88,52962
|
|
106
106
|
src/query/connectors/__init__.py,sha256=e8rZ-xjwo4qewUMzdwAl5yifTY0sPpUGFaWyYeB48R4,4669
|
|
@@ -254,7 +254,7 @@ src/utils/urn.py,sha256=gqSl0H0FBZZ3cJbpDWX1ewGcyZz2MrNVTIQdoFrQMM0,12622
|
|
|
254
254
|
src/utils/uv_sync.py,sha256=L4ETHuidlgFLbz4e3Vv0Ornh7w8xrkYeFQQGw0hJe8E,10214
|
|
255
255
|
src/utils/validation.py,sha256=5NHsgyZwyEONRu9_ADxUAQNPvbMnpMhKL-hpgFEVMm8,3837
|
|
256
256
|
src/utils/video_processing.py,sha256=B6Br9ybFEa_ioglJGo0P9Fmp1e2B95C24joAktwrjww,11293
|
|
257
|
-
classifyre_cli-0.9.
|
|
258
|
-
classifyre_cli-0.9.
|
|
259
|
-
classifyre_cli-0.9.
|
|
260
|
-
classifyre_cli-0.9.
|
|
257
|
+
classifyre_cli-0.9.6.dist-info/METADATA,sha256=m6EeJgebSqvjjWny-xMUbm6rZmVrXF6EN8h0gcYKqIE,5841
|
|
258
|
+
classifyre_cli-0.9.6.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
259
|
+
classifyre_cli-0.9.6.dist-info/entry_points.txt,sha256=edxllyMiIFfajgCZ3dTRACXYGC34ZX1AYTezMSR5E_8,45
|
|
260
|
+
classifyre_cli-0.9.6.dist-info/RECORD,,
|
src/query/session.py
CHANGED
|
@@ -272,9 +272,7 @@ def _build_bindings(sources: list[dict[str, Any]]) -> dict[str, SourceBinding]:
|
|
|
272
272
|
alias = str(entry.get("alias") or "").lower()
|
|
273
273
|
recipe = entry.get("recipe")
|
|
274
274
|
if alias and isinstance(recipe, dict):
|
|
275
|
-
bindings[alias] = SourceBinding(
|
|
276
|
-
alias, index, recipe, str(entry.get("sourceId") or "")
|
|
277
|
-
)
|
|
275
|
+
bindings[alias] = SourceBinding(alias, index, recipe, str(entry.get("sourceId") or ""))
|
|
278
276
|
return bindings
|
|
279
277
|
|
|
280
278
|
|
|
@@ -389,9 +387,7 @@ class StickyDuckDbState:
|
|
|
389
387
|
class QuerySession:
|
|
390
388
|
"""Runs one :class:`QueryRequest`; use as a context manager."""
|
|
391
389
|
|
|
392
|
-
def __init__(
|
|
393
|
-
self, request: QueryRequest, *, sticky: StickyDuckDbState | None = None
|
|
394
|
-
) -> None:
|
|
390
|
+
def __init__(self, request: QueryRequest, *, sticky: StickyDuckDbState | None = None) -> None:
|
|
395
391
|
self.request = request
|
|
396
392
|
self._duckdb = require_duckdb()
|
|
397
393
|
self._sticky = sticky
|
|
@@ -899,11 +895,7 @@ class QuerySession:
|
|
|
899
895
|
"setupMs": int((setup_done - started) * 1000),
|
|
900
896
|
"executeMs": int((executed - setup_done) * 1000),
|
|
901
897
|
"totalMs": int((time.monotonic() - started) * 1000),
|
|
902
|
-
**(
|
|
903
|
-
{"stickyReuse": self._sticky.reuse_count}
|
|
904
|
-
if self._sticky is not None
|
|
905
|
-
else {}
|
|
906
|
-
),
|
|
898
|
+
**({"stickyReuse": self._sticky.reuse_count} if self._sticky is not None else {}),
|
|
907
899
|
}
|
|
908
900
|
result.tables = sorted(str(t) for t in validated.tables)
|
|
909
901
|
result.scans = self._scan_stats()
|
|
File without changes
|
|
File without changes
|