mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-18 17:51:02 +02:00
Config client
This commit is contained in:
parent
1b2de0c76f
commit
6828ca8fc6
3 changed files with 180 additions and 5 deletions
11
tests/test-get-config
Executable file
11
tests/test-get-config
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import pulsar
|
||||
from trustgraph.clients.config_client import ConfigClient
|
||||
|
||||
cli = ConfigClient(pulsar_host="pulsar://localhost:6650")
|
||||
|
||||
resp = cli.request_config()
|
||||
|
||||
print(resp)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue