code: def __init__(self, items=None):
      self.items = items or []
      self.positional = []
      self.named = {}
  
      for item in self.items:
          parts = (
              item.split("=", 2) if isinstance(item, str) else [item]
          )
          if len(parts) == 2:
              self.named[parts[0]] = parts[1]
          else:
              self.positional.append(item)
  
imports: import json
  import os
  import re
  import logging
  from collections import defaultdict
  from modules import errors
label_desc: Use image node_id 1 to create a new ExtraNetworkParams object  with example: obj = ExtraNetworkParams(items)