asp-chef-cli 0.5.3__tar.gz → 0.5.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.
- {asp_chef_cli-0.5.3 → asp_chef_cli-0.5.4}/PKG-INFO +1 -1
- {asp_chef_cli-0.5.3 → asp_chef_cli-0.5.4}/asp_chef_cli/server/routers/dumbo.py +2 -1
- {asp_chef_cli-0.5.3 → asp_chef_cli-0.5.4}/pyproject.toml +1 -1
- {asp_chef_cli-0.5.3 → asp_chef_cli-0.5.4}/LICENSE +0 -0
- {asp_chef_cli-0.5.3 → asp_chef_cli-0.5.4}/README.md +0 -0
- {asp_chef_cli-0.5.3 → asp_chef_cli-0.5.4}/asp_chef_cli/__init__.py +0 -0
- {asp_chef_cli-0.5.3 → asp_chef_cli-0.5.4}/asp_chef_cli/__main__.py +0 -0
- {asp_chef_cli-0.5.3 → asp_chef_cli-0.5.4}/asp_chef_cli/cli.py +0 -0
- {asp_chef_cli-0.5.3 → asp_chef_cli-0.5.4}/asp_chef_cli/server/__init__.py +0 -0
- {asp_chef_cli-0.5.3 → asp_chef_cli-0.5.4}/asp_chef_cli/server/dependencies.py +0 -0
- {asp_chef_cli-0.5.3 → asp_chef_cli-0.5.4}/asp_chef_cli/server/main.py +0 -0
- {asp_chef_cli-0.5.3 → asp_chef_cli-0.5.4}/asp_chef_cli/server/routers/__init__.py +0 -0
- {asp_chef_cli-0.5.3 → asp_chef_cli-0.5.4}/asp_chef_cli/server/routers/clingo.py +0 -0
- {asp_chef_cli-0.5.3 → asp_chef_cli-0.5.4}/asp_chef_cli/server/routers/opa.py +0 -0
|
@@ -120,8 +120,9 @@ async def _(json):
|
|
|
120
120
|
@endpoint(router, "/sdl/")
|
|
121
121
|
async def _(json):
|
|
122
122
|
program = json["program"]
|
|
123
|
+
minizinc = json["minizinc"]
|
|
123
124
|
result = subprocess.check_output(
|
|
124
|
-
["./run.sh"],
|
|
125
|
+
["./run.sh", "minizinc" if minizinc else "asp"],
|
|
125
126
|
input=program.encode(),
|
|
126
127
|
cwd="../SDL",
|
|
127
128
|
)
|
|
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
|
|
File without changes
|
|
File without changes
|