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
Uh oh!
There was an error while loading. Please reload this page.
-
Problem
Using the example below, the
POSTroute created bySQLAlchemyCRUDRouterrequires values forcreated_atandupdated_at. Adding= Noneas 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
POSTfunction available at/create-recorddoes not require these fields (expected behavior).Semi-pseudocode
Questions
Beta Was this translation helpful? Give feedback.
All reactions