apache_airflow_providers_imednet.hooks package

Airflow hook for retrieving an ImednetSDK instance.

class apache_airflow_providers_imednet.hooks.ImednetHook[source]

Bases: BaseHook

Retrieve an ImednetSDK instance from an Airflow connection.

__init__(imednet_conn_id='imednet_default')[source]

Initialize the Imednet hook.

Parameters:

imednet_conn_id (str) –

Return type:

None

describe_connection()[source]

Return redacted primitive metadata about resolved hook configuration.

Return type:

dict[str, Union[str, int, float, bool, None, list[PrimitiveContainer], dict[str, PrimitiveContainer]]]

get_conn()[source]

Backward compatible alias for get_sdk_client().

Return type:

ImednetSDK

get_sdk_client()[source]

Return an SDK client for use within task execution context.

Return type:

ImednetSDK

list_studies_metadata()[source]

Return primitive, serialization-safe study metadata for task mapping.

Return type:

list[dict[str, Union[str, int, float, bool, None, list[PrimitiveContainer], dict[str, PrimitiveContainer]]]]

list_study_keys()[source]

Return primitive study keys for mapped Airflow task expansion.

Return type:

list[str]