-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
Description:
The Pydantic schemas in schemas.py are not fully accurate. Some fields could be optional, but they are currently required. This can lead to unnecessary validation errors when handling partial data.
Steps to reproduce:
- Try to validate data where some fields are missing but should logically be optional.
- The validation fails instead of allowing flexible input.
Expected behavior:
- Fields that are not always required should be marked as
str | Noneor given default values.
Important Notes:
- Not all fields should be made optional immediately.
- It would be best to provide examples which allow you to know that field is optional
Suggested Fix:
- Review schemas.py and determine which fields should be optional.
- Update the Pydantic models accordingly.
- Add test cases to verify the changes.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers