mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-22 19:51:02 +02:00
Load/save working
This commit is contained in:
parent
6c22444d5c
commit
2cb21c0dbd
3 changed files with 5 additions and 5 deletions
|
|
@ -5,7 +5,7 @@ import json
|
|||
import sys
|
||||
import base64
|
||||
|
||||
url = "http://localhost:8088/api/v1/flow/0000/text-load"
|
||||
url = "http://localhost:8088/api/v1/flow/0000/service/text-load"
|
||||
|
||||
############################################################################
|
||||
|
||||
|
|
|
|||
|
|
@ -266,7 +266,7 @@ async def main(running):
|
|||
parser.add_argument(
|
||||
'-f', '--flow-id',
|
||||
default="0000",
|
||||
help=f'Flow ID'
|
||||
help=f'Flow ID (default: 0000)'
|
||||
)
|
||||
|
||||
parser.add_argument(
|
||||
|
|
|
|||
|
|
@ -167,7 +167,7 @@ async def run(running, **args):
|
|||
fetch_ge(
|
||||
running=running,
|
||||
queue=q, user=args["user"], collection=args["collection"],
|
||||
url = f"{url}api/v1/flow/{flow_id}/import/graph-embeddings"
|
||||
url = f"{url}api/v1/flow/{flow_id}/export/graph-embeddings"
|
||||
)
|
||||
)
|
||||
|
||||
|
|
@ -175,7 +175,7 @@ async def run(running, **args):
|
|||
fetch_triples(
|
||||
running=running, queue=q,
|
||||
user=args["user"], collection=args["collection"],
|
||||
url = f"{url}api/v1/flow/{flow_id}/import/triples"
|
||||
url = f"{url}api/v1/flow/{flow_id}/export/triples"
|
||||
)
|
||||
)
|
||||
|
||||
|
|
@ -230,7 +230,7 @@ async def main(running):
|
|||
parser.add_argument(
|
||||
'-f', '--flow-id',
|
||||
default="0000",
|
||||
help=f'Flow ID'
|
||||
help=f'Flow ID (default: 0000)'
|
||||
)
|
||||
|
||||
parser.add_argument(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue