Module spin_sdk.wit.imports.fermyon_spin_config
Functions
def get_config(key: str) ‑> str-
Expand source code
def get_config(key: str) -> str: """ Get a configuration value for the current component. The config key must match one defined in in the component manifest. Raises: `componentize_py_types.Err(spin_sdk.wit.imports.fermyon_spin_config.Error)` """ raise NotImplementedErrorGet a configuration value for the current component. The config key must match one defined in in the component manifest.
Raises:
componentize_py_types.Err(spin_sdk.wit.imports.fermyon_spin_config.Error)
Classes
class Error_InvalidKey (value: str)-
Expand source code
@dataclass class Error_InvalidKey: value: strError_InvalidKey(value: str)
Instance variables
var value : str
class Error_InvalidSchema (value: str)-
Expand source code
@dataclass class Error_InvalidSchema: value: strError_InvalidSchema(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