code: def __call__(cls, *args, **kwargs):
      instance = super(ABCMeta, cls).__call__(*args, **kwargs)
      abstract_attributes = {
          name
          for name in dir(instance)
          if getattr(
              getattr(instance, name),
              "__is_abstract_attribute__",
              False,
          )
      }
      if abstract_attributes:
          raise NotImplementedError(
              "Can't instantiate abstract class {} with"
              " abstract attributes: {}".format(
                  cls.__name__, ", ".join(abstract_attributes)
              )
          )
      return instance
  
imports: import abc
label_desc: Use image node_id 1 for calling the ABCMeta obj's underlying member method code with example usage: obj.__call__(cls) and returns: instance