Skip to content

Conversation

@andrewsy-opal
Copy link
Collaborator

Due to Python 3.11 strict typing, required but nullable dates in Python now don't allow None, this leads to errors when objects have None responses in their expiration_date fields.

This updates the Openapi spec to remove datetimes from required if they are nullable.

@rishikesh-opal rishikesh-opal changed the title Remove required clauses from nullable datets [OPAL-12292] Remove required clauses from nullable datets Nov 26, 2024
@andrewsy-opal andrewsy-opal merged commit 484e23b into main Nov 26, 2024
11 checks passed
@andrewsy-opal andrewsy-opal deleted the andrewsy-vs-optionals branch November 26, 2024 17:53
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