Skip to content

Token expiration not handled in long-running Airflow DAGs #10

@francescobianco

Description

@francescobianco

Token expiration not handled in long-running Airflow DAGs

Description
In Airflow DAGs, token expires and SDK does not refresh automatically.

Code snippet

from airflow import DAG

client = Client("token")

def task():
    client.request("GET", base_url, "/advance")

Expected behavior
Automatic token refresh or helper method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions