Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Workflow API routes - Part 2 #17548

Draft
wants to merge 73 commits into
base: dev
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
a9f1352
Add set_workflow_menu method to service layer of the Workflows API
heisner-tillman Feb 26, 2024
69d0839
Create pydantic models for the set_workflow_menu operation of the Wor…
heisner-tillman Feb 26, 2024
bcf07e4
Refactor set_workflow_menu operation to FastAPI
heisner-tillman Feb 26, 2024
5e27757
Remove the mapping to the legacy route
heisner-tillman Feb 26, 2024
1fc7e39
Add TODO
heisner-tillman Feb 27, 2024
18ea3ef
Type payload of set_workflow_menu operation properly
heisner-tillman Feb 27, 2024
8bf1a2f
Mark HistoryId query param as invocation specific
heisner-tillman Feb 27, 2024
92d29c3
Refactor workflow_dict operation to FastAPI
heisner-tillman Feb 28, 2024
7ace91f
Create service method for workflow_dict operation
heisner-tillman Feb 28, 2024
5ffd8ae
Remove mapping to legacy routes
heisner-tillman Feb 28, 2024
bbccfe7
Regenerate the client schema
heisner-tillman Feb 28, 2024
9c60fd7
Remove unused internal method in legacy WorkflowsAPIController
heisner-tillman Feb 29, 2024
9d811b0
Use the correct get_workflow method from WorkflowsManager
heisner-tillman Feb 29, 2024
75c0f7b
Type yaml return of download_workflow method
heisner-tillman Feb 29, 2024
a8ec759
Add pydantic models for return of workflow_dict operation
heisner-tillman Mar 3, 2024
69bbb50
Type return of download method
heisner-tillman Mar 3, 2024
5c54863
Add return model
heisner-tillman Mar 11, 2024
d30ca46
Make label optional in steps model of editor and run workflowdictsummary
heisner-tillman Mar 11, 2024
1d8ba73
Add step model for WorkflowDictExportSummary
heisner-tillman Mar 11, 2024
177ad20
Change type of input_connections field in step model for WorkflowExpo…
heisner-tillman Mar 11, 2024
645db8b
Add pydantic model for workflowdict in format2 version
heisner-tillman Mar 13, 2024
3fc024f
Add pydantic models to return of workflow_dict operation
heisner-tillman Mar 13, 2024
d531b6e
Add further typing to return of download_workflow method
heisner-tillman Mar 13, 2024
b88190c
Properly type creator in pydantic models of workflowdict operation
heisner-tillman Mar 14, 2024
aae4557
Add alias for format_version field in pydantic model of workflowdict …
heisner-tillman Mar 14, 2024
c98190f
Regenerate the client schema
heisner-tillman Mar 14, 2024
356d44a
Create base model for step models of WorkflowSummary models
heisner-tillman Mar 14, 2024
ce91a39
Create base model for step models of WorkflowSummary models
heisner-tillman Mar 15, 2024
ade337f
Add annotation field to pydantic model of workflow_dict operation
heisner-tillman Mar 18, 2024
9cc4515
Fix typing of error field in base of step models of workflowdictsumma…
heisner-tillman Mar 20, 2024
54c0a01
Fix typing in WorkflowDictFormat2WrappedYamlSummary model
heisner-tillman Mar 20, 2024
df6f0b8
Add test for set_workflow_menu operation from WorfklowAPI
heisner-tillman Mar 21, 2024
d1cad09
Refine descriptions in pydantic models for workflow_dict operation
heisner-tillman Mar 21, 2024
901dae7
Move old and unused WorkflowToExport model to workflow schema file
heisner-tillman Mar 21, 2024
78d08ff
Fix style error in test_set_workflow_menu
heisner-tillman Mar 21, 2024
5866b77
Add type to uuid field
heisner-tillman Mar 24, 2024
f516c4e
Move workflow specific model to the workflow schema file
heisner-tillman Mar 24, 2024
7b6d62a
Add typing to position field in base model of workflowdictsteps
heisner-tillman Mar 24, 2024
ca4c395
Add further typing to step models of workflowdict
heisner-tillman Mar 24, 2024
d493ed2
Allow float type for fields WorkflowStepLayoutPosition model
heisner-tillman Mar 27, 2024
f10863c
Allow str as replacement_parameter in WorkflowDictRunSteps model
heisner-tillman Mar 27, 2024
516011c
Allow str type for step_version_changes field in WorkflowDictRunSumma…
heisner-tillman Mar 28, 2024
e840d32
Move workflow specific models to the workflow schema file
heisner-tillman Mar 29, 2024
62528ff
Refine tpying in pydantic models of workflow_dict operation
heisner-tillman Mar 29, 2024
57770ad
Type in_parameter field in WorkflowDictExportSteps with new model and…
heisner-tillman Apr 1, 2024
5dce471
Adjsut typing of field post_job_actions in model WorkflowDictStepsBase
heisner-tillman Apr 1, 2024
c52e3ab
Remove comments
heisner-tillman Apr 12, 2024
1946b6f
Refine return models of the workflow_dict operation from the WorkflowAPI
heisner-tillman Apr 15, 2024
314e026
Remove comments
heisner-tillman Apr 15, 2024
e565895
Refine return models of the workflow_dict operation from the WorkflowAPI
heisner-tillman Apr 16, 2024
5cebbdc
Refine return models of the workflow_dict operation from the Workflow…
heisner-tillman Apr 17, 2024
2b323df
Remove comment
heisner-tillman Apr 17, 2024
f01ecd3
Remove unused imports
heisner-tillman May 4, 2024
90eff8f
Apply suggested changes
heisner-tillman May 23, 2024
b203965
Remove the description from fields, where the description equals to TODO
heisner-tillman May 23, 2024
7a4f08f
Limit type of field x and y fields in WorkflowStepLayoutPosition to i…
heisner-tillman May 23, 2024
4684459
Make sure tag_str is always of type list, when assigning a value to i…
heisner-tillman Jun 4, 2024
0f13941
Specify valid style types for query param of workflow_dict operation
heisner-tillman Jun 4, 2024
f230bb3
Apply code suggestions
heisner-tillman Jun 4, 2024
f5e232c
Allow list of empty string for tags field in WorkflowDictExportSummary
heisner-tillman Jun 6, 2024
0aeb1e9
Move field tool_id to explicit step models to enable more specific ty…
heisner-tillman Jun 6, 2024
f8ae6a5
Split model InputConnections into more specific models to use them in…
heisner-tillman Jun 6, 2024
9c52d2d
temporary change for debugging
heisner-tillman Jun 7, 2024
bb99760
Fix typo in service method of the workflow_dict operation
heisner-tillman Jun 10, 2024
08b00b5
Add field_validator for tool_state field in step basemodel to deseria…
heisner-tillman Jun 10, 2024
e9dc08b
Change typing of field tool_state in step base model to allow strings
heisner-tillman Jun 11, 2024
bcd20c0
Formalize error type for WorkflowDictStepsBase model
heisner-tillman Jun 13, 2024
dac8e28
Model output field in WorkflowDictStepsBase and move it to the indivi…
heisner-tillman Jun 19, 2024
4822273
Make hints about where StepOutput models are populated more general
heisner-tillman Sep 23, 2024
15aa79a
Make necessary fields in ToolModuleStepOutput model optional
heisner-tillman Sep 23, 2024
d20eb22
Fix typing of the field tags in the WorkflowDictExportSummary model
heisner-tillman Sep 23, 2024
a52bcb5
Fix assignment of tags in _workflow_to_dict_export method
heisner-tillman Sep 23, 2024
21e25c8
Regenerate the client schema
heisner-tillman Sep 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading