code: def get_dialect_name(mixed: Union[SQLCompiler, Engine, Dialect]) -> str:
      
      dialect = get_dialect(mixed)
      # noinspection PyUnresolvedReferences
      return dialect.name
docs: Finds the name of the SQLAlchemy dialect in use.
  
      Args:
          mixed: an SQLAlchemy :class:`SQLCompiler`, :class:`Engine`, or
              :class:`Dialect` object
  
      Returns: the SQLAlchemy dialect name being used