code: def __init__(self, default_factory=None, *a, **kw):
      if default_factory is not None and not callable(default_factory):
          raise TypeError("first argument must be callable")
  
      OrderedDict.__init__(self, *a, **kw)
      self.default_factory = default_factory
  
file_path: wandb/wandb/vendor/graphql-core-1.1/wandb_graphql/pyutils/default_ordered_dict.py
imports: import copy
  from collections import OrderedDict
label_desc: Use image node_id 1 to create a new DefaultOrderedDict object from inherited base classes: OrderedDict with example: obj = DefaultOrderedDict(default_factory)