constants.py 378 B

123456789101112131415
  1. from typing import Any
  2. class MissingValueType:
  3. def __repr__(self) -> str:
  4. return "<MISSING_VALUE>"
  5. def __deepcopy__(self, memo: dict[int, Any]) -> "MissingValueType":
  6. return self
  7. MISSING_VALUE = MissingValueType()
  8. JSONReturnType = dict[str, Any] | list[Any] | str | float | int | bool | None
  9. STRING_DELIMITERS: list[str] = ['"', "'", "“", "”"]