orchestra-cli 0.0.2__tar.gz → 0.0.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {orchestra_cli-0.0.2 → orchestra_cli-0.0.4}/PKG-INFO +1 -1
- {orchestra_cli-0.0.2 → orchestra_cli-0.0.4}/orchestra_cli/src/cli.py +14 -4
- {orchestra_cli-0.0.2 → orchestra_cli-0.0.4}/orchestra_cli.egg-info/PKG-INFO +1 -1
- {orchestra_cli-0.0.2 → orchestra_cli-0.0.4}/pyproject.toml +1 -1
- {orchestra_cli-0.0.2 → orchestra_cli-0.0.4}/README.md +0 -0
- {orchestra_cli-0.0.2 → orchestra_cli-0.0.4}/orchestra_cli/src/__init__.py +0 -0
- {orchestra_cli-0.0.2 → orchestra_cli-0.0.4}/orchestra_cli/tests/test_cli.py +0 -0
- {orchestra_cli-0.0.2 → orchestra_cli-0.0.4}/orchestra_cli.egg-info/SOURCES.txt +0 -0
- {orchestra_cli-0.0.2 → orchestra_cli-0.0.4}/orchestra_cli.egg-info/dependency_links.txt +0 -0
- {orchestra_cli-0.0.2 → orchestra_cli-0.0.4}/orchestra_cli.egg-info/entry_points.txt +0 -0
- {orchestra_cli-0.0.2 → orchestra_cli-0.0.4}/orchestra_cli.egg-info/requires.txt +0 -0
- {orchestra_cli-0.0.2 → orchestra_cli-0.0.4}/orchestra_cli.egg-info/top_level.txt +0 -0
- {orchestra_cli-0.0.2 → orchestra_cli-0.0.4}/setup.cfg +0 -0
|
@@ -33,8 +33,10 @@ def indent_message(msg: str, indent: str = " ") -> str:
|
|
|
33
33
|
def get_yaml_snippet(data: Any, loc: List[Any]) -> dict[str, Any]:
|
|
34
34
|
weird_keys = ["TaskGroupModel"]
|
|
35
35
|
try:
|
|
36
|
-
for key in loc:
|
|
36
|
+
for idx, key in enumerate(loc):
|
|
37
37
|
if key not in weird_keys:
|
|
38
|
+
if key not in data:
|
|
39
|
+
return {loc[idx - 1]: data}
|
|
38
40
|
data = data[key]
|
|
39
41
|
return {loc[-1]: data}
|
|
40
42
|
except Exception:
|
|
@@ -91,7 +93,6 @@ def validate(file: Path = typer.Argument(..., help="YAML file to validate")):
|
|
|
91
93
|
typer.echo(
|
|
92
94
|
yellow("(Could not locate this path in your YAML)")
|
|
93
95
|
)
|
|
94
|
-
typer.echo("")
|
|
95
96
|
else:
|
|
96
97
|
typer.echo(errors)
|
|
97
98
|
except Exception:
|
|
@@ -102,7 +103,16 @@ def validate(file: Path = typer.Argument(..., help="YAML file to validate")):
|
|
|
102
103
|
@app.command()
|
|
103
104
|
def upload():
|
|
104
105
|
"""
|
|
105
|
-
Upload a YAML file to the API. (
|
|
106
|
+
Upload a YAML file to the API. (🚧 Coming soon)
|
|
106
107
|
"""
|
|
107
|
-
typer.echo(red("Action not supported yet"))
|
|
108
|
+
typer.echo(red("🚧 Action not supported yet"))
|
|
109
|
+
raise typer.Exit(code=1)
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
@app.command()
|
|
113
|
+
def run():
|
|
114
|
+
"""
|
|
115
|
+
Run a pipeline in Orchestra. (🚧 Coming soon)
|
|
116
|
+
"""
|
|
117
|
+
typer.echo(red("🚧 Action not supported yet"))
|
|
108
118
|
raise typer.Exit(code=1)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|