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

Method _value_validate

tests/test_traitlets.py:2015–2016  ·  view source on GitHub ↗
(self, proposal)

Source from the content-addressed store, hash-verified

2013
2014 @validate("value")
2015 def _value_validate(self, proposal):
2016 return -1
2017
2018 u = FixedValue(value=2)
2019 assert u.value == -1

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected