code: def __init__(
      self, length: Optional[int] = None, varying: bool = False
  ) -> None:
      if varying:
          # BIT VARYING can be unlimited-length, so no default
          self.length = length
      else:
          # BIT without VARYING defaults to length 1
          self.length = length or 1
      self.varying = varying
  
imports: from __future__ import annotations
  import datetime
  from typing import Any
  from typing import Optional
  from typing import overload
  from typing import Type
  from typing import TYPE_CHECKING
  from uuid import UUID
  from ...sql import sqltypes
  from ...sql import type_api
  from ...util.typing import Literal
label_desc: Use image node_id 1 to create a new BIT object from inherited base classes: sqltypes.TypeEngine with example: obj = BIT(length, varying)