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

[5.1] Add slicing notation to F expressions #1897

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

Viicos
Copy link
Contributor

@Viicos Viicos commented Jan 1, 2024

See django/django#17596

Feel free to merge this whenever is the right time (django 5.1 isn't released yet)

@sobolevn sobolevn added the blocked Blocked by some other PR, discussion or third party dependency. label Jan 2, 2024
@intgr intgr changed the title Add slicing notation to F expressions [5.1] Add slicing notation to F expressions Mar 21, 2024
@@ -1,7 +1,7 @@
import datetime
from collections.abc import Callable, Iterable, Iterator, Mapping, Sequence
from decimal import Decimal
from typing import Any, ClassVar, Generic, Literal, TypeVar
from typing import Any, ClassVar, Generic, Literal, NoReturn, TypeVar
Copy link
Member

Choose a reason for hiding this comment

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

Please, use Never

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is there a specific reason to do so? I know they are equivalent but I like sticking to NoReturn for return values. What do you think?

Copy link
Member

Choose a reason for hiding this comment

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

OK :)

@sobolevn sobolevn merged commit 807090a into typeddjango:master Aug 21, 2024
36 checks passed
@Viicos Viicos deleted the sliced-f branch August 21, 2024 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Blocked by some other PR, discussion or third party dependency.
Development

Successfully merging this pull request may close these issues.

2 participants