Pipeline Config Workspace File
laktory.models.pipeline.orchestrators.pipelineconfigworkspacefile.PipelineConfigWorkspaceFile
¤
Bases: WorkspaceFile, PipelineChild
Workspace File storing pipeline configuration. Default values for path and access controls. Forced value for source.
| BASE | DESCRIPTION |
|---|---|
content_base64
|
The base64-encoded file content. Conflicts with
TYPE:
|
md5
|
TYPE:
|
object_id
|
Unique identifier for a workspace file
TYPE:
|
| LAKTORY | DESCRIPTION |
|---|---|
access_controls
|
Access controls list
TYPE:
|
dirpath
|
Workspace directory inside rootpath in which the workspace file is deployed. Used only if
TYPE:
|
path_
|
Workspace filepath for the file. Overwrite
TYPE:
|
render_vars
|
If
TYPE:
|
source_
|
Path to file on local filesystem.
TYPE:
|
| METHOD | DESCRIPTION |
|---|---|
build |
Write config file to |
check_staged |
Raise a clear error if this resource is configured for variable |
| ATTRIBUTE | DESCRIPTION |
|---|---|
filename |
File filename
TYPE:
|
filename
property
¤
File filename
build()
¤
Write config file to settings.build_root if
specified or default cache dir if not. These files may also be used when
deployment is delegated to third parties like Databricks Declarative Bundles.
Source code in laktory/models/pipeline/orchestrators/pipelineconfigworkspacefile.py
74 75 76 77 78 79 80 81 82 83 84 | |
check_staged()
¤
Raise a clear error if this resource is configured for variable
rendering but its staged copy hasn't been written yet (i.e.
.build() hasn't run). Guards against programmatic use that
bypasses Stack.build() (the normal CLI flow always calls it
before dumping resources).
Source code in laktory/models/resources/databricks/_renderablefile.py
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | |