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

Method _validate_char

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

Source from the content-addressed store, hash-verified

101 getattr(self, kw)(val)
102
103 def _validate_char(self, value):
104 self._validate_string(value)
105
106 if len(value) != 1:
107 raise ValueError("expected value to a string of length one")
108
109 def _validate_non_negative_integer_or_none(self, value):
110 if value is None:

Callers 3

fillMethod · 0.95
decimal_delimiterMethod · 0.95
group_delimiterMethod · 0.95

Calls 1

_validate_stringMethod · 0.95

Tested by

no test coverage detected