MCPcopy Index your code
hub / github.com/plotly/dash / _validate_string

Method _validate_string

dash/dash_table/Format.py:123–125  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

121 raise TypeError("expected value to be one of", str(list(named_values)))
122
123 def _validate_string(self, value):
124 if not isinstance(value, (str, "".__class__)):
125 raise TypeError("expected value to be a string")
126
127 # Specifier
128 def align(self, value):

Callers 3

_validate_charMethod · 0.95
symbol_prefixMethod · 0.95
symbol_suffixMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected