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

Method _transform

traitlets/traitlets.py:311–313  ·  view source on GitHub ↗

default transform: no-op

(self, x: T)

Source from the content-addressed store, hash-verified

309 self.link()
310
311 def _transform(self, x: T) -> T:
312 """default transform: no-op"""
313 return x
314
315 _transform_inv = _transform
316

Callers 4

linkMethod · 0.95
_update_targetMethod · 0.95
linkMethod · 0.80
_updateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected