Skip to content

Commit

Permalink
remove internal_api_call decorator (apache#44525)
Browse files Browse the repository at this point in the history
  • Loading branch information
rawwar authored Dec 1, 2024
1 parent 62bac46 commit 1ce3b79
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions airflow/models/variable.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
from sqlalchemy.dialects.mysql import MEDIUMTEXT
from sqlalchemy.orm import declared_attr, reconstructor, synonym

from airflow.api_internal.internal_api_call import internal_api_call
from airflow.configuration import ensure_secrets_loaded
from airflow.models.base import ID_LEN, Base
from airflow.models.crypto import get_fernet
Expand Down Expand Up @@ -182,7 +181,6 @@ def set(

@staticmethod
@provide_session
@internal_api_call
def _set(
key: str,
value: Any,
Expand Down Expand Up @@ -238,7 +236,6 @@ def update(

@staticmethod
@provide_session
@internal_api_call
def _update(
key: str,
value: Any,
Expand Down Expand Up @@ -279,7 +276,6 @@ def delete(key: str, session: Session = None) -> int:

@staticmethod
@provide_session
@internal_api_call
def _delete(key: str, session: Session = None) -> int:
"""
Delete an Airflow Variable for a given key.
Expand Down

0 comments on commit 1ce3b79

Please sign in to comment.