Skip to content

Commit

Permalink
Fixed compute search plan
Browse files Browse the repository at this point in the history
  • Loading branch information
fserena committed Nov 15, 2018
1 parent 9ed16fa commit 4663351
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Expand Up @@ -3,7 +3,7 @@ LABEL author="Fernando Serena"

WORKDIR /root

RUN .env/bin/pip install agora-cli redislite "redis<3.0.0"
RUN .env/bin/pip install --no-cache-dir agora-cli redislite "redis<3.0.0"
WORKDIR /agora

ENTRYPOINT ["/root/.env/bin/agora"]
Expand Down
3 changes: 2 additions & 1 deletion agora_cli/compute.py
Expand Up @@ -39,7 +39,8 @@ def compute(ctx):
def search_plan(ctx, query, arg):
args = dict(map(lambda a: split_arg(a), arg))
gw = ctx.obj['gw']
res = gw.fragment(query, **args)
dgw = gw.data(query)
res = dgw.fragment(query, **args)
plan = res['plan']
click.echo(plan.serialize(format='turtle'))

Expand Down
2 changes: 1 addition & 1 deletion agora_cli/metadata.json
@@ -1,5 +1,5 @@
{
"version": "0.0.18",
"version": "0.0.19",
"author": "Fernando Serena",
"email": "kudhmud@gmail.com",
"github": "https://github.com/fserena/agora-cli",
Expand Down

0 comments on commit 4663351

Please sign in to comment.