class_docstr: A generic way to store and retrieve arbitrary content or settings as a simple key/value store.
class_docstr_tok: ["A","generic","way","to","store","and","retrieve","arbitrary","content","or","settings","as","a","simple","key\/value","store","."]
docstr: Get Airflow Variable from Metadata DB and decode it using the Fernet Key.
docstr_tok: ["Get","Airflow","Variable","from","Metadata","DB","and","decode","it","using","the","Fernet","Key","."]
code: def val(cls):
      """Get Airflow Variable from Metadata DB and decode it using the Fernet Key."""
      return synonym(
          "_val", descriptor=property(cls.get_val, cls.set_val)
      )
  
imports: from __future__ import annotations
  import json
  import logging
  from typing import TYPE_CHECKING, Any
  from sqlalchemy import Boolean, Column, Integer, String, Text, delete, select
  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
  from airflow.secrets.cache import SecretCache
  from airflow.secrets.metastore import MetastoreBackend
  from airflow.utils.log.logging_mixin import LoggingMixin
  from airflow.utils.log.secrets_masker import mask_secret
  from airflow.utils.session import provide_session
label_desc: Use image node_id 6 for calling the Variable obj's underlying member method code with example usage: obj.val(cls) and returns: synonym