galileo_observe.utils package#

Submodules#

galileo_observe.utils.api_client module#

class ApiClient(project_name)#

Bases: object

get_api_url()#
Return type:

str

get_token()#
Return type:

str

healthcheck()#
Return type:

bool

username_login(username, password)#
Return type:

Dict[str, str]

api_key_login(api_key)#
Return type:

Dict[str, str]

property base_url: str#
property auth_header: Dict[str, str]#
async ingest_batch(transaction_batch)#
Return type:

Dict[str, str]

get_project_by_name(project_name)#
Return type:

Any

create_project(project_name)#
Return type:

Dict[str, str]

galileo_observe.utils.request module#

async make_request(request_method, base_url, endpoint, body=None, data=None, files=None, params=None, headers=None, timeout=None)#
Return type:

Any

class HttpHeaders(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: str, Enum

accept = 'accept'#
content_type = 'Content-Type'#
application_json = 'application/json'#
static accept_json()#
Return type:

Dict[str, str]

static content_type_json()#
Return type:

Dict[str, str]

static json()#
Return type:

Dict[str, str]

Module contents#