code: def __init__(self, component_id, component_property):
      if isinstance(component_id, Component):
          self.component_id = component_id._set_random_id()
      else:
          self.component_id = component_id
  
      self.component_property = component_property
      self.allow_duplicate = False
  
imports: import json
  from dash.development.base_component import Component
  from ._validate import validate_callback
  from ._grouping import flatten_grouping, make_grouping_by_index
label_desc: Use image node_id 1 to create a new DashDependency object  with example: obj = DashDependency(component_id, component_property)