Skip to content

Conversation

asottile-sentry
Copy link

cherry-picked from typeddjango#680

while the literal in code is an empty list, it is only used as an iterable (in `get_validators`)

relaxing to sequence makes it easier to use a list literal in subclasses which have a homogeneous list (without needing an explicit annotation)
@asottile-sentry asottile-sentry requested review from a team October 9, 2024 15:23
@asottile-sentry asottile-sentry merged commit 590928c into sentry-3.15.1 Oct 9, 2024
13 checks passed
@asottile-sentry asottile-sentry deleted the cherry-pick-fields-sequence branch October 9, 2024 17:55
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