class documentation

class Environ(BaseEnviron):

View In Hierarchy

HubAI settings loaded from environment variables and keyring.

Method validate_hubai_api_key Populate HUBAI_API_KEY from keyring when available.
Constant HUBAI_URL Base URL for HubAI services. Override this for staging or a self-hosted environment.
Instance Variable HUBAI_API_KEY API key used to authenticate requests. A key stored by hubai login takes precedence over the environment variable.
@model_validator(mode='after')
def validate_hubai_api_key(self) -> Self:

Populate HUBAI_API_KEY from keyring when available.

HUBAI_URL: str =

Base URL for HubAI services. Override this for staging or a self-hosted environment.

Value
'https://easyml.cloud.luxonis.com/'
HUBAI_API_KEY: str | None =

API key used to authenticate requests. A key stored by hubai login takes precedence over the environment variable.