Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ipython/traitlets
/ coerce
Method
coerce
tests/test_traitlets.py:1244–1245 ·
view source on GitHub ↗
(self, value)
Source
from the content-addressed store, hash-verified
1242
self.obj.value = value
# type:ignore
1243
1244
def
coerce(self, value):
1245
return
value
1246
1247
def
test_good_values(self):
1248
if
hasattr(self,
"_good_values"
):
Callers
1
test_good_values
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected