venvstacks.stacks.EnvironmentLock¶
- class venvstacks.stacks.EnvironmentLock(requirements_path: Path, versioned: bool)¶
Layered environment dependency locking management
Methods
get_deployed_name
(env_name)load_valid_metadata
(requirements_hash)Loads last locked metadata only if the requirements hash matches
update_lock_metadata
()Attributes
is_locked
last_locked
lock_version
locked_at
requirements_hash
requirements_path
versioned
lock_metadata_path