Skip to content

Commit

Permalink
chore(restapi): Added doc strings
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewhand committed Oct 31, 2024
1 parent 5a24b92 commit f55950d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/dioptra/restapi/v1/workflows/lib/export_task_engine_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,16 @@ def build_task_engine_dict_for_validation(
parameters: dict[str, Any],
task_graph: str,
) -> dict[str, Any]:
"""Build a dictionary representation of a task engine YAML file.
Args:
plugins: The entrypoint's plugin files.
parameters: The entrypoint parameteres.
task_graph: The task graph of the entrypoint.
Returns:
The task engine dictionary.
"""
tasks: dict[str, Any] = {}
parameter_types: dict[str, Any] = {}
for plugin in plugins:
Expand Down

0 comments on commit f55950d

Please sign in to comment.