MCPcopy Create free account
hub / github.com/plotly/dash / has_wildcard

Method has_wildcard

dash/dependencies.py:124–132  ·  view source on GitHub ↗

Return true if id contains a wildcard (MATCH, ALL, or ALLSMALLER)

(self)

Source from the content-addressed store, hash-verified

122 return hash(str(self))
123
124 def has_wildcard(self) -> bool:
125 """
126 Return true if id contains a wildcard (MATCH, ALL, or ALLSMALLER)
127 """
128 if isinstance(self.component_id, dict):
129 for v in self.component_id.values():
130 if isinstance(v, Wildcard):
131 return True
132 return False
133
134
135class Output(DashDependency): # pylint: disable=too-few-public-methods

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected