""" maxminddb.types ~~~~~~~~~~~~~~~ This module provides a Record type that represents a database record. """ from typing import AnyStr, Dict, List, Union Primitive = Union[AnyStr, bool, float, int] Record = Union[Primitive, "RecordList", "RecordDict"] class RecordList(List[Record]): # pylint: disable=too-few-public-methods """ RecordList is a type for lists in a database record. """ class RecordDict(Dict[str, Record]): # pylint: disable=too-few-public-methods """ RecordDict is a type for dicts in a database record. """
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
__pycache__ | Folder | 0755 |
|
|
__init__.py | File | 2.5 KB | 0644 |
|
const.py | File | 122 B | 0644 |
|
decoder.py | File | 6.84 KB | 0644 |
|
errors.py | File | 226 B | 0644 |
|
extension.pyi | File | 1.41 KB | 0644 |
|
file.py | File | 2.1 KB | 0644 |
|
py.typed | File | 0 B | 0644 |
|
reader.py | File | 10.74 KB | 0644 |
|
types.py | File | 558 B | 0644 |
|