Module spin_sdk.wit.imports.variables
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: `spin_sdk.wit.types.Err(spin_sdk.wit.imports.variables.Error)` """ raise NotImplementedError
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