Skip to content

Commit

Permalink
updated pydantic to reflect changes identified here: https://docs.pyd…
Browse files Browse the repository at this point in the history
  • Loading branch information
owenh28 committed Jan 22, 2025
1 parent f07f89d commit fec93d2
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit fec93d2

Please sign in to comment.