Skip to content

Conversation

@vincentsarago
Copy link
Member

second take at #171

…Attr are cleared on model initialization
@vincentsarago
Copy link
Member Author

@sbrunato I've taken a slightly different approach. Would love to have your opinion

🙏

@sbrunato
Copy link

@sbrunato I've taken a slightly different approach. Would love to have your opinion

🙏

I prefer this approach, using pydantic ValidationInfo and after-validation! Nice 👍

@vincentsarago vincentsarago merged commit cfb417b into main Feb 28, 2025
6 checks passed
@vincentsarago vincentsarago deleted the patch/clear-datetime-privateAttr branch February 28, 2025 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants