landstac.types¶
Shared types and aliases for landstac.
This module centralizes light-weight typing helpers to keep function signatures readable throughout the codebase.
Classes
Container for ERS credentials loaded from a local file or environment. |
- class landstac.types.Credentials[source]¶
Bases:
TypedDictContainer for ERS credentials loaded from a local file or environment.
Fields¶
- usernamestr
ERS account username.
- passwordstr
ERS account password.
- tokenOptional[str]
Optional bearer token if the host accepts Authorization headers. LandsatLook commonly relies on ERS cookies, so this can be null.