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

Class CacheModification

tests/test_traitlets.py:2385–2395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2383
2384
2385class CacheModification(HasTraits):
2386 foo = Int()
2387 bar = Int()
2388
2389 def _bar_validate(self, value, trait):
2390 self.foo = value
2391 return value
2392
2393 def _foo_validate(self, value, trait):
2394 self.bar = value
2395 return value
2396
2397
2398def test_cache_modification():

Callers 1

test_cache_modificationFunction · 0.85

Calls 1

IntClass · 0.90

Tested by 1

test_cache_modificationFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…