STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
export_cache.py File Reference

Go to the source code of this file.

Namespaces

namespace  backend
namespace  backend.export_cache

Functions

float backend.export_cache._dt_to_epoch_s (dt)
threading.Lock backend.export_cache._lock_for (str run_id)
Path backend.export_cache.cache_dir (str run_id)
bool backend.export_cache.is_cached (str run_id)
tuple[float, float]|None backend.export_cache._time_bounds (Path parquet_path)
tuple[float, float]|None backend.export_cache._value_bounds (Path parquet_path)
tuple[dict[str, str], float|None, float|None] backend.export_cache._entity_clocks (Path cdir)
int|None backend.export_cache._db_size_bytes (str run_id)
dict backend.export_cache.build_index (str run_id)
Path backend.export_cache.ensure_exported (str run_id, bool refresh=False)
dict backend.export_cache.get_index (str run_id)

Variables

dict backend.export_cache._locks = {}
 backend.export_cache._locks_guard = threading.Lock()
str backend.export_cache._DONE = "_done"
str backend.export_cache._INDEX = "_index.json"
int backend.export_cache.INDEX_VERSION = 3