-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b8e2db8
commit 8adb157
Showing
10 changed files
with
69 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# This file was auto-generated by Fern from our API Definition. | ||
|
||
from __future__ import annotations | ||
from ..core.pydantic_utilities import UniversalBaseModel | ||
from .create_workflow_dto import CreateWorkflowDto | ||
import typing | ||
from .update_workflow_dto_nodes_item import UpdateWorkflowDtoNodesItem | ||
from .edge import Edge | ||
from ..core.pydantic_utilities import IS_PYDANTIC_V2 | ||
import pydantic | ||
from ..core.pydantic_utilities import update_forward_refs | ||
|
||
|
||
class UpdateWorkflowDto(UniversalBaseModel): | ||
nodes: typing.Optional[typing.List[UpdateWorkflowDtoNodesItem]] = None | ||
name: typing.Optional[str] = None | ||
edges: typing.Optional[typing.List[Edge]] = None | ||
|
||
if IS_PYDANTIC_V2: | ||
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 | ||
else: | ||
|
||
class Config: | ||
frozen = True | ||
smart_union = True | ||
extra = pydantic.Extra.allow | ||
|
||
|
||
update_forward_refs(CreateWorkflowDto, UpdateWorkflowDto=UpdateWorkflowDto) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# This file was auto-generated by Fern from our API Definition. | ||
|
||
import typing | ||
from .say import Say | ||
from .gather import Gather | ||
from .create_workflow_dto import CreateWorkflowDto | ||
|
||
UpdateWorkflowDtoNodesItem = typing.Union[Say, Gather, typing.Optional[typing.Any], CreateWorkflowDto] |