gooddata_sdk.catalog.data_source.entity_model.data_source.CatalogDataSourceBase

class gooddata_sdk.catalog.data_source.entity_model.data_source.CatalogDataSourceBase(*, id: str, name: str, type: str, schema: str, url: Optional[str] = None, enable_caching: Optional[bool] = None, cache_path: Optional[List[str]] = None, parameters: Optional[List[Dict[str, str]]] = None, decoded_parameters: Optional[List[Dict[str, str]]] = None, credentials: Credentials)

Bases: Base

__init__(*, id: str, name: str, type: str, schema: str, url: Optional[str] = None, enable_caching: Optional[bool] = None, cache_path: Optional[List[str]] = None, parameters: Optional[List[Dict[str, str]]] = None, decoded_parameters: Optional[List[Dict[str, str]]] = None, credentials: Credentials) None

Method generated by attrs for class CatalogDataSourceBase.

Methods

__init__(*, id, name, type, schema[, url, ...])

Method generated by attrs for class CatalogDataSourceBase.

client_class()

from_api(entity)

Creates object from entity passed by client class, which represents it as dictionary.

from_dict(data[, camel_case])

Creates object from dictionary.

to_api()

to_api_patch(data_source_id, attributes)

to_dict([camel_case])

Converts object into dictionary.

Attributes

id

name

type

schema

url

enable_caching

cache_path

parameters

decoded_parameters

credentials

classmethod from_api(entity: Dict[str, Any]) U

Creates object from entity passed by client class, which represents it as dictionary.

classmethod from_dict(data: Dict[str, Any], camel_case: bool = True) T

Creates object from dictionary. It needs to be specified if the dictionary is in camelCase or snake_case.

to_dict(camel_case: bool = True) Dict[str, Any]

Converts object into dictionary. Optional argument if the dictionary should be camelCase or snake_case can be specified.