Skip to content

Conversation

@mdegat01
Copy link
Collaborator

Proposed Changes

Strings also pass the typing test for list[str] or set[str] so typing order must be reversed to prevent incorrect parsing/serialization in any fields where both are accepted.

@mdegat01 mdegat01 added the bugfix Inconsistencies or issues which will cause a problem for users or implementers. label Dec 19, 2024
Copy link
Contributor

@emontnemery emontnemery left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change looks good, but we might need a test also for FullBackupOptions?

Copy link
Contributor

@emontnemery emontnemery left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @mdegat01 👍

@agners agners merged commit f5bd4b0 into main Dec 20, 2024
7 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Dec 21, 2024
@agners agners deleted the fix-backup-typing branch January 29, 2025 10:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bugfix Inconsistencies or issues which will cause a problem for users or implementers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants