Module spin_sdk.wit.imports.fermyon_spin_variables_2_0_0
Global variables
var Error-
The set of errors which may be raised by functions in this interface.
Functions
def get(name: str) ‑> str-
Expand source code
def get(name: str) -> str: """ Get an application variable value for the current component. The name must match one defined in in the component manifest. Raises: `componentize_py_types.Err(spin_sdk.wit.imports.fermyon_spin_variables_2_0_0.Error)` """ raise NotImplementedErrorGet an application variable value for the current component.
The name must match one defined in in the component manifest.
Raises:
componentize_py_types.Err(Error)
Classes
class Error_InvalidName (value: str)-
Expand source code
@dataclass class Error_InvalidName: value: strError_InvalidName(value: str)
Instance variables
var value : str
class Error_Other (value: str)-
Expand source code
@dataclass class Error_Other: value: strError_Other(value: str)
Instance variables
var value : str
class Error_Provider (value: str)-
Expand source code
@dataclass class Error_Provider: value: strError_Provider(value: str)
Instance variables
var value : str
class Error_Undefined (value: str)-
Expand source code
@dataclass class Error_Undefined: value: strError_Undefined(value: str)
Instance variables
var value : str