vantage_sdk.schemas
Base data models and schemas for the standalone Vantage SDK.
Classes
CliContext(*, profile: str = 'default', verbose: bool = False, json_output: bool = False, persona: vantage_sdk.schemas.Persona | None = None, client: httpx.AsyncClient | None = None, settings: vantage_sdk.config.Settings | None = None, console: Any | None = None, command_start_time: float | None = None, rest_client: Any | None = None, graphql_client: Any | None = None, **extra_data: Any) -> None
In-memory SDK execution context.
DeviceCodeData(*, device_code: str, verification_uri_complete: str, interval: int) -> None
OAuth device code flow data.
IdentityData(*, client_id: str, email: str, org_id: str, org_name: str, username: str) -> None
User identity information extracted from tokens.
Persona(*, token_set: vantage_sdk.schemas.TokenSet, identity_data: vantage_sdk.schemas.IdentityData) -> None
User persona combining token set and identity data.
SDKContext(*, profile: str = 'default', verbose: bool = False, json_output: bool = False, persona: vantage_sdk.schemas.Persona | None = None, client: httpx.AsyncClient | None = None, settings: vantage_sdk.config.Settings | None = None, console: Any | None = None, command_start_time: float | None = None, rest_client: Any | None = None, graphql_client: Any | None = None, **extra_data: Any) -> None
In-memory SDK execution context.
TokenSet(*, access_token: str, refresh_token: str | None = None) -> None
OAuth token set containing access and refresh tokens.