MCPcopy Create free account
hub / github.com/StackStorm/st2 / Platform

Class Platform

pants-plugins/uses_services/scripts/inspect_platform.py:22–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20
21@dataclass(frozen=True)
22class Platform:
23 arch: str
24 os: str
25 distro: str
26 distro_name: str
27 distro_codename: str
28 distro_like: str
29 distro_major_version: str
30 distro_version: str
31 mac_release: str
32 win_release: str
33
34
35def _get_platform() -> Platform:

Callers 3

get_platformFunction · 0.90
platformFunction · 0.85
_get_platformFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected