airflow.providers.amazon.aws.utils

Package Contents

Functions

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

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?