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_us(date_time)

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

get_airflow_version()

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_us(date_time)[source]

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

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

Was this entry helpful?