From 113f1c095120b854d48e30041cdcbadad62331dd Mon Sep 17 00:00:00 2001 From: John Chilton Date: Tue, 29 Nov 2022 17:17:38 -0500 Subject: [PATCH] SVG generation for tool state docs... --- doc/source/dev/tool_state_api.plantuml.svg | 46 ++++++ .../dev/tool_state_state_classes.plantuml.svg | 153 ++++++++++++++++++ 2 files changed, 199 insertions(+) create mode 100644 doc/source/dev/tool_state_api.plantuml.svg create mode 100644 doc/source/dev/tool_state_state_classes.plantuml.svg diff --git a/doc/source/dev/tool_state_api.plantuml.svg b/doc/source/dev/tool_state_api.plantuml.svg new file mode 100644 index 000000000000..3aaf86c1ee00 --- /dev/null +++ b/doc/source/dev/tool_state_api.plantuml.svg @@ -0,0 +1,46 @@ +API RequestAPI RequestJobs APIJobs APIJob ServiceJob ServiceDatabaseDatabaseTaskQueueTaskQueueHTTP JSONTo boundaryBuild RequestToolStateValidate RequestToolState (pydantic)decode() RequestToolStateinto RequestInternalToolStateSerialize RequestInternalToolStateQueue QueueJobs with reference topersisted RequestInternalToolStateJobCreateResponse(pydantic model)JobCreateResponse(as json) \ No newline at end of file diff --git a/doc/source/dev/tool_state_state_classes.plantuml.svg b/doc/source/dev/tool_state_state_classes.plantuml.svg new file mode 100644 index 000000000000..b0c086bf18b0 --- /dev/null +++ b/doc/source/dev/tool_state_state_classes.plantuml.svg @@ -0,0 +1,153 @@ +galaxy.tool_util.parameters.stateToolStatestate_representation: strinput_state: Dict[str, Any]validate(input_models: ToolParameterBundle)_to_base_model(input_models: ToolParameterBundle): Optional[Type[BaseModel]]RequestToolStatestate_representation = "request"_to_base_model(input_models: ToolParameterBundle): Type[BaseModel]Object references of the form{src: "hda", id: <encoded_id>}.Allow mapping/reduce constructs.RequestInternalToolStatestate_representation = "request_internal"_to_base_model(input_models: ToolParameterBundle): Type[BaseModel]Object references of the form{src: "hda", id: <decoded_id>}.Allow mapping/reduce constructs.JobInternalToolStatestate_representation = "job_internal"_to_base_model(input_models: ToolParameterBundle): Type[BaseModel]Object references of the form{src: "hda", id: <decoded_id>}.Mapping constructs expanded out.(Defaults are inserted?)decodeexpand \ No newline at end of file