sierra.core.types

Custom types defined by SIERRA for more readable type hints.

class sierra.core.types.ShellCmdSpec(cmd: str, shell: bool, wait: bool, env: Optional[bool] = False)[source]

Inheritance

Inheritance diagram of ShellCmdSpec
__dict__ = mappingproxy({'__module__': 'sierra.core.types', '__init__': <function ShellCmdSpec.__init__>, '__dict__': <attribute '__dict__' of 'ShellCmdSpec' objects>, '__weakref__': <attribute '__weakref__' of 'ShellCmdSpec' objects>, '__doc__': None, '__annotations__': {}})
__doc__ = None
__init__(cmd: str, shell: bool, wait: bool, env: Optional[bool] = False) None[source]
__module__ = 'sierra.core.types'
__weakref__

list of weak references to the object (if defined)

class sierra.core.types.YAMLConfigFileSpec(main: str, controllers: str, models: str, stage5: str)[source]

Inheritance

Inheritance diagram of YAMLConfigFileSpec
__dict__ = mappingproxy({'__module__': 'sierra.core.types', '__init__': <function YAMLConfigFileSpec.__init__>, '__dict__': <attribute '__dict__' of 'YAMLConfigFileSpec' objects>, '__weakref__': <attribute '__weakref__' of 'YAMLConfigFileSpec' objects>, '__doc__': None, '__annotations__': {}})
__doc__ = None
__init__(main: str, controllers: str, models: str, stage5: str) None[source]
__module__ = 'sierra.core.types'
__weakref__

list of weak references to the object (if defined)

class sierra.core.types.ParsedNodefileSpec(hostname: str, n_cores: int, login: str, port: int)[source]

Inheritance

Inheritance diagram of ParsedNodefileSpec
__dict__ = mappingproxy({'__module__': 'sierra.core.types', '__init__': <function ParsedNodefileSpec.__init__>, '__dict__': <attribute '__dict__' of 'ParsedNodefileSpec' objects>, '__weakref__': <attribute '__weakref__' of 'ParsedNodefileSpec' objects>, '__doc__': None, '__annotations__': {}})
__doc__ = None
__init__(hostname: str, n_cores: int, login: str, port: int) None[source]
__module__ = 'sierra.core.types'
__weakref__

list of weak references to the object (if defined)

class sierra.core.types.OSPackagesSpec(kernel: str, name: str, pkgs: Dict[str, bool])[source]

Inheritance

Inheritance diagram of OSPackagesSpec
__dict__ = mappingproxy({'__module__': 'sierra.core.types', '__init__': <function OSPackagesSpec.__init__>, '__dict__': <attribute '__dict__' of 'OSPackagesSpec' objects>, '__weakref__': <attribute '__weakref__' of 'OSPackagesSpec' objects>, '__doc__': None, '__annotations__': {}})
__doc__ = None
__init__(kernel: str, name: str, pkgs: Dict[str, bool]) None[source]
__module__ = 'sierra.core.types'
__weakref__

list of weak references to the object (if defined)