Skip to content

Commit

Permalink
make uses on pipeline schmea optional
Browse files Browse the repository at this point in the history
  • Loading branch information
nathandf committed Oct 12, 2023
1 parent 0e3bcd2 commit 3312816
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/api/src/backend/views/http/requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ class FunctionTask(BaseTask):
class Pipeline(BaseModel):
id: ID
type: EnumPipelineType = EnumPipelineType.Workflow
uses: Union[str, Uses]
uses: Union[str, Uses] = {}
tasks: List[
Annotated[
Union[
Expand Down
2 changes: 1 addition & 1 deletion src/engine/src/owe_python_sdk/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ class FunctionTask(BaseTask):
class Pipeline(BaseModel):
id: ID
type: EnumPipelineType = EnumPipelineType.Workflow
uses: Union[str, Uses]
uses: Union[str, Uses] = {}
tasks: List[
Annotated[
Union[
Expand Down

0 comments on commit 3312816

Please sign in to comment.