mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-05-20 21:05:13 +02:00
Knowledge core CLI (#368)
This commit is contained in:
parent
807c19fd22
commit
8080b54328
7 changed files with 330 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ import time
|
|||
from . library import Library
|
||||
from . flow import Flow
|
||||
from . config import Config
|
||||
from . knowledge import Knowledge
|
||||
from . exceptions import *
|
||||
from . types import *
|
||||
|
||||
|
|
@ -39,6 +40,9 @@ class Api:
|
|||
def config(self):
|
||||
return Config(api=self)
|
||||
|
||||
def knowledge(self):
|
||||
return Knowledge(api=self)
|
||||
|
||||
def request(self, path, request):
|
||||
|
||||
url = f"{self.url}{path}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue