yellowdog_provider.hooks package

Submodules

yellowdog_provider.hooks.yellowdog_hooks module

Airflow Hook for the YellowDog API client.

class yellowdog_provider.hooks.yellowdog_hooks.YellowDogHook(connection_id: str)[source]

Bases: BaseHook

Hook class that supports Application Key/Secret connections to the YellowDog Platform API.

conn_name_attr = 'yellowdog_conn_id'
conn_type = 'yellowdog'
get_conn() PlatformClient[source]

Fetch the YellowDog PlatformClient object corresponding to the connection ID.

Returns:

a YellowDog PlatformClient object

Return type:

PlatformClient

classmethod get_ui_field_behaviour() dict[str, Any][source]

Return custom UI field behaviour for the YellowDog connection type.

hook_name = 'YellowDog'

Module contents