massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / third_party / 2and3 / pynamodb / indexes.pyi
1 from typing import Any, Optional\r
2 \r
3 class IndexMeta(type):\r
4     def __init__(cls, name, bases, attrs) -> None: ...\r
5 \r
6 class Index(metaclass=IndexMeta):\r
7     Meta: Any\r
8     def __init__(self) -> None: ...\r
9     @classmethod\r
10     def count(cls, hash_key, consistent_read: bool = ..., **filters) -> int: ...\r
11     @classmethod\r
12     def query(self, hash_key, scan_index_forward: Optional[Any] = ..., consistent_read: bool = ..., limit: Optional[Any] = ..., last_evaluated_key: Optional[Any] = ..., attributes_to_get: Optional[Any] = ..., **filters): ...\r
13 \r
14 class GlobalSecondaryIndex(Index): ...\r
15 class LocalSecondaryIndex(Index): ...\r
16 \r
17 class Projection(object):\r
18     projection_type: Any\r
19     non_key_attributes: Any\r
20 \r
21 class KeysOnlyProjection(Projection):\r
22     projection_type: Any\r
23 \r
24 class IncludeProjection(Projection):\r
25     projection_type: Any\r
26     non_key_attributes: Any\r
27     def __init__(self, non_attr_keys: Optional[Any] = ...) -> None: ...\r
28 \r
29 class AllProjection(Projection):\r
30     projection_type: Any\r