root.client¶
Classes¶
Root Signals API Python client. |
Module Contents¶
- class root.client.RootSignals(api_key: str | None = None, *, base_url: str | None = None, run_async: bool = False, _api_client: Awaitable[root.generated.openapi_aclient.ApiClient] | None | root.generated.openapi_client.ApiClient | None = None)¶
Root Signals API Python client.
The API key must be provided via one of the following methods - the code uses the first one that is found:
as an argument to RootSignals constructor ,
environment variable ROOTSIGNALS_API_KEY, or
.env file containing ROOTSIGNALS_API_KEY=
- Parameters:
api_key (Optional[str]) – Root Signals API Key (if not provided from environment)
base_url (Optional[str]) – Root Signals base URL to use (default is fine)
run_async (bool)
_api_client (Union[Optional[Awaitable[root.generated.openapi_aclient.ApiClient]], Optional[root.generated.openapi_client.ApiClient]])
- api_key¶
- base_url¶
- property datasets: root.datasets.DataSets¶
Get DataSets API
- Return type:
- property evaluators: root.skills.Evaluators¶
Get Evaluators API
- Return type:
- property execution_logs: root.execution_logs.ExecutionLogs¶
Get Execution Logs API
- Return type:
- property get_api_client: root.generated.openapi_client.ApiClient | root.generated.openapi_aclient.ApiClient¶
- Return type:
Union[root.generated.openapi_client.ApiClient, root.generated.openapi_aclient.ApiClient]
- property models: root.models.Models¶
Get Models API
- Return type:
- property objectives: root.objectives.Objectives¶
Get Objectives API
- Return type:
- run_async¶
- property skills: root.skills.Skills¶
Get Skills API
- Return type: