docs: def _get_class_path(self, klass_or_instance):
          """Return class path for a given class.
  
          :param klass_or_instance: Class or instance of given class
          :return: String containing the class path
          """
          if inspect.isclass(klass_or_instance):
              klass = '{}.{}'.format(klass_or_instance.__module__, klass_or_instance.__name__)
          elif not isinstance(klass_or_instance, str):
              klass = klass_or_instance.__class__
              klass = '{}.{}'.format(klass.__module__, klass.__name__)
          else:
              klass = klass_or_instance
  
          return klass