<#3319 [Fix] add env var to prevent deprecation wa...
# flyte-github
c
#3319 [Fix] add env var to prevent deprecation warning Pull request opened by machichima ## Tracking issue ## Why are the changes needed? When running the workflow, we will see airflow deprecation warning [image](https://private-user-images.githubusercontent.com/60069744/480748161-225faa4f-17fe-4937-a552-2931d9d22e9f.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NTYyNjgwMjEsIm5iZiI6MTc1NjI2NzcyMSwicGF0aCI6Ii82MDA2OTc0NC80ODA3NDgxNjEtMjI1ZmFhNGYtMTdmZS00OTM3LWE1NTItMjkzMWQ5ZDIyZTlmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwODI3VDA0MDg0MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk0YTI1NGNjMjY0ZGMzMGYzZjgyYmY1OGQ5Mjg5MTRjZWU0NjE5YTM1ZDczN2U0ODJhMTE4NTA5MzliMzI5ZjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.1QgDnCEvydEL1JLUHFkXUSi9ewOBtetPhfi5qjiUFco) ## What changes were proposed in this pull request? • Set
AIRFLOW__METRICS__TIMER_UNIT_CONSISTENCY
env var to
True
to enable enable timer unit consistency and to prevent warning message ## How was this patch tested? ### Setup process ### Screenshots ## Check all the applicable boxes • I updated the documentation accordingly. • All new and existing tests passed. • All commits are signed-off. ## Related PRs ## Docs link https://bito.ai#summarystart| ### Summary by Bito This pull request introduces an environment variable configuration to suppress deprecation warnings in Airflow by setting the
AIRFLOW__METRICS__TIMER_UNIT_CONSISTENCY
variable to
True
, enhancing user experience during workflow execution. flyteorg/flytekit