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

Class SubclassTrait

tests/test_traitlets.py:1851–1853  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1849 """Test deprecated default_value=None behavior for Container subclass traits"""
1850
1851 class SubclassTrait(Trait): # type:ignore
1852 def __init__(self, default_value=None):
1853 super().__init__(default_value=default_value)
1854
1855 class C(HasTraits):
1856 t = SubclassTrait()

Callers 1

CClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…