MCPcopy Index your code
hub / github.com/plotly/plotly.py / raise_invalid_elements

Method raise_invalid_elements

_plotly_utils/basevalidators.py:326–339  ·  view source on GitHub ↗
(self, invalid_els)

Source from the content-addressed store, hash-verified

324 )
325
326 def raise_invalid_elements(self, invalid_els):
327 if invalid_els:
328 raise ValueError(
329 """
330 Invalid element(s) received for the '{name}' property of {pname}
331 Invalid elements include: {invalid}
332
333{valid_clr_desc}""".format(
334 name=self.plotly_name,
335 pname=self.parent_name,
336 invalid=invalid_els[:10],
337 valid_clr_desc=self.description(),
338 )
339 )
340
341 def validate_coerce(self, v):
342 """

Callers 12

validate_coerceMethod · 0.80
validate_coerceMethod · 0.80
validate_coerceMethod · 0.80
validate_coerceMethod · 0.80
validate_coerceMethod · 0.80
validate_coerceMethod · 0.80
validate_coerceMethod · 0.80
validate_coerceMethod · 0.80
validate_coerceMethod · 0.80
validate_coerceMethod · 0.80
validate_coerceMethod · 0.80
validate_coerceMethod · 0.80

Calls 2

descriptionMethod · 0.95
formatMethod · 0.45

Tested by

no test coverage detected