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

Fixed sql types #2318

Closed
wants to merge 1 commit into from
Closed

Fixed sql types #2318

wants to merge 1 commit into from

Conversation

ashm-dev
Copy link
Contributor

@ashm-dev ashm-dev commented Aug 4, 2024

I have made things!

Related issues

Closes #2213

@@ -13,9 +13,9 @@ from django.db.models.sql.subqueries import AggregateQuery, DeleteQuery, InsertQ
from django.utils.functional import cached_property
from typing_extensions import TypeAlias

_ParamT: TypeAlias = str | int
_ParamT: TypeAlias = Any
Copy link
Member

@sobolevn sobolevn Aug 4, 2024

Choose a reason for hiding this comment

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

This whole module must be revisited. There're lots of incorrect annotations there :(

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy that, thank you! Then I'll close the PR for now)

@ashm-dev ashm-dev closed this Aug 4, 2024
@ashm-dev ashm-dev deleted the fix-2213 branch August 4, 2024 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

db.models.sql.compiler.as_sql() return type
2 participants