airflow.providers.amazon.aws.utils

Package Contents

Functions

trim_none_values(obj)

datetime_to_epoch(date_time)

Convert a datetime object to an epoch integer (seconds).

datetime_to_epoch_ms(date_time)

Convert a datetime object to an epoch integer (milliseconds).

datetime_to_epoch_utc_ms(date_time)

Convert a datetime object to an epoch integer (milliseconds) in UTC timezone.

datetime_to_epoch_us(date_time)

Convert a datetime object to an epoch integer (microseconds).

get_airflow_version()

get_botocore_version()

Return the version number of the installed botocore package in the form of a tuple[int,...].

validate_execute_complete_event([event])

Attributes

log

airflow.providers.amazon.aws.utils.log[source]
airflow.providers.amazon.aws.utils.trim_none_values(obj)[source]
airflow.providers.amazon.aws.utils.datetime_to_epoch(date_time)[source]

Convert a datetime object to an epoch integer (seconds).

airflow.providers.amazon.aws.utils.datetime_to_epoch_ms(date_time)[source]

Convert a datetime object to an epoch integer (milliseconds).

airflow.providers.amazon.aws.utils.datetime_to_epoch_utc_ms(date_time)[source]

Convert a datetime object to an epoch integer (milliseconds) in UTC timezone.

airflow.providers.amazon.aws.utils.datetime_to_epoch_us(date_time)[source]

Convert a datetime object to an epoch integer (microseconds).

airflow.providers.amazon.aws.utils.get_airflow_version()[source]
airflow.providers.amazon.aws.utils.get_botocore_version()[source]

Return the version number of the installed botocore package in the form of a tuple[int,…].

airflow.providers.amazon.aws.utils.validate_execute_complete_event(event=None)[source]

Was this entry helpful?