♻️ refactor: fold BatchMixin into AggregationsMixin (drop the cast) #192
Loading…
Reference in a new issue
No description provided.
Delete branch "refactor/fold-batch-into-aggregations"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
BatchMixin(a single method) folds intoAggregationsMixin; thecast("AggregationsMixin", self)coupling disappears with it:Evidence
get_devices_ts_time_agoreached intoAggregationsMixinviacast("AggregationsMixin", self)(_batch.py:41) — implicit MRO coupling flagged by the #151 audit.After: method lives next to
get_device_ts_time_ago, calls it as plainself.method.pytest -q→ 242 passed,mypy→ clean.Merge Danger
Door: two-way
Blast Radius: none — public API unchanged (
client.get_devices_ts_time_agoidentical); private module + test monkeypatch target only.Closes the batch part of #176. Part of the #151 audit consolidation.
WIP: ♻️ refactor: fold BatchMixin into AggregationsMixin (drop the cast)to ♻️ refactor: fold BatchMixin into AggregationsMixin (drop the cast)