Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

db.models.sql.compiler.as_sql() return type #2213

Open
psam44 opened this issue Jun 8, 2024 · 0 comments
Open

db.models.sql.compiler.as_sql() return type #2213

psam44 opened this issue Jun 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@psam44
Copy link

psam44 commented Jun 8, 2024

What's wrong

The return type of as_sql(), set as _AsSqlType, results to tuple[str, list[str | int]]

How is that should be

It should be tuple[str, tuple[Any, ...]]

System information

  • django version: 4.2.8 code = return " ".join(result), tuple(params)
@psam44 psam44 added the bug Something isn't working label Jun 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging a pull request may close this issue.

1 participant