venvstacks.stacks.LayerExportRequest

class venvstacks.stacks.LayerExportRequest(env_name: EnvNameBuild, env_lock: EnvironmentLock, export_path: Path, export_metadata: ExportMetadata, needs_export: bool)

Structured request to locally export an environment.

Methods

define_export(env_name, env_lock, output_path)

Define a new layer export request for the given environment.

export_environment(env_path[, previous_metadata])

Locally export the layer environment specified in this export request.

Attributes

env_name

env_lock

export_path

export_metadata

needs_export