runway.context.sys_info module
System Information.
- class runway.context.sys_info.OsInfo[source]
Bases:
object
Information about the operating system running on the current system.
- static __new__(cls, *args: Any, **kwargs: Any) runway.context.sys_info.OsInfo [source]
Create a new instance of class.
This class is a singleton so it will always return the same instance.
- property is_macos: bool
Operating system is macOS.
Does not differentiate between macOS and Darwin.
- classmethod clear_singleton() None [source]
Clear singleton instances.
Intended to only be used for running tests.
- __init__()
- class runway.context.sys_info.SystemInfo[source]
Bases:
object
Information about the system running Runway.
- static __new__(cls, *args: Any, **kwargs: Any) runway.context.sys_info.SystemInfo [source]
Create a new instance of class.
This class is a singleton so it will always return the same instance.
- property os: runway.context.sys_info.OsInfo
Operating system information.
- classmethod clear_singleton() None [source]
Clear singleton instances.
Intended to only be used for running tests.
- __init__()