gooddata_sdk.sdk.GoodDataSdk

class gooddata_sdk.sdk.GoodDataSdk(client: gooddata_sdk.client.GoodDataApiClient)

Bases: object

Top-level class that wraps all the functionality together.

__init__(client: gooddata_sdk.client.GoodDataApiClient) None

Take instance of GoodDataApiClient and return new GoodDataSdk instance.

Useful when customized GoodDataApiClient is needed. Usually users should use GoodDataSdk.create classmethod.

Methods

__init__(client)

Take instance of GoodDataApiClient and return new GoodDataSdk instance.

create(host_, token_[, extra_user_agent_])

Create common GoodDataApiClient and return new GoodDataSdk instance.

Attributes

catalog_data_source

catalog_organization

catalog_workspace

catalog_workspace_content

compute

insights

support

tables

classmethod create(host_: str, token_: str, extra_user_agent_: Optional[str] = None, **custom_headers_: Optional[str]) gooddata_sdk.sdk.GoodDataSdk

Create common GoodDataApiClient and return new GoodDataSdk instance. Custom headers are filtered. Headers with None value are removed. It simplifies usage because headers can be created directly from optional values.

This is preferred way of creating GoodDataSdk, when no tweaks are needed.