docs: def _get_bases(type_):
          # type: (type) -> Tuple[type, type]
          """Get the base and meta classes to use in creating a subclass.
  
          Args:
              type_: The type to subclass.
  
          Returns:
              A tuple containing two values: a base class, and a metaclass.
          """
          try:
  
              class _(type_):  # type: ignore
                  """Check if type_ is subclassable."""
  
              BaseClass = type_
          except TypeError:
              BaseClass = object
  
          class MetaClass(_ValidationMeta, BaseClass.__class__):  # type: ignore
              """Use the type_ meta and include base validation functionality."""
  
          return BaseClass, MetaClass