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

Function test_validate_schema_grouping_scalar

tests/unit/library/test_grouping.py:245–252  ·  view source on GitHub ↗
(scalar_grouping_size)

Source from the content-addressed store, hash-verified

243
244
245def test_validate_schema_grouping_scalar(scalar_grouping_size):
246 grouping, size = scalar_grouping_size
247 schema = make_schema_with_nones(grouping)
248 validate_grouping(grouping, schema)
249
250 # Anything is valid as a scalar
251 validate_grouping((0,), schema)
252 validate_grouping({"a": 0}, schema)
253
254
255def test_validate_schema_grouping_list(list_grouping_size):

Callers

nothing calls this directly

Calls 2

validate_groupingFunction · 0.90
make_schema_with_nonesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…