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

Method coerce

tests/test_traitlets.py:1474–1475  ·  view source on GitHub ↗
(self, n)

Source from the content-addressed store, hash-verified

1472 _default_value = 1
1473
1474 def coerce(self, n):
1475 return int(n)
1476
1477
1478class MinBoundIntegerTrait(HasTraits):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected