Skip to content

Commit 8a4e6b1

Browse files
committed
Fix codegen problems
1 parent a222e7c commit 8a4e6b1

File tree

1 file changed

+10
-0
lines changed
  • experimental/python/databricks/bundles/pipelines/_models

1 file changed

+10
-0
lines changed

experimental/python/databricks/bundles/pipelines/_models/pipeline.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,11 @@ class Pipeline(Resource):
173173
DBFS root directory for storing checkpoints and tables.
174174
"""
175175

176+
target: VariableOrOptional[str] = None
177+
"""
178+
Target schema (database) to add tables in this pipeline to. Exactly one of `schema` or `target` must be specified. To publish to Unity Catalog, also specify `catalog`. This legacy field is deprecated for pipeline creation in favor of the `schema` field.
179+
"""
180+
176181
@classmethod
177182
def from_dict(cls, value: "PipelineDict") -> "Self":
178183
return _transform(cls, value)
@@ -302,5 +307,10 @@ class PipelineDict(TypedDict, total=False):
302307
DBFS root directory for storing checkpoints and tables.
303308
"""
304309

310+
target: VariableOrOptional[str]
311+
"""
312+
Target schema (database) to add tables in this pipeline to. Exactly one of `schema` or `target` must be specified. To publish to Unity Catalog, also specify `catalog`. This legacy field is deprecated for pipeline creation in favor of the `schema` field.
313+
"""
314+
305315

306316
PipelineParam = PipelineDict | Pipeline

0 commit comments

Comments
 (0)