mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 08:26:21 +02:00
Configuration service provides an API to change configuration. Complete configuration is pushed down a config queue so that users have a complete copy of config object.
11 lines
198 B
Python
Executable file
11 lines
198 B
Python
Executable file
#!/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)
|
|
|