code: def class_name(obj):
      
  
      name = obj.__name__
      module = getattr(obj, '__module__')
  
      if module:
          name = f'{module}.{name}'
      return name
docs: Get the name of an object, including the module name if available.