pgstac icon indicating copy to clipboard operation
pgstac copied to clipboard

Typing improvements and loosened dependencies

Open Zaczero opened this issue 11 months ago • 3 comments

This PR is a set of several typing improvements as well as loosened dependencies which resolves #341. While this PR bundles several changes, the commits are atomic and should be simple to review individually.

More notable changes:

  • pydantic depdendency was replaced with pydantic-settings as in official docs.
  • set_json_dumps no longer uses a .decode() wrapper method, since bytes return is supported in psycopg since 3.1.9.
  • pathlib.Path type hints were removed since from my testing they never worked (they are not an instance of str).

Zaczero avatar Jan 27 '25 20:01 Zaczero