Skip to content

error: Name "Sequence" is not defined #1022

@christianbundy

Description

@christianbundy

Bug report

There's a discussion in gh-709 about a new bug, which seems to output nonsense error: Name "Sequence" is not defined errors. @ljodal has suggested that the regression was introduced in #991, and they've reproduced the issue in #1021 and https://github.com/ljodal/django-stubs-regression-test.

System information

  • OS:
  • python version: 3.10.x
  • django version: 3.2.x
  • mypy version: 0.962
  • django-stubs version: 1.12.0
  • django-stubs-ext version: 0.5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions