mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 17:20:54 +07:00
15 lines
459 B
Python
15 lines
459 B
Python
from typing import Any
|
|
|
|
from django.contrib.postgres.fields import ArrayField
|
|
from django.db.models import Subquery
|
|
from django.db.models.query import QuerySet
|
|
from django.db.models.sql.query import Query
|
|
from django.utils.functional import cached_property
|
|
|
|
class ArraySubquery(Subquery):
|
|
template: str
|
|
|
|
def __init__(self, queryset: Query | QuerySet[Any], **kwargs: Any) -> None: ...
|
|
@cached_property
|
|
def output_field(self) -> ArrayField: ...
|