nymous / pydantic-vault

A simple extension to Pydantic BaseSettings that can retrieve secrets from Hashicorp Vault
MIT License
52 stars 12 forks source link

Migrate to Pydantic 1.8 #7

Closed nymous closed 3 years ago

nymous commented 3 years ago

This PR migrates pydantic_vault to use the newly supported way of customising settings sources, available since Pydantic 1.8.

It also moves the code to a src/ directory for better test reproducibility.