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 NotImplementedError

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)

Classes

class Error_InvalidKey (value: str)
Expand source code
@dataclass
class Error_InvalidKey:
    value: str

Error_InvalidKey(value: str)

Instance variables

var value : str
class Error_InvalidSchema (value: str)
Expand source code
@dataclass
class Error_InvalidSchema:
    value: str

Error_InvalidSchema(value: str)

Instance variables

var value : str
class Error_Other (value: str)
Expand source code
@dataclass
class Error_Other:
    value: str

Error_Other(value: str)

Instance variables

var value : str
class Error_Provider (value: str)
Expand source code
@dataclass
class Error_Provider:
    value: str

Error_Provider(value: str)

Instance variables

var value : str