class_docstr: Performs a value check using sql code against a minimum threshold and a maximum threshold.
  
  Thresholds can be in the form of a numeric value OR a sql statement that results a numeric.
  
  :param sql: the sql to be executed. (templated)
  :param conn_id: the connection ID used to connect to the database.
  :param database: name of database which overwrite the defined one in connection
  :param min_threshold: numerical value or min threshold sql to be executed (templated)
  :param max_threshold: numerical value or max threshold sql to be executed (templated)
class_docstr_tok: ["Performs","a","value","check","using","sql","code","against","a","minimum","threshold","and","a","maximum","threshold",".","Thresholds","can","be","in","the","form","of","a","numeric","value","OR","a","sql","statement","that","results","a","numeric",".",":","param","sql",":","the","sql","to","be","executed",".","(","templated",")",":","param","conn_id",":","the","connection","ID","used","to","connect","to","the","database",".",":","param","database",":","name","of","database","which","overwrite","the","defined","one","in","connection",":","param","min_threshold",":","numerical","value","or","min","threshold","sql","to","be","executed","(","templated",")",":","param","max_threshold",":","numerical","value","or","max","threshold","sql","to","be","executed","(","templated",")"]
code: def __init__(
      self,
      *,
      sql: str,
      min_threshold: Any,
      max_threshold: Any,
      conn_id: str | None = None,
      database: str | None = None,
      **kwargs,
  ):
      super().__init__(conn_id=conn_id, database=database, **kwargs)
      self.sql = sql
      self.min_threshold = min_threshold
      self.max_threshold = max_threshold
  
imports: from __future__ import annotations
  import ast
  import re
  from functools import cached_property
  from typing import TYPE_CHECKING, Any, Callable, Iterable, Mapping, NoReturn, Sequence, SupportsAbs
  from airflow.exceptions import AirflowException, AirflowFailException
  from airflow.hooks.base import BaseHook
  from airflow.models import BaseOperator, SkipMixin
  from airflow.providers.common.sql.hooks.sql import DbApiHook, fetch_all_handler, return_single_query_results
  from airflow.utils.helpers import merge_dicts
label_desc: Use image node_id 1 to create a new SQLThresholdCheckOperator object from inherited base classes: BaseSQLOperator with example: obj = SQLThresholdCheckOperator()