class_docstr: Responsible for managing all instances of custom subclasses of a
  given abstract base class - only one instance needs to be created
  per abstract base class, and should be created through the
  create_registry function/decorator. All management methods
  for a given base class can be called through the global wrapper functions
  rather than through the object instance itself.
  
  Parameters
  ----------
  interface : type
      The abstract base class to manage.
class_docstr_tok: ["Responsible","for","managing","all","instances","of","custom","subclasses","of","a","given","abstract","base","class","-","only","one","instance","needs","to","be","created","per","abstract","base","class",",","and","should","be","created","through","the","create_registry","function\/decorator",".","All","management","methods","for","a","given","base","class","can","be","called","through","the","global","wrapper","functions","rather","than","through","the","object","instance","itself",".","Parameters","--","--","--","--","--","interface",":","type","The","abstract","base","class","to","manage","."]
code: def clear(self):
      self._factories.clear()
  
imports: import re
  import six
  from toolz import curry
label_desc: Use image node_id 6 for calling the Registry obj's underlying member method code with example usage: obj.clear() without return types