mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-22 03:31:02 +02:00
Add pulsar API token check
This commit is contained in:
parent
f7df2df266
commit
0464423b04
42 changed files with 199 additions and 24 deletions
|
|
@ -48,7 +48,13 @@ def main():
|
|||
default=default_collection,
|
||||
help=f'Collection ID (default: {default_collection})'
|
||||
)
|
||||
|
||||
|
||||
# parser.add_argument(
|
||||
# '--pulsar-api-key',
|
||||
# default=default_pulsar_api_key,
|
||||
# help=f'Pulsar API key',
|
||||
# )
|
||||
|
||||
args = parser.parse_args()
|
||||
|
||||
try:
|
||||
|
|
@ -57,6 +63,7 @@ def main():
|
|||
url=args.api_url,
|
||||
user=args.user,
|
||||
collection=args.collection,
|
||||
pulsar_api_key=args.pulsar_api_key,
|
||||
)
|
||||
|
||||
except Exception as e:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue