Full Changelog: v0.3.1...v0.3.2
What's Changed
New Types for Template Replacements Validation:
- Added
ReplacementsDict
TypedDict andValidReplacementValue
Union type toquipus/utils/types.py
for validating template replacements.
Updates to __init__.py
:
- Updated
quipus/__init__.py
to include the newReplacementsDict
andValidReplacementValue
in the imports and__all__
list. - Updated
quipus/utils/__init__.py
to export the new types.
Updates to smtp_delivery.py
:
- Imported
ReplacementsDict
andValidReplacementValue
inquipus/services/smtp_delivery.py
. - Modified the
with_body_path
method to useOptional[dict[str, ValidReplacementValue]]
for thereplacements
parameter and added type checks for replacement values.