Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ipython/traitlets
/ KeyValidatedDictTrait
Class
KeyValidatedDictTrait
tests/test_traitlets.py:1916–1917 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1914
1915
1916
class
KeyValidatedDictTrait(HasTraits):
1917
value = Dict(key_trait=Unicode(), default_value={
"foo"
:
"1"
})
1918
1919
1920
class
TestInstanceKeyValidatedDict(TraitTestBase):
Callers
1
TestInstanceKeyValidatedDict
Class · 0.85
Calls
2
Dict
Class · 0.90
Unicode
Class · 0.90
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…