Prevent API keys and passwords from leaking into logs or traces. Use Pydantic's SecretStr and custom repr to automatically mask sensitive fields.
#pydantic #logging #ValtersIT
https://www.valtersit.com/vault/mask-sensitive-fields-in-pydantic-logs-with-secretstr-and-re-8fd9c9/
