MCPcopy
hub / github.com/pex-tool/pex / cast

Function cast

pex/typing.py:51–52  ·  view source on GitHub ↗
(_type, value)

Source from the content-addressed store, hash-verified

49else:
50
51 def cast(_type, value):
52 return value
53
54 def overload(_func):
55 def _never_called_since_structurally_shadowed(*_args, **_kwargs):

Callers 15

lintFunction · 0.90
parseMethod · 0.90
from_tagMethod · 0.90
__str__Method · 0.90
getMethod · 0.90
decodeMethod · 0.90
iter_interpretersMethod · 0.90
from_envMethod · 0.90
from_binaryMethod · 0.90

Calls

no outgoing calls

Tested by 15

test_unsatisfiableFunction · 0.72
observe_side_effectFunction · 0.72
execute_scriptFunction · 0.72
evaluate_markerFunction · 0.72
get_fabric_versionsFunction · 0.72
projectFunction · 0.72
empty_pexFunction · 0.72
run_isort_pexFunction · 0.72