sierra.core.types
Custom types defined by SIERRA for more readable type hints.
ShellCmdSpec
: Undocumented.YAMLConfigFileSpec
: Undocumented.ParsedNodefileSpec
: Undocumented.OSPackagesSpec
: Undocumented.
- class sierra.core.types.ShellCmdSpec(cmd: str, shell: bool, wait: bool, env: Optional[bool] = False)[source]
Inheritance
- __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
- __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
- __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
- __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
- __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
- __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
- __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
- __module__ = 'sierra.core.types'
- __weakref__
list of weak references to the object (if defined)