MCPcopy
hub / github.com/plotly/dash / to_dict

Method to_dict

dash/dependencies.py:67–74  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

65 return stringify_id(self.component_id)
66
67 def to_dict(self) -> dict:
68 specs: Any = {
69 "id": self.component_id_str(),
70 "property": self.component_property,
71 }
72 if self.allow_optional:
73 specs["allow_optional"] = True
74 return specs
75
76 def __eq__(self, other):
77 """

Callers 13

load_tableFunction · 0.80
test_scrolling.pyFile · 0.80
test_pagination.pyFile · 0.80
test_editable.pyFile · 0.80
callbackFunction · 0.80

Calls 1

component_id_strMethod · 0.95

Tested by 2

load_tableFunction · 0.64