We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
common.compat
1 parent 3271d5f commit b153d5eCopy full SHA for b153d5e
1 file changed
providers/discord/src/airflow/providers/discord/operators/discord_webhook.py
@@ -25,11 +25,7 @@
25
from airflow.providers.http.operators.http import HttpOperator
26
27
if TYPE_CHECKING:
28
- try:
29
- from airflow.sdk.definitions.context import Context
30
- except ImportError:
31
- # TODO: Remove once provider drops support for Airflow 2
32
- from airflow.utils.context import Context
+ from airflow.providers.common.compat.sdk import Context
33
34
35
class DiscordWebhookOperator(HttpOperator):
0 commit comments