diff --git a/src/api/src/backend/views/http/requests.py b/src/api/src/backend/views/http/requests.py index 93b7860a..dd8579dd 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] = None 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 93b7860a..dd8579dd 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] = None tasks: List[ Annotated[ Union[