Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
import stdlib tuple
  • Loading branch information
trim21 committed Jul 18, 2020
commit bc6bc1ae100c2f3070b1adb44ab83d3813ff0fa2
5 changes: 3 additions & 2 deletions third_party/2and3/peewee.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ from typing import (
Union,
Generic,
Dict,
Tuple as TupleT
)
import sqlite3

Expand Down Expand Up @@ -281,13 +282,13 @@ class ColumnBase(Node):
def __getitem__(self, item: Any) -> Expression: ...
def distinct(self) -> NodeList: ...
def collate(self, collation: Any) -> NodeList: ...
def get_sort_key(self, ctx: Any) -> Tuple[str]: ...
def get_sort_key(self, ctx: Any) -> TupleT[str, ...]: ...

class Column(ColumnBase, Generic[_NodeLike]):
source: _NodeLike = ...
name: str = ...
def __init__(self, source: _NodeLike, name: str) -> None: ...
def get_sort_key(self, ctx: Context) -> Tuple[str, ...]: ...
def get_sort_key(self, ctx: Context) -> TupleT[str, ...]: ...
def __hash__(self) -> int: ...
def __sql__(self, ctx: Context) -> Context: ...

Expand Down