Luke Mino-Altherr
|
b23302f372
|
refactor(assets): consolidate duplicated query utilities and remove unused code
- Extract shared helpers to database/queries/common.py:
- MAX_BIND_PARAMS, calculate_rows_per_statement, iter_chunks, iter_row_chunks
- build_visible_owner_clause
- Remove duplicate _compute_filename_for_asset, consolidate in path_utils.py
- Remove unused get_asset_info_with_tags (duplicated get_asset_detail)
- Remove redundant __all__ from cache_state.py
- Make internal helpers private (_check_is_scalar)
Amp-Thread-ID: https://ampcode.com/threads/T-019c2ad9-9432-7451-94a8-79287dbbb19e
Co-authored-by: Amp <amp@ampcode.com>
|
2026-02-04 15:04:30 -08:00 |
|