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

Method parse

scripts/build-docs.py:36–37  ·  view source on GitHub ↗
(cls, value: str)

Source from the content-addressed store, hash-verified

34
35 @classmethod
36 def parse(cls, value: str) -> Platform:
37 return Platform.current() if "current" == value else Platform(value)
38
39 @classmethod
40 def current(cls) -> Platform:

Callers 3

describe_revFunction · 0.45
lint_enumFunction · 0.45
mainFunction · 0.45

Calls 2

PlatformClass · 0.70
currentMethod · 0.45

Tested by

no test coverage detected