Link: https://github.com/apache/airflow/blob/main/airflow/models/variable.py

Methods to migrate:

- val
- set 
- delete
- update

Note that get_variable_from_secrets shouls still be executed locally.

It may be better to first close https://github.com/apache/airflow/issues/28267
#
#
from __future__ import annotations
import functools
import json
import logging
from typing import Any, Callable
from flask import Response
from airflow.api_connexion.types import APIResponse
from airflow.dag_processing.manager import DagFileProcessorManager
from airflow.models import XCom
from airflow.serialization.serialized_objects import BaseSerialization
log = logging.getLogger(__name__)
@functools.lru_cache()
def _initialize_map() -> dict[str, Callable]: