Config
from lium.sdk import Config
Defined in lium.sdk.config.
Config(
api_key: str,
base_url: str = 'https://lium.io/api',
base_pay_url: str = 'https://pay-api.lium.io',
ssh_key_path: Optional[pathlib.Path] = None
)
Fields​
| Name | Type | Default |
|---|---|---|
api_key | str | |
base_url | str | 'https://lium.io/api' |
base_pay_url | str | 'https://pay-api.lium.io' |
ssh_key_path | Optional[pathlib.Path] | None |
Properties​
| Name | Type | Description |
|---|---|---|
ssh_public_keys | List[str] | Get SSH public keys. |
Methods​
| Method | Description |
|---|---|
load | Load config from env/file with smart defaults. |
load​
def load(cls) -> lium.sdk.config.Config:
Load config from env/file with smart defaults.