Replies: 1 comment 1 reply
-
@awtkns beep boop, polite bump |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Problem
Using the example below, the
POST
route created bySQLAlchemyCRUDRouter
requires values forcreated_at
andupdated_at
. Adding= None
as a default value to the Pydantic schema doesn't change this behavior. These fields are listed as required in Redoc and Swagger. Similarly, making a request results in the following error:Meanwhile, my own
POST
function available at/create-record
does not require these fields (expected behavior).Semi-pseudocode
Questions
Beta Was this translation helpful? Give feedback.
All reactions