Skip to content

5.0: Update django.db.models.sql.compiler#2166

Merged
sobolevn merged 2 commits intotypeddjango:masterfrom
JaeHyuckSa:compiler
May 19, 2024
Merged

5.0: Update django.db.models.sql.compiler#2166
sobolevn merged 2 commits intotypeddjango:masterfrom
JaeHyuckSa:compiler

Conversation

@JaeHyuckSa
Copy link
Contributor

@JaeHyuckSa JaeHyuckSa commented May 16, 2024

I have made things!

Update stubs for django.db.models.sql.compiler for Django 5.0.

  • django.db.models.sql.compiler
    • django.db.models.sql.compiler.PositionRef was added

Related issues

Refs

Upstream PR

@JaeHyuckSa JaeHyuckSa mentioned this pull request May 16, 2024
39 tasks

class PositionRef(Ref):
def __init__(self, ordinal: str, refs: str, source: Expression) -> None: ...
def as_sql(self, compiler: SQLCompiler, connection: BaseDatabaseWrapper) -> _AsSqlType: ...
Copy link
Member

Choose a reason for hiding this comment

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

as_sql exists here:

def as_sql(self, compiler: SQLCompiler, connection: BaseDatabaseWrapper) -> _AsSqlType: ...

Ref is a subclass of BaseExpression

@sobolevn sobolevn merged commit 2224595 into typeddjango:master May 19, 2024
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.

2 participants