id
int64
0
328k
repository_name
stringlengths
7
58
file_path
stringlengths
9
302
class_name
stringlengths
5
256
human_written_code
stringlengths
16
2.16M
class_skeleton
stringlengths
18
1.49M
⌀
total_program_units
int64
1
1.76k
total_doc_str
int64
0
771
AvgCountLine
float64
0
7.89k
AvgCountLineBlank
float64
0
297
AvgCountLineCode
float64
0
7.89k
AvgCountLineComment
float64
0
7.89k
AvgCyclomatic
float64
0
130
CommentToCodeRatio
float64
0
168
CountClassBase
float64
0
40
CountClassCoupled
float64
0
583
CountClassCoupledModified
float64
0
575
CountClassDerived
float64
0
5.35k
CountDeclInstanceMethod
float64
0
529
CountDeclInstanceVariable
float64
0
296
CountDeclMethod
float64
0
599
CountDeclMethodAll
float64
0
1.12k
CountLine
float64
1
40.4k
CountLineBlank
float64
0
8.16k
CountLineCode
float64
1
25.7k
CountLineCodeDecl
float64
1
8.15k
CountLineCodeExe
float64
0
24.2k
CountLineComment
float64
0
16.5k
CountStmt
float64
1
9.71k
CountStmtDecl
float64
1
8.15k
CountStmtExe
float64
0
9.69k
MaxCyclomatic
float64
0
759
MaxInheritanceTree
float64
0
16
MaxNesting
float64
0
34
SumCyclomatic
float64
0
2.9k
23,700
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/core.py
redis.commands.core.PubSubCommands
from redis.typing import AbsExpiryT, AnyKeyT, BitfieldOffsetT, ChannelT, CommandsProtocol, ConsumerT, EncodableT, ExpiryT, FieldT, GroupT, KeysT, KeyT, Number, PatternT, ResponseT, ScriptTextT, StreamIdT, TimeoutSecT, ZScoreBoundT class PubSubCommands(CommandsProtocol): """ Redis PubSub commands. see https...
class PubSubCommands(CommandsProtocol): ''' Redis PubSub commands. see https://redis.io/topics/pubsub ''' def publish(self, channel: ChannelT, message: EncodableT, **kwargs) -> ResponseT: ''' Publish ``message`` on ``channel``. Returns the number of subscribers the message ...
8
8
8
1
2
5
1
2.4
1
0
0
2
7
0
7
32
65
14
15
8
7
36
15
8
7
1
6
0
7
23,701
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/core.py
redis.commands.core.ScanCommands
from redis.typing import AbsExpiryT, AnyKeyT, BitfieldOffsetT, ChannelT, CommandsProtocol, ConsumerT, EncodableT, ExpiryT, FieldT, GroupT, KeysT, KeyT, Number, PatternT, ResponseT, ScriptTextT, StreamIdT, TimeoutSecT, ZScoreBoundT from typing import TYPE_CHECKING, Any, AsyncIterator, Awaitable, Callable, Dict, Iterable...
class ScanCommands(CommandsProtocol): ''' Redis SCAN commands. see: https://redis.io/commands/scan ''' def scan(self, cursor: int=0, match: Union[PatternT, None]=None, count: Optional[int]=None, _type: Optional[str]=None, **kwargs) -> ResponseT: ''' Incrementally return lists of ke...
9
9
26
3
15
8
3
0.6
1
5
0
2
8
0
8
33
221
34
117
72
58
70
56
22
47
4
6
2
23
23,702
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/core.py
redis.commands.core.Script
import hashlib from redis.exceptions import ConnectionError, DataError, NoScriptError, RedisError from redis.typing import AbsExpiryT, AnyKeyT, BitfieldOffsetT, ChannelT, CommandsProtocol, ConsumerT, EncodableT, ExpiryT, FieldT, GroupT, KeysT, KeyT, Number, PatternT, ResponseT, ScriptTextT, StreamIdT, TimeoutSecT, ZSco...
null
4
3
18
1
10
7
3
0.75
0
5
2
0
3
3
3
3
61
5
32
14
22
24
27
9
22
4
0
1
8
23,703
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/core.py
redis.commands.core.ScriptCommands
from typing import TYPE_CHECKING, Any, AsyncIterator, Awaitable, Callable, Dict, Iterable, Iterator, List, Literal, Mapping, Optional, Sequence, Set, Tuple, Union from redis.exceptions import ConnectionError, DataError, NoScriptError, RedisError from redis.typing import AbsExpiryT, AnyKeyT, BitfieldOffsetT, ChannelT, C...
class ScriptCommands(CommandsProtocol): ''' Redis Lua script commands. see: https://redis.io/ebook/part-3-next-steps/chapter-11-scripting-redis-with-lua/ ''' def _eval(self, command: str, script: str, numkeys: int, *keys_and_args: str) -> Union[Awaitable[str], str]: pass def eval(self...
13
10
10
1
4
5
1
1.22
1
6
2
3
12
0
12
37
139
26
51
28
24
62
30
14
17
3
6
1
14
23,704
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/core.py
redis.commands.core.SetCommands
from .helpers import list_or_args from redis.typing import AbsExpiryT, AnyKeyT, BitfieldOffsetT, ChannelT, CommandsProtocol, ConsumerT, EncodableT, ExpiryT, FieldT, GroupT, KeysT, KeyT, Number, PatternT, ResponseT, ScriptTextT, StreamIdT, TimeoutSecT, ZScoreBoundT from typing import TYPE_CHECKING, Any, AsyncIterator, A...
class SetCommands(CommandsProtocol): ''' Redis commands for Set data type. see: https://redis.io/topics/data-types#sets ''' def sadd(self, name: KeyT, *values: FieldT) -> Union[Awaitable[int], int]: ''' Add ``value(s)`` to set ``name`` For more information, see https://redi...
17
17
10
1
4
5
1
1.41
1
4
0
1
16
0
16
41
174
34
58
35
26
82
43
20
26
1
6
0
16
23,705
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/core.py
redis.commands.core.SortedSetCommands
from .helpers import list_or_args from redis.exceptions import ConnectionError, DataError, NoScriptError, RedisError from redis.typing import AbsExpiryT, AnyKeyT, BitfieldOffsetT, ChannelT, CommandsProtocol, ConsumerT, EncodableT, ExpiryT, FieldT, GroupT, KeysT, KeyT, Number, PatternT, ResponseT, ScriptTextT, StreamIdT...
class SortedSetCommands(CommandsProtocol): ''' Redis commands for Sorted Sets data type. see: https://redis.io/topics/data-types-intro#redis-sorted-sets ''' def zadd(self, name: KeyT, mapping: Mapping[AnyKeyT, EncodableT], nx: bool=False, xx: bool=False, ch: bool=False, incr: bool=False, gt: bool=...
37
35
21
2
11
8
2
0.71
1
7
1
1
36
0
36
61
795
114
399
204
221
282
219
63
182
13
6
2
88
23,706
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/core.py
redis.commands.core.StreamCommands
from redis.exceptions import ConnectionError, DataError, NoScriptError, RedisError from redis.typing import AbsExpiryT, AnyKeyT, BitfieldOffsetT, ChannelT, CommandsProtocol, ConsumerT, EncodableT, ExpiryT, FieldT, GroupT, KeysT, KeyT, Number, PatternT, ResponseT, ScriptTextT, StreamIdT, TimeoutSecT, ZScoreBoundT from t...
class StreamCommands(CommandsProtocol): ''' Redis commands for Stream data type. see: https://redis.io/topics/streams-intro ''' def xack(self, name: KeyT, groupname: GroupT, *ids: StreamIdT) -> ResponseT: ''' Acknowledges the successful processing of one or more messages. A...
24
24
28
3
15
10
4
0.66
1
9
1
1
21
0
21
46
604
85
313
128
202
206
210
39
188
13
6
2
83
23,707
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/json/__init__.py
redis.commands.json.ClusterPipeline
import redis from .commands import JSONCommands class ClusterPipeline(JSONCommands, redis.cluster.ClusterPipeline): """Cluster pipeline for the module."""
class ClusterPipeline(JSONCommands, redis.cluster.ClusterPipeline): '''Cluster pipeline for the module.''' pass
1
1
0
0
0
0
0
1
2
0
0
0
0
0
0
28
2
0
1
1
0
1
1
1
0
0
1
0
0
23,708
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/json/__init__.py
redis.commands.json.JSON
from ..helpers import get_protocol_version, nativestr from json import JSONDecodeError, JSONDecoder, JSONEncoder from .commands import JSONCommands from .decoders import bulk_of_jsons, decode_list import redis class JSON(JSONCommands): """ Create a client for talking to json. :param decoder: :type jso...
class JSON(JSONCommands): ''' Create a client for talking to json. :param decoder: :type json.JSONDecoder: An instance of json.JSONDecoder :param encoder: :type json.JSONEncoder: An instance of json.JSONEncoder ''' def __init__(self, client, version=None, decoder=JSONDecoder(), encoder...
5
5
29
3
21
5
3
0.31
1
9
3
0
4
6
4
32
130
19
85
18
78
26
39
16
34
6
1
2
12
23,709
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/json/__init__.py
redis.commands.json.Pipeline
from .commands import JSONCommands import redis class Pipeline(JSONCommands, redis.client.Pipeline): """Pipeline for the module."""
class Pipeline(JSONCommands, redis.client.Pipeline): '''Pipeline for the module.''' pass
1
1
0
0
0
0
0
1
2
0
0
0
0
0
0
28
2
0
1
1
0
1
1
1
0
0
1
0
0
23,710
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/json/commands.py
redis.commands.json.commands.JSONCommands
import os from ._util import JsonType from json import JSONDecodeError, loads from redis.exceptions import DataError from redis.utils import deprecated_function from .path import Path from typing import Dict, List, Optional, Tuple, Union from .decoders import decode_dict_keys class JSONCommands: """json commands."...
class JSONCommands: '''json commands.''' def arrappend(self, name: str, path: Optional[str]=Path.root_path(), *args: '''Append the objects ``args`` to the array under the ``path` in key ``name``. For more information see `JSON.ARRAPPEND <https://redis.io/commands/json.arrappend>`_.. ...
33
26
13
2
7
5
2
0.63
0
8
2
3
28
0
28
28
419
75
211
127
108
133
120
52
91
5
0
3
49
23,711
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/json/path.py
redis.commands.json.path.Path
class Path: """This class represents a path in a JSON value.""" strPath = '' @staticmethod def root_path(): """Return the root path's string representation.""" return '.' def __init__(self, path): """Make a new path based on the string representation in `path`.""" s...
class Path: '''This class represents a path in a JSON value.''' @staticmethod def root_path(): '''Return the root path's string representation.''' pass def __init__(self, path): '''Make a new path based on the string representation in `path`.''' pass def __repr__(se...
5
3
3
0
2
1
1
0.33
0
0
0
0
2
0
3
3
16
4
9
6
4
3
8
5
4
1
0
0
3
23,712
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/redismodules.py
redis.commands.redismodules.AsyncRedisModuleCommands
class AsyncRedisModuleCommands(RedisModuleCommands): def ft(self, index_name='idx') -> AsyncSearch: """Access the search namespace, providing support for redis search.""" from .search import AsyncSearch s = AsyncSearch(client=self, index_name=index_name) return s
class AsyncRedisModuleCommands(RedisModuleCommands): def ft(self, index_name='idx') -> AsyncSearch: '''Access the search namespace, providing support for redis search.''' pass
2
1
8
2
4
2
1
0.44
1
2
2
2
2
0
2
11
18
5
9
7
4
4
9
7
4
1
1
0
2
23,713
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/redismodules.py
redis.commands.redismodules.RedisModuleCommands
from json import JSONDecoder, JSONEncoder class RedisModuleCommands: """This class contains the wrapper functions to bring supported redis modules into the command namespace. """ def json(self, encoder=JSONEncoder(), decoder=JSONDecoder()) -> JSON: """Access the json namespace, providing suppo...
class RedisModuleCommands: '''This class contains the wrapper functions to bring supported redis modules into the command namespace. ''' def json(self, encoder=JSONEncoder(), decoder=JSONDecoder()) -> JSON: '''Access the json namespace, providing support for redis json.''' pass de...
10
10
7
2
4
1
1
0.43
0
11
9
3
9
0
9
9
80
27
37
27
18
16
37
27
18
1
0
0
9
23,714
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/__init__.py
redis.commands.search.AsyncPipeline
from .commands import AGGREGATE_CMD, CONFIG_CMD, INFO_CMD, PROFILE_CMD, SEARCH_CMD, SPELLCHECK_CMD, SYNDUMP_CMD, AsyncSearchCommands, SearchCommands from ...asyncio.client import Pipeline as AsyncioPipeline class AsyncPipeline(AsyncSearchCommands, AsyncioPipeline, Pipeline): """AsyncPipeline for the module."""
class AsyncPipeline(AsyncSearchCommands, AsyncioPipeline, Pipeline): '''AsyncPipeline for the module.''' pass
1
1
0
0
0
0
0
1
3
0
0
0
0
0
0
334
2
0
1
1
0
1
1
1
0
0
12
0
0
23,715
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/__init__.py
redis.commands.search.AsyncSearch
from .commands import AGGREGATE_CMD, CONFIG_CMD, INFO_CMD, PROFILE_CMD, SEARCH_CMD, SPELLCHECK_CMD, SYNDUMP_CMD, AsyncSearchCommands, SearchCommands class AsyncSearch(Search, AsyncSearchCommands): class BatchIndexer(Search.BatchIndexer): """ A batch indexer allows you to automatically batch ...
class AsyncSearch(Search, AsyncSearchCommands): class BatchIndexer(Search.BatchIndexer): ''' A batch indexer allows you to automatically batch document indexing in pipelines, flushing it every N documents. ''' async def add_document(self, doc_id, nosave=False, score=1.0, p...
5
4
16
0
13
3
1
0.33
2
1
1
0
1
1
1
56
56
3
40
19
25
13
15
7
10
2
2
1
4
23,716
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/__init__.py
redis.commands.search.Pipeline
from .commands import AGGREGATE_CMD, CONFIG_CMD, INFO_CMD, PROFILE_CMD, SEARCH_CMD, SPELLCHECK_CMD, SYNDUMP_CMD, AsyncSearchCommands, SearchCommands import redis class Pipeline(SearchCommands, redis.client.Pipeline): """Pipeline for the module."""
class Pipeline(SearchCommands, redis.client.Pipeline): '''Pipeline for the module.''' pass
1
1
0
0
0
0
0
1
2
0
0
1
0
0
0
44
2
0
1
1
0
1
1
1
0
0
1
0
0
23,717
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/__init__.py
redis.commands.search.Search
from ...asyncio.client import Pipeline as AsyncioPipeline from .commands import AGGREGATE_CMD, CONFIG_CMD, INFO_CMD, PROFILE_CMD, SEARCH_CMD, SPELLCHECK_CMD, SYNDUMP_CMD, AsyncSearchCommands, SearchCommands class Search(SearchCommands): """ Create a client for talking to search. It abstracts the API of the...
class Search(SearchCommands): ''' Create a client for talking to search. It abstracts the API of the module and lets you just use the engine. ''' class BatchIndexer: ''' A batch indexer allows you to automatically batch document indexing in pipelines, flushing it every N do...
9
7
13
0
10
2
1
0.34
1
1
1
1
2
6
2
46
107
9
73
32
54
25
38
22
29
2
1
1
10
23,718
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/aggregation.py
redis.commands.search.aggregation.AggregateRequest
from typing import List, Union from redis.commands.search.dialect import DEFAULT_DIALECT class AggregateRequest: """ Aggregation request which can be passed to `Client.aggregate`. """ def __init__(self, query: str='*') -> None: """ Create an aggregation request. This request may then b...
class AggregateRequest: ''' Aggregation request which can be passed to `Client.aggregate`. ''' def __init__(self, query: str='*') -> None: ''' Create an aggregation request. This request may then be passed to `client.aggregate()`. In order for the request to be usable, ...
15
12
19
4
8
8
3
0.98
0
6
3
0
14
11
14
14
284
64
111
39
94
109
106
37
91
9
0
2
37
23,719
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/aggregation.py
redis.commands.search.aggregation.AggregateResult
class AggregateResult: def __init__(self, rows, cursor: Cursor, schema) -> None: self.rows = rows self.cursor = cursor self.schema = schema def __repr__(self) -> (str, str): cid = self.cursor.cid if self.cursor else -1 return f'<{self.__class__.__name__} at 0x{id(self):...
class AggregateResult: def __init__(self, rows, cursor: Cursor, schema) -> None: pass def __repr__(self) -> (str, str): pass
3
0
5
0
5
0
2
0
0
2
1
0
2
3
2
2
12
1
11
7
8
0
8
7
5
2
0
0
3
23,720
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/aggregation.py
redis.commands.search.aggregation.Cursor
class Cursor: def __init__(self, cid: int) -> None: self.cid = cid self.max_idle = 0 self.count = 0 def build_args(self): args = [str(self.cid)] if self.max_idle: args += ['MAXIDLE', str(self.max_idle)] if self.count: args += ['COUNT', st...
class Cursor: def __init__(self, cid: int) -> None: pass def build_args(self): pass
3
0
6
0
6
0
2
0
0
2
0
0
2
3
2
2
13
1
12
7
9
0
12
7
9
3
0
1
4
23,721
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/aggregation.py
redis.commands.search.aggregation.Limit
class Limit: def __init__(self, offset: int=0, count: int=0) -> None: self.offset = offset self.count = count def build_args(self): if self.count: return ['LIMIT', str(self.offset), str(self.count)] else: return []
class Limit: def __init__(self, offset: int=0, count: int=0) -> None: pass def build_args(self): pass
3
0
4
0
4
0
2
0
0
2
0
0
2
2
2
2
10
1
9
5
6
0
8
5
5
2
0
1
3
23,722
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/aggregation.py
redis.commands.search.aggregation.Reducer
from typing import List, Union class Reducer: """ Base reducer object for all reducers. See the `redisearch.reducers` module for the actual reducers. """ NAME = None def __init__(self, *args: str) -> None: self._args = args self._field = None self._alias = None de...
class Reducer: ''' Base reducer object for all reducers. See the `redisearch.reducers` module for the actual reducers. ''' def __init__(self, *args: str) -> None: pass def alias(self, alias: str) -> 'Reducer': ''' Set the alias for this reducer. ### Parameters ...
5
2
9
1
4
4
2
1
0
2
0
5
3
3
3
3
40
8
16
9
11
16
15
8
11
3
0
2
5
23,723
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/aggregation.py
redis.commands.search.aggregation.SortDirection
class SortDirection: """ This special class is used to indicate sort direction. """ DIRSTRING = None def __init__(self, field: str) -> None: self.field = field
class SortDirection: ''' This special class is used to indicate sort direction. ''' def __init__(self, field: str) -> None: pass
2
1
2
0
2
0
1
0.75
0
1
0
2
1
1
1
1
9
2
4
4
2
3
4
4
2
1
0
0
1
23,724
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/commands.py
redis.commands.search.commands.AsyncSearchCommands
import time from ._util import to_string from .aggregation import AggregateRequest, AggregateResult, Cursor from .document import Document from .suggestion import SuggestionParser from typing import Dict, List, Optional, Union from ..helpers import get_protocol_version from .query import Query from redis.utils import d...
class AsyncSearchCommands(SearchCommands): async def info(self): ''' Get info an stats about the the current index, including the number of documents, memory consumption, etc For more information see `FT.INFO <https://redis.io/commands/ft.info>`_. ''' pass async def se...
12
9
24
4
11
9
3
0.71
1
12
6
2
9
0
9
53
237
47
111
61
73
79
77
33
67
5
1
2
24
23,725
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/commands.py
redis.commands.search.commands.SearchCommands
from .result import Result from redis.client import NEVER_DECODE, Pipeline from .profile_information import ProfileInformation from .aggregation import AggregateRequest, AggregateResult, Cursor from .suggestion import SuggestionParser from .index_definition import IndexDefinition from .document import Document from ._u...
class SearchCommands: '''Search commands.''' def _parse_results(self, cmd, res, **kwargs): pass def _parse_info(self, res, **kwargs): pass def _parse_search(self, res, **kwargs): pass def _parse_aggregate(self, res, **kwargs): pass def _parse_profile(self, r...
51
33
18
3
9
6
2
0.67
0
29
11
3
44
0
44
44
850
165
412
180
281
274
283
94
238
12
0
2
107
23,726
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/document.py
redis.commands.search.document.Document
class Document: """ Represents a single document in a result set """ def __init__(self, id, payload=None, **fields): self.id = id self.payload = payload for k, v in fields.items(): setattr(self, k, v) def __repr__(self): return f'Document {self.__dict__}...
class Document: ''' Represents a single document in a result set ''' def __init__(self, id, payload=None, **fields): pass def __repr__(self): pass def __getitem__(self, item): pass
4
1
3
0
3
0
1
0.27
0
0
0
0
3
2
3
3
17
3
11
8
7
3
11
8
7
2
0
1
4
23,727
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/field.py
redis.commands.search.field.Field
from typing import List class Field: """ A class representing a field in a document. """ NUMERIC = 'NUMERIC' TEXT = 'TEXT' WEIGHT = 'WEIGHT' GEO = 'GEO' TAG = 'TAG' VECTOR = 'VECTOR' SORTABLE = 'SORTABLE' NOINDEX = 'NOINDEX' AS = 'AS' GEOSHAPE = 'GEOSHAPE' INDEX_...
class Field: ''' A class representing a field in a document. ''' def __init__(self, name: str, args: List[str]=None, sortable: bool=False, no_index: bool=False, index_missing: bool=False, index_empty: bool=False, as_name: str=None): ''' Create a new field object. Args: ...
4
2
17
1
12
4
3
0.33
0
4
0
6
3
4
3
3
71
7
48
30
35
16
39
21
35
7
0
1
10
23,728
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/field.py
redis.commands.search.field.GeoField
class GeoField(Field): """ GeoField is used to define a geo-indexing field in a schema definition """ def __init__(self, name: str, **kwargs): Field.__init__(self, name, args=[Field.GEO], **kwargs)
class GeoField(Field): ''' GeoField is used to define a geo-indexing field in a schema definition ''' def __init__(self, name: str, **kwargs): pass
2
1
2
0
2
0
1
1
1
1
0
0
1
0
1
4
7
1
3
2
1
3
3
2
1
1
1
0
1
23,729
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/field.py
redis.commands.search.field.GeoShapeField
class GeoShapeField(Field): """ GeoShapeField is used to enable within/contain indexing/searching """ SPHERICAL = 'SPHERICAL' FLAT = 'FLAT' def __init__(self, name: str, coord_system=None, **kwargs): args = [Field.GEOSHAPE] if coord_system: args.append(coord_system) ...
class GeoShapeField(Field): ''' GeoShapeField is used to enable within/contain indexing/searching ''' def __init__(self, name: str, coord_system=None, **kwargs): pass
2
1
5
0
5
0
2
0.38
1
1
0
0
1
0
1
4
13
2
8
5
6
3
8
5
6
2
1
1
2
23,730
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/field.py
redis.commands.search.field.NumericField
class NumericField(Field): """ NumericField is used to define a numeric field in a schema definition """ def __init__(self, name: str, **kwargs): Field.__init__(self, name, args=[Field.NUMERIC], **kwargs)
class NumericField(Field): ''' NumericField is used to define a numeric field in a schema definition ''' def __init__(self, name: str, **kwargs): pass
2
1
2
0
2
0
1
1
1
1
0
0
1
0
1
4
7
1
3
2
1
3
3
2
1
1
1
0
1
23,731
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/field.py
redis.commands.search.field.TagField
class TagField(Field): """ TagField is a tag-indexing field with simpler compression and tokenization. See http://redisearch.io/Tags/ """ SEPARATOR = 'SEPARATOR' CASESENSITIVE = 'CASESENSITIVE' def __init__(self, name: str, separator: str=',', case_sensitive: bool=False, withsuffixtrie: boo...
class TagField(Field): ''' TagField is a tag-indexing field with simpler compression and tokenization. See http://redisearch.io/Tags/ ''' def __init__(self, name: str, separator: str=',', case_sensitive: bool=False, withsuffixtrie: bool=False, **kwargs): pass
2
1
15
1
14
0
3
0.24
1
2
0
0
1
0
1
4
24
3
17
12
8
4
10
5
8
3
1
1
3
23,732
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/field.py
redis.commands.search.field.TextField
class TextField(Field): """ TextField is used to define a text field in a schema definition """ NOSTEM = 'NOSTEM' PHONETIC = 'PHONETIC' def __init__(self, name: str, weight: float=1.0, no_stem: bool=False, phonetic_matcher: str=None, withsuffixtrie: bool=False, **kwargs): Field.__init__...
class TextField(Field): ''' TextField is used to define a text field in a schema definition ''' def __init__(self, name: str, weight: float=1.0, no_stem: bool=False, phonetic_matcher: str=None, withsuffixtrie: bool=False, **kwargs): pass
2
1
23
1
22
0
4
0.12
1
3
0
0
1
0
1
4
31
3
25
12
15
3
12
4
10
4
1
1
4
23,733
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/field.py
redis.commands.search.field.VectorField
from redis import DataError class VectorField(Field): """ Allows vector similarity queries against the value in this attribute. See https://oss.redis.com/redisearch/Vectors/#vector_fields. """ def __init__(self, name: str, algorithm: str, attributes: dict, **kwargs): """ Create Vec...
class VectorField(Field): ''' Allows vector similarity queries against the value in this attribute. See https://oss.redis.com/redisearch/Vectors/#vector_fields. ''' def __init__(self, name: str, algorithm: str, attributes: dict, **kwargs): ''' Create Vector Field. Notice that Vecto...
2
2
34
8
16
10
4
0.82
1
3
1
0
1
0
1
4
40
9
17
6
15
14
12
6
10
4
1
1
4
23,734
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/index_definition.py
redis.commands.search.index_definition.IndexDefinition
class IndexDefinition: """IndexDefinition is used to define a index definition for automatic indexing on Hash or Json update.""" def __init__(self, prefix=[], filter=None, language_field=None, language=None, score_field=None, score=1.0, payload_field=None, index_type=None): self.args = [] s...
class IndexDefinition: '''IndexDefinition is used to define a index definition for automatic indexing on Hash or Json update.''' def __init__(self, prefix=[], filter=None, language_field=None, language=None, score_field=None, score=1.0, payload_field=None, index_type=None): pass def _appen...
8
7
8
0
8
1
3
0.15
0
3
1
0
7
1
7
7
69
7
54
20
36
8
42
10
34
4
0
2
18
23,735
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/index_definition.py
redis.commands.search.index_definition.IndexType
from enum import Enum class IndexType(Enum): """Enum of the currently supported index types.""" HASH = 1 JSON = 2
class IndexType(Enum): '''Enum of the currently supported index types.''' pass
1
1
0
0
0
0
0
0.33
1
0
0
0
0
0
0
49
5
1
3
3
2
1
3
3
2
0
4
0
0
23,736
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/profile_information.py
redis.commands.search.profile_information.ProfileInformation
from typing import Any class ProfileInformation: """ Wrapper around FT.PROFILE response """ def __init__(self, info: Any) -> None: self._info: Any = info @property def info(self) -> Any: return self._info
class ProfileInformation: ''' Wrapper around FT.PROFILE response ''' def __init__(self, info: Any) -> None: pass @property def info(self) -> Any: pass
4
1
2
0
2
0
1
0.5
0
1
0
0
2
1
2
2
11
2
6
5
2
3
5
4
2
1
0
0
2
23,737
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/query.py
redis.commands.search.query.Filter
from typing import List, Optional, Union class Filter: def __init__(self, keyword: str, field: str, *args: List[str]) -> None: self.args = [keyword, field] + list(args)
class Filter: def __init__(self, keyword: str, field: str, *args: List[str]) -> None: pass
2
0
2
0
2
0
1
0
0
2
0
2
1
1
1
1
3
0
3
3
1
0
3
3
1
1
0
0
1
23,738
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/query.py
redis.commands.search.query.GeoFilter
class GeoFilter(Filter): METERS = 'm' KILOMETERS = 'km' FEET = 'ft' MILES = 'mi' def __init__(self, field: str, lon: float, lat: float, radius: float, unit: str=KILOMETERS) -> None: Filter.__init__(self, 'GEOFILTER', field, lon, lat, radius, unit)
class GeoFilter(Filter): def __init__(self, field: str, lon: float, lat: float, radius: float, unit: str=KILOMETERS) -> None: pass
2
0
4
0
4
0
1
0
1
2
0
0
1
0
1
2
10
1
9
8
5
0
7
6
5
1
1
0
1
23,739
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/query.py
redis.commands.search.query.NumericFilter
from typing import List, Optional, Union class NumericFilter(Filter): INF = '+inf' NEG_INF = '-inf' def __init__(self, field: str, minval: Union[int, str], maxval: Union[int, str], minExclusive: bool=False, maxExclusive: bool=False) -> None: args = [minval if not minExclusive else f'({minval}', ma...
class NumericFilter(Filter): def __init__(self, field: str, minval: Union[int, str], maxval: Union[int, str], minExclusive: bool=False, maxExclusive: bool=False) -> None: pass
2
0
14
1
13
0
3
0
1
3
0
0
1
0
1
2
18
2
16
12
7
0
6
5
4
3
1
0
3
23,740
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/query.py
redis.commands.search.query.Query
from typing import List, Optional, Union from redis.commands.search.dialect import DEFAULT_DIALECT class Query: """ Query is used to build complex queries that have more parameters than just the query string. The query string is set in the constructor, and other options have setter functions. The ...
class Query: ''' Query is used to build complex queries that have more parameters than just the query string. The query string is set in the constructor, and other options have setter functions. The setter functions return the query object so they can be chained. i.e. `Query("foo").verbatim().f...
27
25
12
1
7
4
2
0.56
0
9
2
0
26
23
26
26
334
47
184
70
143
103
170
56
143
21
0
3
57
23,741
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/query.py
redis.commands.search.query.SortbyField
class SortbyField: def __init__(self, field: str, asc=True) -> None: self.args = [field, 'ASC' if asc else 'DESC']
class SortbyField: def __init__(self, field: str, asc=True) -> None: pass
2
0
2
0
2
0
2
0
0
1
0
0
1
1
1
1
3
0
3
3
1
0
3
3
1
2
0
0
2
23,742
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/querystring.py
redis.commands.search.querystring.BaseNode
class BaseNode(Node): def __init__(self, s): super().__init__() self.s = str(s) def to_string(self, with_parens=None): return self.s
class BaseNode(Node): def __init__(self, s): pass def to_string(self, with_parens=None): pass
3
0
3
0
3
0
1
0
1
2
0
0
2
1
2
9
7
1
6
4
3
0
6
4
3
1
1
0
2
23,743
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/querystring.py
redis.commands.search.querystring.DisjunctNode
class DisjunctNode(IntersectNode): """ Create a disjunct node. In order for this node to be true, all of its children must evaluate to false """ def to_string(self, with_parens=None): with_parens = self._should_use_paren(with_parens) ret = super().to_string(with_parens=False) ...
class DisjunctNode(IntersectNode): ''' Create a disjunct node. In order for this node to be true, all of its children must evaluate to false ''' def to_string(self, with_parens=None): pass
2
1
7
0
7
0
2
0.5
1
1
0
1
1
0
1
8
13
1
8
3
6
4
7
3
5
2
2
1
2
23,744
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/querystring.py
redis.commands.search.querystring.GeoValue
class GeoValue(Value): def __init__(self, lon, lat, radius, unit='km'): self.lon = lon self.lat = lat self.radius = radius self.unit = unit def to_string(self): return f'[{self.lon} {self.lat} {self.radius} {self.unit}]'
class GeoValue(Value): def __init__(self, lon, lat, radius, unit='km'): pass def to_string(self): pass
3
0
4
0
4
0
1
0
1
0
0
0
2
4
2
6
9
1
8
7
5
0
8
7
5
1
1
0
2
23,745
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/querystring.py
redis.commands.search.querystring.Node
class Node: def __init__(self, *children, **kwparams): """ Create a node ### Parameters - **children**: One or more sub-conditions. These can be additional `intersect`, `disjunct`, `union`, `optional`, or any other `Node` type. The semantics of...
class Node: def __init__(self, *children, **kwparams): ''' Create a node ### Parameters - **children**: One or more sub-conditions. These can be additional `intersect`, `disjunct`, `union`, `optional`, or any other `Node` type. The semantics of mu...
10
1
12
2
5
4
2
0.75
0
6
2
3
6
1
7
7
91
22
40
16
30
30
36
14
28
5
0
2
16
23,746
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/querystring.py
redis.commands.search.querystring.OptionalNode
class OptionalNode(IntersectNode): """ Create an optional node. If this nodes evaluates to true, then the document will be rated higher in score/rank. """ def to_string(self, with_parens=None): with_parens = self._should_use_paren(with_parens) ret = super().to_string(with_parens=Fal...
class OptionalNode(IntersectNode): ''' Create an optional node. If this nodes evaluates to true, then the document will be rated higher in score/rank. ''' def to_string(self, with_parens=None): pass
2
1
7
0
7
0
2
0.5
1
1
0
0
1
0
1
8
13
1
8
3
6
4
7
3
5
2
2
1
2
23,747
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/querystring.py
redis.commands.search.querystring.Value
class Value: @property def combinable(self): """ Whether this type of value may be combined with other values for the same field. This makes the filter potentially more efficient """ return False @staticmethod def make_value(v): """ Convert an ob...
class Value: @property def combinable(self): ''' Whether this type of value may be combined with other values for the same field. This makes the filter potentially more efficient ''' pass @staticmethod def make_value(v): ''' Convert an object to a...
7
2
4
0
3
2
1
0.54
0
2
1
4
3
0
4
4
23
3
13
7
6
7
11
5
6
2
0
1
5
23,748
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/reducers.py
redis.commands.search.reducers.FieldOnlyReducer
from .aggregation import Asc, Desc, Reducer, SortDirection class FieldOnlyReducer(Reducer): """See https://redis.io/docs/interact/search-and-query/search/aggregations/""" def __init__(self, field: str) -> None: super().__init__(field) self._field = field
class FieldOnlyReducer(Reducer): '''See https://redis.io/docs/interact/search-and-query/search/aggregations/''' def __init__(self, field: str) -> None: pass
2
1
3
0
3
0
1
0.25
1
2
0
8
1
1
1
4
6
1
4
3
2
1
4
3
2
1
1
0
1
23,749
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/reducers.py
redis.commands.search.reducers.avg
class avg(FieldOnlyReducer): """ Calculates the mean value in the given field within the group """ NAME = 'AVG' def __init__(self, field: str) -> None: super().__init__(field)
class avg(FieldOnlyReducer): ''' Calculates the mean value in the given field within the group ''' def __init__(self, field: str) -> None: pass
2
1
2
0
2
0
1
0.75
1
2
0
0
1
0
1
5
9
2
4
3
2
3
4
3
2
1
2
0
1
23,750
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/reducers.py
redis.commands.search.reducers.count
from .aggregation import Asc, Desc, Reducer, SortDirection class count(Reducer): """ Counts the number of results in the group """ NAME = 'COUNT' def __init__(self) -> None: super().__init__()
class count(Reducer): ''' Counts the number of results in the group ''' def __init__(self) -> None: pass
2
1
2
0
2
0
1
0.75
1
1
0
0
1
0
1
4
9
2
4
3
2
3
4
3
2
1
1
0
1
23,751
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/reducers.py
redis.commands.search.reducers.count_distinct
class count_distinct(FieldOnlyReducer): """ Calculate the number of distinct values contained in all the results in the group for the given field """ NAME = 'COUNT_DISTINCT' def __init__(self, field: str) -> None: super().__init__(field)
class count_distinct(FieldOnlyReducer): ''' Calculate the number of distinct values contained in all the results in the group for the given field ''' def __init__(self, field: str) -> None: pass
2
1
2
0
2
0
1
1
1
2
0
0
1
0
1
5
10
2
4
3
2
4
4
3
2
1
2
0
1
23,752
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/reducers.py
redis.commands.search.reducers.first_value
from typing import Union from .aggregation import Asc, Desc, Reducer, SortDirection class first_value(Reducer): """ Selects the first value within the group according to sorting parameters """ NAME = 'FIRST_VALUE' def __init__(self, field: str, *byfields: Union[Asc, Desc]) -> None: """ ...
class first_value(Reducer): ''' Selects the first value within the group according to sorting parameters ''' def __init__(self, field: str, *byfields: Union[Asc, Desc]) -> None: ''' Selects the first value of the given field within the group. ### Parameter - **field**: ...
2
2
31
6
15
10
4
0.76
1
6
3
0
1
1
1
4
38
8
17
7
15
13
13
7
11
4
1
1
4
23,753
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/reducers.py
redis.commands.search.reducers.max
class max(FieldOnlyReducer): """ Calculates the largest value in the given field within the group """ NAME = 'MAX' def __init__(self, field: str) -> None: super().__init__(field)
class max(FieldOnlyReducer): ''' Calculates the largest value in the given field within the group ''' def __init__(self, field: str) -> None: pass
2
1
2
0
2
0
1
0.75
1
2
0
0
1
0
1
5
9
2
4
3
2
3
4
3
2
1
2
0
1
23,754
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/reducers.py
redis.commands.search.reducers.min
class min(FieldOnlyReducer): """ Calculates the smallest value in the given field within the group """ NAME = 'MIN' def __init__(self, field: str) -> None: super().__init__(field)
class min(FieldOnlyReducer): ''' Calculates the smallest value in the given field within the group ''' def __init__(self, field: str) -> None: pass
2
1
2
0
2
0
1
0.75
1
2
0
0
1
0
1
5
9
2
4
3
2
3
4
3
2
1
2
0
1
23,755
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/reducers.py
redis.commands.search.reducers.quantile
from .aggregation import Asc, Desc, Reducer, SortDirection class quantile(Reducer): """ Return the value for the nth percentile within the range of values for the field within the group. """ NAME = 'QUANTILE' def __init__(self, field: str, pct: float) -> None: super().__init__(field, s...
class quantile(Reducer): ''' Return the value for the nth percentile within the range of values for the field within the group. ''' def __init__(self, field: str, pct: float) -> None: pass
2
1
3
0
3
0
1
0.8
1
3
0
0
1
1
1
4
11
2
5
4
3
4
5
4
3
1
1
0
1
23,756
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/reducers.py
redis.commands.search.reducers.random_sample
from .aggregation import Asc, Desc, Reducer, SortDirection class random_sample(Reducer): """ Returns a random sample of items from the dataset, from the given property """ NAME = 'RANDOM_SAMPLE' def __init__(self, field: str, size: int) -> None: """ ### Parameter **field**...
class random_sample(Reducer): ''' Returns a random sample of items from the dataset, from the given property ''' def __init__(self, field: str, size: int) -> None: ''' ### Parameter **field**: Field to sample from **size**: Return this many items (can be less) '...
2
2
10
1
4
5
1
1.33
1
3
0
0
1
1
1
4
17
3
6
5
4
8
6
5
4
1
1
0
1
23,757
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/reducers.py
redis.commands.search.reducers.stddev
class stddev(FieldOnlyReducer): """ Return the standard deviation for the values within the group """ NAME = 'STDDEV' def __init__(self, field: str) -> None: super().__init__(field)
class stddev(FieldOnlyReducer): ''' Return the standard deviation for the values within the group ''' def __init__(self, field: str) -> None: pass
2
1
2
0
2
0
1
0.75
1
2
0
0
1
0
1
5
9
2
4
3
2
3
4
3
2
1
2
0
1
23,758
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/reducers.py
redis.commands.search.reducers.sum
class sum(FieldOnlyReducer): """ Calculates the sum of all the values in the given fields within the group """ NAME = 'SUM' def __init__(self, field: str) -> None: super().__init__(field)
class sum(FieldOnlyReducer): ''' Calculates the sum of all the values in the given fields within the group ''' def __init__(self, field: str) -> None: pass
2
1
2
0
2
0
1
0.75
1
2
0
0
1
0
1
5
9
2
4
3
2
3
4
3
2
1
2
0
1
23,759
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/reducers.py
redis.commands.search.reducers.tolist
class tolist(FieldOnlyReducer): """ Returns all the matched properties in a list """ NAME = 'TOLIST' def __init__(self, field: str) -> None: super().__init__(field)
class tolist(FieldOnlyReducer): ''' Returns all the matched properties in a list ''' def __init__(self, field: str) -> None: pass
2
1
2
0
2
0
1
0.75
1
2
0
0
1
0
1
5
9
2
4
3
2
3
4
3
2
1
2
0
1
23,760
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/result.py
redis.commands.search.result.Result
from ._util import to_string from typing import Optional from .document import Document class Result: """ Represents the result of a search query, and has an array of Document objects """ def __init__(self, res, hascontent, duration=0, has_payload=False, with_scores=False, field_encodings: Optiona...
class Result: ''' Represents the result of a search query, and has an array of Document objects ''' def __init__(self, res, hascontent, duration=0, has_payload=False, with_scores=False, field_encodings: Optional[dict]=None): ''' - duration: the execution time of the query -...
3
2
37
6
28
4
9
0.21
0
8
1
0
2
3
2
2
81
13
56
26
45
12
43
18
40
16
0
4
17
23,761
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/suggestion.py
redis.commands.search.suggestion.Suggestion
from typing import Optional from ._util import to_string class Suggestion: """ Represents a single suggestion being sent or returned from the autocomplete server """ def __init__(self, string: str, score: float=1.0, payload: Optional[str]=None) -> None: self.string = to_string(string) ...
class Suggestion: ''' Represents a single suggestion being sent or returned from the autocomplete server ''' def __init__(self, string: str, score: float=1.0, payload: Optional[str]=None) -> None: pass def __repr__(self) -> str: pass
3
1
4
0
4
0
1
0.44
0
2
0
0
2
3
2
2
15
2
9
8
4
4
7
6
4
1
0
0
2
23,762
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/search/suggestion.py
redis.commands.search.suggestion.SuggestionParser
class SuggestionParser: """ Internal class used to parse results from the `SUGGET` command. This needs to consume either 1, 2, or 3 values at a time from the return value depending on what objects were requested """ def __init__(self, with_scores: bool, with_payloads: bool, ret) -> None: ...
class SuggestionParser: ''' Internal class used to parse results from the `SUGGET` command. This needs to consume either 1, 2, or 3 values at a time from the return value depending on what objects were requested ''' def __init__(self, with_scores: bool, with_payloads: bool, ret) -> None: ...
3
1
13
1
12
0
4
0.21
0
4
1
0
2
6
2
2
33
4
24
13
21
5
21
13
18
4
0
1
8
23,763
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/sentinel.py
redis.commands.sentinel.AsyncSentinelCommands
class AsyncSentinelCommands(SentinelCommands): async def sentinel(self, *args) -> None: """Redis Sentinel's SENTINEL command.""" super().sentinel(*args)
class AsyncSentinelCommands(SentinelCommands): async def sentinel(self, *args) -> None: '''Redis Sentinel's SENTINEL command.''' pass
2
1
3
0
2
1
1
0.33
1
1
0
2
1
0
1
14
4
0
3
2
1
1
3
2
1
1
1
0
1
23,764
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/sentinel.py
redis.commands.sentinel.SentinelCommands
import warnings class SentinelCommands: """ A class containing the commands specific to redis sentinel. This class is to be used as a mixin. """ def sentinel(self, *args): """Redis Sentinel's SENTINEL command.""" warnings.warn(DeprecationWarning('Use the individual sentinel_* metho...
class SentinelCommands: ''' A class containing the commands specific to redis sentinel. This class is to be used as a mixin. ''' def sentinel(self, *args): '''Redis Sentinel's SENTINEL command.''' pass def sentinel_get_master_addr_by_name(self, service_name, return_responses=F...
14
14
6
0
2
3
1
1.7
0
1
0
3
13
0
13
13
90
17
27
14
13
46
27
14
13
1
0
0
13
23,765
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/timeseries/__init__.py
redis.commands.timeseries.ClusterPipeline
import redis from .commands import ALTER_CMD, CREATE_CMD, CREATERULE_CMD, DEL_CMD, DELETERULE_CMD, GET_CMD, INFO_CMD, MGET_CMD, MRANGE_CMD, MREVRANGE_CMD, QUERYINDEX_CMD, RANGE_CMD, REVRANGE_CMD, TimeSeriesCommands class ClusterPipeline(TimeSeriesCommands, redis.cluster.ClusterPipeline): """Cluster pipeline for th...
class ClusterPipeline(TimeSeriesCommands, redis.cluster.ClusterPipeline): '''Cluster pipeline for the module.''' pass
1
1
0
0
0
0
0
1
2
0
0
0
0
0
0
37
2
0
1
1
0
1
1
1
0
0
1
0
0
23,766
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/timeseries/__init__.py
redis.commands.timeseries.Pipeline
from .commands import ALTER_CMD, CREATE_CMD, CREATERULE_CMD, DEL_CMD, DELETERULE_CMD, GET_CMD, INFO_CMD, MGET_CMD, MRANGE_CMD, MREVRANGE_CMD, QUERYINDEX_CMD, RANGE_CMD, REVRANGE_CMD, TimeSeriesCommands import redis class Pipeline(TimeSeriesCommands, redis.client.Pipeline): """Pipeline for the module."""
class Pipeline(TimeSeriesCommands, redis.client.Pipeline): '''Pipeline for the module.''' pass
1
1
0
0
0
0
0
1
2
0
0
0
0
0
0
37
2
0
1
1
0
1
1
1
0
0
1
0
0
23,767
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/timeseries/__init__.py
redis.commands.timeseries.TimeSeries
from .info import TSInfo import redis from redis._parsers.helpers import bool_ok from ..helpers import get_protocol_version, parse_to_list from .utils import parse_get, parse_m_get, parse_m_range, parse_range from .commands import ALTER_CMD, CREATE_CMD, CREATERULE_CMD, DEL_CMD, DELETERULE_CMD, GET_CMD, INFO_CMD, MGET_C...
class TimeSeries(TimeSeriesCommands): ''' This class subclasses redis-py's `Redis` and implements RedisTimeSeries's commands (prefixed with "ts"). The client allows to interact with RedisTimeSeries and use all of it's functionality. ''' def __init__(self, client=None, **kwargs): ''...
3
3
34
4
24
6
3
0.35
1
5
4
0
2
3
2
39
76
10
49
10
46
17
17
10
14
3
1
1
5
23,768
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/timeseries/commands.py
redis.commands.timeseries.commands.TimeSeriesCommands
from typing import Dict, List, Optional, Tuple, Union from redis.exceptions import DataError from redis.typing import KeyT, Number class TimeSeriesCommands: """RedisTimeSeries Commands.""" def create(self, key: KeyT, retention_msecs: Optional[int]=None, uncompressed: Optional[bool]=False, labels: Optional[Dic...
class TimeSeriesCommands: '''RedisTimeSeries Commands.''' def create(self, key: KeyT, retention_msecs: Optional[int]=None, uncompressed: Optional[bool]=False, labels: Optional[Dict[str, str]]=None, chunk_size: Optional[int]=None, duplicate_policy: Optional[str]=None, ignore_max_time_diff: Optional[int]=None, ...
56
38
29
2
12
15
2
1.19
0
5
1
3
19
0
37
37
1,112
100
463
260
220
549
178
55
140
4
0
2
61
23,769
andymccurdy/redis-py
andymccurdy_redis-py/redis/commands/timeseries/info.py
redis.commands.timeseries.info.TSInfo
from ..helpers import nativestr from .utils import list_to_dict class TSInfo: """ Hold information and statistics on the time-series. Can be created using ``tsinfo`` command https://redis.io/docs/latest/commands/ts.info/ """ rules = [] labels = [] sourceKey = None chunk_count = None...
class TSInfo: ''' Hold information and statistics on the time-series. Can be created using ``tsinfo`` command https://redis.io/docs/latest/commands/ts.info/ ''' def __init__(self, args): ''' Hold information and statistics on the time-series. The supported params that c...
4
2
21
1
10
11
3
0.9
0
5
0
0
3
3
3
3
87
8
42
20
38
38
40
20
36
5
0
2
8
23,770
andymccurdy/redis-py
andymccurdy_redis-py/redis/connection.py
redis.connection.AbstractConnection
from .retry import Retry import copy import time from .backoff import NoBackoff from .auth.token import TokenInterface from .exceptions import AuthenticationError, AuthenticationWrongNumberOfArgsError, ChildDeadlockedError, ConnectionError, DataError, MaxConnectionsError, RedisError, ResponseError, TimeoutError from .m...
class AbstractConnection(ConnectionInterface): '''Manages communication to and from a Redis server''' def __init__(self, db: int=0, password: Optional[str]=None, socket_timeout: Optional[float]=None, socket_connect_timeout: Optional[float]=None, retry_on_timeout: bool=False, retry_on_error: Union[Iterable[Typ...
50
20
16
1
12
3
4
0.21
1
28
13
2
28
27
28
46
478
51
353
118
289
75
277
79
248
19
1
4
100
23,771
andymccurdy/redis-py
andymccurdy_redis-py/redis/connection.py
redis.connection.BlockingConnectionPool
import os from typing import Any, Callable, Dict, Iterable, List, Literal, Optional, Type, TypeVar, Union from queue import Empty, Full, LifoQueue from .exceptions import AuthenticationError, AuthenticationWrongNumberOfArgsError, ChildDeadlockedError, ConnectionError, DataError, MaxConnectionsError, RedisError, Respons...
class BlockingConnectionPool(ConnectionPool): ''' Thread-safe blocking connection pool:: >>> from redis.client import Redis >>> client = Redis(connection_pool=BlockingConnectionPool()) It performs the same function as the default :py:class:`~redis.ConnectionPool` implementation, in that...
14
10
21
1
12
8
3
0.99
1
8
2
0
6
5
6
22
163
22
71
22
57
70
57
15
50
7
1
3
18
23,772
andymccurdy/redis-py
andymccurdy_redis-py/redis/connection.py
redis.connection.CacheProxyConnection
from .exceptions import AuthenticationError, AuthenticationWrongNumberOfArgsError, ChildDeadlockedError, ConnectionError, DataError, MaxConnectionsError, RedisError, ResponseError, TimeoutError from redis.cache import CacheEntry, CacheEntryStatus, CacheFactory, CacheFactoryInterface, CacheInterface, CacheKey from .util...
class CacheProxyConnection(ConnectionInterface): def __init__(self, conn: ConnectionInterface, cache: CacheInterface, pool_lock: threading.RLock): pass def repr_pieces(self): pass def register_connect_callback(self, callback): pass def deregister_connect_callback(self, callb...
26
0
8
1
6
1
2
0.12
1
10
5
0
24
11
24
42
212
41
153
53
120
19
119
45
94
6
1
5
39
23,773
andymccurdy/redis-py
andymccurdy_redis-py/redis/connection.py
redis.connection.Connection
import socket class Connection(AbstractConnection): """Manages TCP communication to and from a Redis server""" def __init__(self, host='localhost', port=6379, socket_keepalive=False, socket_keepalive_options=None, socket_type=0, **kwargs): self.host = host self.port = int(port) self.so...
class Connection(AbstractConnection): '''Manages TCP communication to and from a Redis server''' def __init__(self, host='localhost', port=6379, socket_keepalive=False, socket_keepalive_options=None, socket_type=0, **kwargs): pass def repr_pieces(self): pass def _connect(self): ...
5
2
16
2
12
2
3
0.21
1
4
0
4
4
5
4
50
68
10
48
25
35
10
38
16
33
7
2
4
11
23,774
andymccurdy/redis-py
andymccurdy_redis-py/redis/connection.py
redis.connection.ConnectionInterface
from .maintenance_events import MaintenanceEventConnectionHandler, MaintenanceEventPoolHandler, MaintenanceEventsConfig, MaintenanceState from abc import abstractmethod from .auth.token import TokenInterface from typing import Any, Callable, Dict, Iterable, List, Literal, Optional, Type, TypeVar, Union class Connectio...
class ConnectionInterface: @abstractmethod def repr_pieces(self): pass @abstractmethod def register_connect_callback(self, callback): pass @abstractmethod def deregister_connect_callback(self, callback): pass @abstractmethod def set_parser(self, parser_class): ...
60
9
2
0
2
0
1
0
0
3
1
2
18
0
18
18
79
17
62
43
18
0
37
19
18
1
0
0
18
23,775
andymccurdy/redis-py
andymccurdy_redis-py/redis/connection.py
redis.connection.ConnectionPool
from typing import Any, Callable, Dict, Iterable, List, Literal, Optional, Type, TypeVar, Union from .retry import Retry import threading from .auth.token import TokenInterface from .exceptions import AuthenticationError, AuthenticationWrongNumberOfArgsError, ChildDeadlockedError, ConnectionError, DataError, MaxConnect...
null
29
19
19
2
10
7
3
0.79
0
22
10
4
15
12
16
16
330
45
159
45
135
126
125
38
108
8
0
3
42
23,776
andymccurdy/redis-py
andymccurdy_redis-py/redis/connection.py
redis.connection.HiredisRespSerializer
from .exceptions import AuthenticationError, AuthenticationWrongNumberOfArgsError, ChildDeadlockedError, ConnectionError, DataError, MaxConnectionsError, RedisError, ResponseError, TimeoutError import sys from typing import Any, Callable, Dict, Iterable, List, Literal, Optional, Type, TypeVar, Union class HiredisRespS...
class HiredisRespSerializer: def pack(self, *args: List): '''Pack a series of arguments into the Redis protocol''' pass
2
1
15
2
12
1
4
0.08
0
4
1
0
1
0
1
1
16
2
13
4
11
1
12
4
10
4
0
1
4
23,777
andymccurdy/redis-py
andymccurdy_redis-py/redis/connection.py
redis.connection.PythonRespSerializer
class PythonRespSerializer: def __init__(self, buffer_cutoff, encode) -> None: self._buffer_cutoff = buffer_cutoff self.encode = encode def pack(self, *args): """Pack a series of arguments into the Redis protocol""" output = [] if isinstance(args[0], str): a...
class PythonRespSerializer: def __init__(self, buffer_cutoff, encode) -> None: pass def pack(self, *args): '''Pack a series of arguments into the Redis protocol''' pass
3
1
24
1
19
4
3
0.21
0
4
0
0
2
2
2
2
49
3
38
10
35
8
21
10
18
5
0
2
6
23,778
andymccurdy/redis-py
andymccurdy_redis-py/redis/connection.py
redis.connection.SSLConnection
import socket from .exceptions import AuthenticationError, AuthenticationWrongNumberOfArgsError, ChildDeadlockedError, ConnectionError, DataError, MaxConnectionsError, RedisError, ResponseError, TimeoutError from .utils import CRYPTOGRAPHY_AVAILABLE, HIREDIS_AVAILABLE, SSL_AVAILABLE, compare_versions, deprecated_args, ...
class SSLConnection(Connection): '''Manages SSL connections to and from the Redis server(s). This class extends the Connection class, adding SSL functionality, and making use of ssl.SSLContext (https://docs.python.org/3/library/ssl.html#ssl.SSLContext) ''' def __init__(self, ssl_keyfile=None, ssl_...
4
4
53
5
37
11
6
0.33
1
7
2
2
3
14
3
53
167
18
112
45
88
37
71
28
64
11
3
2
18
23,779
andymccurdy/redis-py
andymccurdy_redis-py/redis/connection.py
redis.connection.UnixDomainSocketConnection
import socket class UnixDomainSocketConnection(AbstractConnection): """Manages UDS communication to and from a Redis server""" def __init__(self, path='', socket_timeout=None, **kwargs): super().__init__(**kwargs) self.path = path self.socket_timeout = socket_timeout def repr_piec...
class UnixDomainSocketConnection(AbstractConnection): '''Manages UDS communication to and from a Redis server''' def __init__(self, path='', socket_timeout=None, **kwargs): pass def repr_pieces(self): pass def _connect(self): '''Create a Unix domain socket connection''' ...
5
2
6
0
5
1
2
0.14
1
3
0
1
4
2
4
50
29
4
22
9
17
3
22
9
17
2
2
1
6
23,780
andymccurdy/redis-py
andymccurdy_redis-py/redis/credentials.py
redis.credentials.CredentialProvider
from typing import Any, Callable, Optional, Tuple, Union class CredentialProvider: """ Credentials Provider. """ def get_credentials(self) -> Union[Tuple[str], Tuple[str, str]]: raise NotImplementedError('get_credentials must be implemented') async def get_credentials_async(self) -> Union...
class CredentialProvider: ''' Credentials Provider. ''' def get_credentials(self) -> Union[Tuple[str], Tuple[str, str]]: pass async def get_credentials_async(self) -> Union[Tuple[str], Tuple[str, str]]: pass
3
1
4
0
4
0
1
0.33
0
2
0
6
2
0
2
2
14
2
9
3
6
3
6
3
3
1
0
0
2
23,781
andymccurdy/redis-py
andymccurdy_redis-py/redis/credentials.py
redis.credentials.StreamingCredentialProvider
from typing import Any, Callable, Optional, Tuple, Union from abc import ABC, abstractmethod class StreamingCredentialProvider(CredentialProvider, ABC): """ Credential provider that streams credentials in the background. """ @abstractmethod def on_next(self, callback: Callable[[Any], None]): ...
class StreamingCredentialProvider(CredentialProvider, ABC): ''' Credential provider that streams credentials in the background. ''' @abstractmethod def on_next(self, callback: Callable[[Any], None]): ''' Specifies the callback that should be invoked when the next credentials...
7
2
4
0
2
2
1
0.9
2
3
0
0
3
0
3
25
23
4
10
7
3
9
7
4
3
1
4
0
3
23,782
andymccurdy/redis-py
andymccurdy_redis-py/redis/credentials.py
redis.credentials.UsernamePasswordCredentialProvider
from typing import Any, Callable, Optional, Tuple, Union class UsernamePasswordCredentialProvider(CredentialProvider): """ Simple implementation of CredentialProvider that just wraps static username and password. """ def __init__(self, username: Optional[str]=None, password: Optional[str]=None): ...
null
4
1
3
0
3
0
1
0.4
1
1
0
0
3
2
3
5
17
3
10
6
6
4
10
6
6
2
1
1
4
23,783
andymccurdy/redis-py
andymccurdy_redis-py/redis/event.py
redis.event.AfterAsyncClusterInstantiationEvent
from redis.credentials import CredentialProvider, StreamingCredentialProvider from typing import List, Optional, Union class AfterAsyncClusterInstantiationEvent: """ Event that will be fired after async cluster instance was created. Async cluster doesn't use connection pools, instead ClusterNode objec...
class AfterAsyncClusterInstantiationEvent: ''' Event that will be fired after async cluster instance was created. Async cluster doesn't use connection pools, instead ClusterNode object manages connections. ''' def __init__(self, nodes: dict, credential_provider: Optional[CredentialProvider]=No...
6
1
4
0
4
0
1
0.36
0
2
1
0
3
2
3
3
23
4
14
12
4
5
8
6
4
1
0
0
3
23,784
andymccurdy/redis-py
andymccurdy_redis-py/redis/event.py
redis.event.AfterConnectionReleasedEvent
class AfterConnectionReleasedEvent: """ Event that will be fired before each command execution. """ def __init__(self, connection): self._connection = connection @property def connection(self): return self._connection
class AfterConnectionReleasedEvent: ''' Event that will be fired before each command execution. ''' def __init__(self, connection): pass @property def connection(self): pass
4
1
2
0
2
0
1
0.5
0
0
0
1
2
1
2
2
11
2
6
5
2
3
5
4
2
1
0
0
2
23,785
andymccurdy/redis-py
andymccurdy_redis-py/redis/event.py
redis.event.AfterPooledConnectionsInstantiationEvent
from typing import List, Optional, Union from redis.credentials import CredentialProvider, StreamingCredentialProvider class AfterPooledConnectionsInstantiationEvent: """ Event that will be fired after pooled connection instances was created. """ def __init__(self, connection_pools: List, client_type:...
class AfterPooledConnectionsInstantiationEvent: ''' Event that will be fired after pooled connection instances was created. ''' def __init__(self, connection_pools: List, client_type: ClientType, credential_provider: Optional[CredentialProvider]=None): pass @property def connection_poo...
8
1
4
0
4
0
1
0.16
0
2
2
0
4
3
4
4
26
4
19
16
6
3
11
8
6
1
0
0
4
23,786
andymccurdy/redis-py
andymccurdy_redis-py/redis/event.py
redis.event.AfterPubSubConnectionInstantiationEvent
import threading from typing import List, Optional, Union import asyncio class AfterPubSubConnectionInstantiationEvent: def __init__(self, pubsub_connection, connection_pool, client_type: ClientType, connection_lock: Union[threading.RLock, asyncio.Lock]): self._pubsub_connection = pubsub_connection ...
class AfterPubSubConnectionInstantiationEvent: def __init__(self, pubsub_connection, connection_pool, client_type: ClientType, connection_lock: Union[threading.RLock, asyncio.Lock]): pass @property def pubsub_connection(self): pass @property def connection_pool(self): pass ...
10
0
4
0
4
0
1
0
0
1
1
0
5
4
5
5
28
4
24
20
8
0
14
10
8
1
0
0
5
23,787
andymccurdy/redis-py
andymccurdy_redis-py/redis/event.py
redis.event.AfterSingleConnectionInstantiationEvent
import asyncio import threading from typing import List, Optional, Union class AfterSingleConnectionInstantiationEvent: """ Event that will be fired after single connection instances was created. :param connection_lock: For sync client thread-lock should be provided, for async asyncio.Lock """ ...
class AfterSingleConnectionInstantiationEvent: ''' Event that will be fired after single connection instances was created. :param connection_lock: For sync client thread-lock should be provided, for async asyncio.Lock ''' def __init__(self, connection, client_type: ClientType, connection_lock:...
8
1
4
0
4
0
1
0.26
0
1
1
0
4
3
4
4
29
5
19
16
6
5
11
8
6
1
0
0
4
23,788
andymccurdy/redis-py
andymccurdy_redis-py/redis/event.py
redis.event.AsyncAfterConnectionReleasedEvent
class AsyncAfterConnectionReleasedEvent(AfterConnectionReleasedEvent): pass
class AsyncAfterConnectionReleasedEvent(AfterConnectionReleasedEvent): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
2
2
0
2
1
1
0
2
1
1
0
1
0
0
23,789
andymccurdy/redis-py
andymccurdy_redis-py/redis/event.py
redis.event.AsyncEventListenerInterface
from abc import ABC, abstractmethod class AsyncEventListenerInterface(ABC): """ Represents an async listener for given event object. """ @abstractmethod async def listen(self, event: object): pass
class AsyncEventListenerInterface(ABC): ''' Represents an async listener for given event object. ''' @abstractmethod async def listen(self, event: object): pass
3
1
2
0
2
0
1
0.75
1
0
0
1
1
0
1
21
8
1
4
3
1
3
3
2
1
1
4
0
1
23,790
andymccurdy/redis-py
andymccurdy_redis-py/redis/event.py
redis.event.AsyncReAuthConnectionListener
class AsyncReAuthConnectionListener(AsyncEventListenerInterface): """ Async listener that performs re-authentication of given connection. """ async def listen(self, event: AsyncAfterConnectionReleasedEvent): await event.connection.re_auth()
class AsyncReAuthConnectionListener(AsyncEventListenerInterface): ''' Async listener that performs re-authentication of given connection. ''' async def listen(self, event: AsyncAfterConnectionReleasedEvent): pass
2
1
2
0
2
0
1
1
1
1
1
0
1
0
1
22
7
1
3
2
1
3
3
2
1
1
5
0
1
23,791
andymccurdy/redis-py
andymccurdy_redis-py/redis/event.py
redis.event.ClientType
from enum import Enum class ClientType(Enum): SYNC = ('sync',) ASYNC = ('async',)
class ClientType(Enum): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
49
3
0
3
3
2
0
3
3
2
0
4
0
0
23,792
andymccurdy/redis-py
andymccurdy_redis-py/redis/event.py
redis.event.EventDispatcher
class EventDispatcher(EventDispatcherInterface): def __init__(self): """ Mapping should be extended for any new events or listeners to be added. """ self._event_listeners_mapping = {AfterConnectionReleasedEvent: [ReAuthConnectionListener()], AfterPooledConnectionsInstantiationEvent:...
class EventDispatcher(EventDispatcherInterface): def __init__(self): ''' Mapping should be extended for any new events or listeners to be added. ''' pass def dispatch(self, event: object): pass async def dispatch_async(self, event: object): pass
4
1
10
1
8
1
2
0.15
1
12
12
0
3
1
3
25
34
4
26
9
22
4
11
9
7
2
5
1
5
23,793
andymccurdy/redis-py
andymccurdy_redis-py/redis/event.py
redis.event.EventDispatcherInterface
from abc import ABC, abstractmethod class EventDispatcherInterface(ABC): """ Represents a dispatcher that dispatches events to listeners associated with given event. """ @abstractmethod def dispatch(self, event: object): pass @abstractmethod async def dispatch_async(self, even...
class EventDispatcherInterface(ABC): ''' Represents a dispatcher that dispatches events to listeners associated with given event. ''' @abstractmethod def dispatch(self, event: object): pass @abstractmethod async def dispatch_async(self, event: object): pass
5
1
2
0
2
0
1
0.57
1
0
0
1
2
0
2
22
13
2
7
5
2
4
5
3
2
1
4
0
2
23,794
andymccurdy/redis-py
andymccurdy_redis-py/redis/event.py
redis.event.EventException
class EventException(Exception): """ Exception wrapper that adds an event object into exception context. """ def __init__(self, exception: Exception, event: object): self.exception = exception self.event = event super().__init__(exception)
class EventException(Exception): ''' Exception wrapper that adds an event object into exception context. ''' def __init__(self, exception: Exception, event: object): pass
2
1
4
0
4
0
1
0.6
1
1
0
0
1
2
1
11
9
1
5
4
3
3
5
4
3
1
3
0
1
23,795
andymccurdy/redis-py
andymccurdy_redis-py/redis/event.py
redis.event.EventListenerInterface
from abc import ABC, abstractmethod class EventListenerInterface(ABC): """ Represents a listener for given event object. """ @abstractmethod def listen(self, event: object): pass
class EventListenerInterface(ABC): ''' Represents a listener for given event object. ''' @abstractmethod def listen(self, event: object): pass
3
1
2
0
2
0
1
0.75
1
0
0
5
1
0
1
21
8
1
4
3
1
3
3
2
1
1
4
0
1
23,796
andymccurdy/redis-py
andymccurdy_redis-py/redis/event.py
redis.event.ReAuthConnectionListener
class ReAuthConnectionListener(EventListenerInterface): """ Listener that performs re-authentication of given connection. """ def listen(self, event: AfterConnectionReleasedEvent): event.connection.re_auth()
class ReAuthConnectionListener(EventListenerInterface): ''' Listener that performs re-authentication of given connection. ''' def listen(self, event: AfterConnectionReleasedEvent): pass
2
1
2
0
2
0
1
1
1
1
1
0
1
0
1
22
7
1
3
2
1
3
3
2
1
1
5
0
1
23,797
andymccurdy/redis-py
andymccurdy_redis-py/redis/event.py
redis.event.RegisterReAuthForAsyncClusterNodes
from redis.auth.token import TokenInterface from redis.credentials import CredentialProvider, StreamingCredentialProvider class RegisterReAuthForAsyncClusterNodes(EventListenerInterface): def __init__(self): self._event = None def listen(self, event: AfterAsyncClusterInstantiationEvent): if i...
class RegisterReAuthForAsyncClusterNodes(EventListenerInterface): def __init__(self): pass def listen(self, event: AfterAsyncClusterInstantiationEvent): pass async def _re_auth(self, token: TokenInterface): pass async def _raise_on_error(self, error: Exception): pass
5
0
3
0
3
0
2
0
1
5
4
0
4
1
4
25
16
3
13
7
8
0
13
7
8
2
5
1
6
23,798
andymccurdy/redis-py
andymccurdy_redis-py/redis/event.py
redis.event.RegisterReAuthForPooledConnections
from redis.credentials import CredentialProvider, StreamingCredentialProvider class RegisterReAuthForPooledConnections(EventListenerInterface): """ Listener that registers a re-authentication callback for pooled connections. Required by :class:`StreamingCredentialProvider`. """ def __init__(self):...
class RegisterReAuthForPooledConnections(EventListenerInterface): ''' Listener that registers a re-authentication callback for pooled connections. Required by :class:`StreamingCredentialProvider`. ''' def __init__(self): pass def listen(self, event: AfterPooledConnectionsInstantia...
7
1
4
0
4
0
2
0.18
1
5
4
0
6
1
6
27
33
7
22
10
15
4
21
10
14
3
5
2
10
23,799
andymccurdy/redis-py
andymccurdy_redis-py/redis/event.py
redis.event.RegisterReAuthForPubSub
from redis.credentials import CredentialProvider, StreamingCredentialProvider from redis.auth.token import TokenInterface class RegisterReAuthForPubSub(EventListenerInterface): def __init__(self): self._connection = None self._connection_pool = None self._client_type = None self._c...
class RegisterReAuthForPubSub(EventListenerInterface): def __init__(self): pass def listen(self, event: AfterPubSubConnectionInstantiationEvent): pass def _re_auth(self, token: TokenInterface): pass async def _re_auth_async(self, token: TokenInterface): pass def...
7
0
7
1
7
0
1
0
1
6
5
0
6
5
6
27
50
8
42
12
35
0
33
12
26
3
5
2
8