Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/qgis_stac/lib/planetary_computer/settings.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
from functools import lru_cache
from typing import Optional
import pydantic
import pydantic_settings

SETTINGS_ENV_FILE = "~/.planetarycomputer/settings.env"
SETTINGS_ENV_PREFIX = "PC_SDK_"

DEFAULT_SAS_TOKEN_ENDPOINT = "https://planetarycomputer.microsoft.com/api/sas/v1/token"


class Settings(pydantic.BaseSettings):
class Settings(pydantic_settings.BaseSettings):
"""PC SDK configuration settings

Settings defined here are attempted to be read in two ways, in this order:
Expand Down