openapi-python-sdk icon indicating copy to clipboard operation
openapi-python-sdk copied to clipboard

Token expiration not handled in long-running Airflow DAGs

Open francescobianco opened this issue 8 months ago • 0 comments

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.

francescobianco avatar Mar 18 '26 14:03 francescobianco