Skip to content

Commit 4899ad4

Browse files
authored
Merge pull request #13 from z275748353/main
Handling the issue where the tool fails to execute
2 parents 7d0d9ea + 20f3294 commit 4899ad4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • data_server/api/endpoints

data_server/api/endpoints/job.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ async def read_task_resource_info(id: int,
214214

215215
@router.post("", response_model=responses.JobCreate, description="Create the dataflow job")
216216
def create_job(
217-
config: Union[Recipe, Tool],
217+
config: Union[Tool],
218218
user_id: Annotated[str | None, Header(alias="user_id")] = None,
219219
user_name: Annotated[str | None, Header(alias="user_name")] = None,
220220
user_token: Annotated[str | None, Header(alias="user_token")] = None

0 commit comments

Comments
 (0)