Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ipython/traitlets
/ _foo_validate
Method
_foo_validate
tests/test_typing.py:58–59 ·
view source on GitHub ↗
(self, commit: t.Any)
Source
from the content-addressed store, hash-verified
56
57
@validate(
"foo"
)
58
def
_foo_validate(self, commit: t.Any) -> bool:
59
return
True
60
61
t = T()
62
reveal_type(t.foo)
# R: builtins.str
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected