diff --git a/src/api/src/backend/views/http/requests.py b/src/api/src/backend/views/http/requests.py index 22f3f72f..a5d82003 100644 --- a/src/api/src/backend/views/http/requests.py +++ b/src/api/src/backend/views/http/requests.py @@ -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[ diff --git a/src/engine/src/owe_python_sdk/schema.py b/src/engine/src/owe_python_sdk/schema.py index 22f3f72f..a5d82003 100644 --- a/src/engine/src/owe_python_sdk/schema.py +++ b/src/engine/src/owe_python_sdk/schema.py @@ -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[