MCPcopy Create free account
hub / github.com/ipython/traitlets / TestInstanceKeyValidatedDict

Class TestInstanceKeyValidatedDict

tests/test_traitlets.py:1920–1925  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1918
1919
1920class TestInstanceKeyValidatedDict(TraitTestBase):
1921 obj = KeyValidatedDictTrait()
1922
1923 _default_value = {"foo": "1"}
1924 _good_values = [{"foo": "0", "bar": "1"}]
1925 _bad_values = [{"foo": "0", 0: "1"}]
1926
1927
1928class FullyValidatedDictTrait(HasTraits):

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…