-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fix] Set default item type early (#298)
Fix for the previous fix. Some messages end up with check_message set to False, bypassing the validation in `incoming`. We now set the default value of `item_type` as the first thing in the function. Note that this is a temporary fix that will disappear as soon as we use Pydantic models everywhere.
- Loading branch information
1 parent
9e685b7
commit ab8b836
Showing
2 changed files
with
23 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters