make pep561 compliant

This commit is contained in:
Maxim Kurnikov
2018-07-29 20:19:43 +03:00
parent 89bb6eac75
commit f471b7b1bf
372 changed files with 51 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
from django.db.models.base import Model
from django.db.models.sql.where import WhereNode
from typing import (
Set,
Tuple,
Type,
Union,
)
class JoinPromoter:
def __init__(self, connector: str, num_children: int, negated: bool) -> None: ...
def add_votes(self, votes: Union[Set[str], Tuple]) -> None: ...
def update_join_types(self, query: Query) -> Set[str]: ...
class Query:
def __init__(
self,
model: Type[Model],
where: Type[WhereNode] = ...
) -> None: ...