-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Closed
Labels
kind:taskA task that needs to be completed as part of a larger issueA task that needs to be completed as part of a larger issue
Milestone
Description
Body
It's becoming hard to differentiate between all warnings raised in logs.
Airflow uses many packages that also raise warnings.
I suggest to create AirflowDeprecationWarning.
We can even have similar mechanism to sqlalchemy that has SADeprecationWarning and specifying the version this warning started from that way it will also be easier to keep track.
https://github.com/sqlalchemy/sqlalchemy/blob/769fa67d842035dd852ab8b6a26ea3f110a51131/lib/sqlalchemy/exc.py#L779
We can also have AirflowProviderDeprecationWarning to differentiate from Airflow core
Originally posted in #22333 (comment)
What do others think?
Committer
- I acknowledge that I am a maintainer/committer of the Apache Airflow project.
dstandish and kaxil
Metadata
Metadata
Assignees
Labels
kind:taskA task that needs to be completed as part of a larger issueA task that needs to be completed as part of a larger issue