class_docstr: Performs a simple value check using sql code.
  
  :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
class_docstr_tok: ["Performs","a","simple","value","check","using","sql","code",".",":","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"]
code: def __init__(
      self,
      *,
      sql: str,
      pass_value: Any,
      tolerance: Any = None,
      conn_id: str | None = None,
      database: str | None = None,
      **kwargs,
  ):
      super().__init__(conn_id=conn_id, database=database, **kwargs)
      self.sql = sql
      self.pass_value = str(pass_value)
      tol = _convert_to_float_if_possible(tolerance)
      self.tol = tol if isinstance(tol, float) else None
      self.has_tolerance = self.tol is not None
  
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 SQLValueCheckOperator object from inherited base classes: BaseSQLOperator with example: obj = SQLValueCheckOperator()