whylogs_container.whylabs.container.whylabs_client¶
Functions
Classes
|
|
- class whylogs_container.whylabs.container.whylabs_client.ClientWithFallback(cache_client: whylabs_client.api_client.ApiClient, fallback_client: whylabs_client.api_client.ApiClient)¶
Bases:
object
- cache_client: ApiClient¶
- call(fn: Callable[[ApiClient], T]) T ¶
- fallback_client: ApiClient¶
- class whylogs_container.whylabs.container.whylabs_client.WhyLabsClient¶
Bases:
object
- get_managed_orgs() Set[str] ¶
- get_org_policies(org_id: str | None = None) List[str] ¶
Get all of the policies for each of the datasets in an org. :param org_id: The organization id to get the policies for. This is only intended for use with parent/child orgs.
The normal api key for the container is still used but a special header is set for the child org. When not in multi tenancy mode just leave this as None.
- get_policy(dataset_id: str) str | None ¶
Get a single policy for the given dataset id.
- whylogs_container.whylabs.container.whylabs_client.get_whylabs_client() WhyLabsClient ¶
- whylogs_container.whylabs.container.whylabs_client.reset_whylabs_client()¶