Hashes every .py file under the given repo-relative roots, keyed by (repo-relative path, sha256), sorted for a deterministic combined digest. Shared by compute_engine_code_id and compute_collector_code_id.

Methods

_hash_code_under_roots

_hash_code_under_roots(engine_root: Union, roots: tuple) -> str

Hashes every .py file under the given repo-relative roots, keyed by (repo-relative path, sha256), sorted for a deterministic combined digest. Shared by compute_engine_code_id and compute_collector_code_id.

ParameterTypeDescription
engine_rootUnion
rootstuple

Generated with Flude

Copyright © 2026