Skip to content

Commit

Permalink
Bugfix. Allow extra props on extend job type
Browse files Browse the repository at this point in the history
  • Loading branch information
nathandf committed Feb 16, 2024
1 parent ed05b77 commit 471d858
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/api/src/backend/views/http/etl.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from enum import Enum
from typing import List, Dict, Union, Literal, Annotated

from pydantic import BaseModel, validator, root_validator, Field
from pydantic import BaseModel, validator, root_validator, Field, Extra

from .requests import _EnumMeta, Pipeline

Expand Down Expand Up @@ -96,6 +96,9 @@ class TapisJobWorkflowsExtension(BaseModel):
class ExetendedTapisJob(TapisJobDef):
workflows: TapisJobWorkflowsExtension = None

class Config:
extra = Extra.allow

class TapisETLPipeline(Pipeline):
remote_outbox: Dict = None
local_inbox: LocalInbox
Expand Down

0 comments on commit 471d858

Please sign in to comment.