Fixing flake8 E261 errors

This commit is contained in:
Lukasz Langa
2016-12-19 22:09:35 -08:00
parent b84f20a011
commit fe0e3744cc
219 changed files with 4041 additions and 3099 deletions

View File

@@ -5,22 +5,22 @@
from typing import Any
import logging
Version = ... # type: Any
UserAgent = ... # type: Any
config = ... # type: Any
BUCKET_NAME_RE = ... # type: Any
TOO_LONG_DNS_NAME_COMP = ... # type: Any
GENERATION_RE = ... # type: Any
VERSION_RE = ... # type: Any
ENDPOINTS_PATH = ... # type: Any
Version = ... # type: Any
UserAgent = ... # type: Any
config = ... # type: Any
BUCKET_NAME_RE = ... # type: Any
TOO_LONG_DNS_NAME_COMP = ... # type: Any
GENERATION_RE = ... # type: Any
VERSION_RE = ... # type: Any
ENDPOINTS_PATH = ... # type: Any
def init_logging(): ...
class NullHandler(logging.Handler):
def emit(self, record): ...
log = ... # type: Any
perflog = ... # type: Any
log = ... # type: Any
perflog = ... # type: Any
def set_file_logger(name, filepath, level=..., format_string=...): ...
def set_stream_logger(name, level=..., format_string=...): ...

View File

@@ -4,13 +4,13 @@
from typing import Any
HAVE_HTTPS_CONNECTION = ... # type: Any
ON_APP_ENGINE = ... # type: Any
PORTS_BY_SECURITY = ... # type: Any
DEFAULT_CA_CERTS_FILE = ... # type: Any
HAVE_HTTPS_CONNECTION = ... # type: Any
ON_APP_ENGINE = ... # type: Any
PORTS_BY_SECURITY = ... # type: Any
DEFAULT_CA_CERTS_FILE = ... # type: Any
class HostConnectionPool:
queue = ... # type: Any
queue = ... # type: Any
def __init__(self) -> None: ...
def size(self): ...
def put(self, conn): ...
@@ -18,11 +18,11 @@ class HostConnectionPool:
def clean(self): ...
class ConnectionPool:
CLEAN_INTERVAL = ... # type: Any
STALE_DURATION = ... # type: Any
host_to_pool = ... # type: Any
last_clean_time = ... # type: Any
mutex = ... # type: Any
CLEAN_INTERVAL = ... # type: Any
STALE_DURATION = ... # type: Any
host_to_pool = ... # type: Any
last_clean_time = ... # type: Any
mutex = ... # type: Any
def __init__(self) -> None: ...
def size(self): ...
def get_http_connection(self, host, port, is_secure): ...
@@ -30,56 +30,56 @@ class ConnectionPool:
def clean(self): ...
class HTTPRequest:
method = ... # type: Any
protocol = ... # type: Any
host = ... # type: Any
port = ... # type: Any
path = ... # type: Any
auth_path = ... # type: Any
params = ... # type: Any
headers = ... # type: Any
body = ... # type: Any
method = ... # type: Any
protocol = ... # type: Any
host = ... # type: Any
port = ... # type: Any
path = ... # type: Any
auth_path = ... # type: Any
params = ... # type: Any
headers = ... # type: Any
body = ... # type: Any
def __init__(self, method, protocol, host, port, path, auth_path, params, headers, body) -> None: ...
def authorize(self, connection, **kwargs): ...
class AWSAuthConnection:
suppress_consec_slashes = ... # type: Any
num_retries = ... # type: Any
is_secure = ... # type: Any
https_validate_certificates = ... # type: Any
ca_certificates_file = ... # type: Any
port = ... # type: Any
http_exceptions = ... # type: Any
http_unretryable_exceptions = ... # type: Any
socket_exception_values = ... # type: Any
https_connection_factory = ... # type: Any
protocol = ... # type: Any
host = ... # type: Any
path = ... # type: Any
debug = ... # type: Any
host_header = ... # type: Any
http_connection_kwargs = ... # type: Any
provider = ... # type: Any
auth_service_name = ... # type: Any
request_hook = ... # type: Any
suppress_consec_slashes = ... # type: Any
num_retries = ... # type: Any
is_secure = ... # type: Any
https_validate_certificates = ... # type: Any
ca_certificates_file = ... # type: Any
port = ... # type: Any
http_exceptions = ... # type: Any
http_unretryable_exceptions = ... # type: Any
socket_exception_values = ... # type: Any
https_connection_factory = ... # type: Any
protocol = ... # type: Any
host = ... # type: Any
path = ... # type: Any
debug = ... # type: Any
host_header = ... # type: Any
http_connection_kwargs = ... # type: Any
provider = ... # type: Any
auth_service_name = ... # type: Any
request_hook = ... # type: Any
def __init__(self, host, aws_access_key_id=..., aws_secret_access_key=..., is_secure=..., port=..., proxy=..., proxy_port=..., proxy_user=..., proxy_pass=..., debug=..., https_connection_factory=..., path=..., provider=..., security_token=..., suppress_consec_slashes=..., validate_certs=..., profile_name=...) -> None: ...
auth_region_name = ... # type: Any
auth_region_name = ... # type: Any
def connection(self): ...
def aws_access_key_id(self): ...
gs_access_key_id = ... # type: Any
access_key = ... # type: Any
gs_access_key_id = ... # type: Any
access_key = ... # type: Any
def aws_secret_access_key(self): ...
gs_secret_access_key = ... # type: Any
secret_key = ... # type: Any
gs_secret_access_key = ... # type: Any
secret_key = ... # type: Any
def profile_name(self): ...
def get_path(self, path=...): ...
def server_name(self, port=...): ...
proxy = ... # type: Any
proxy_port = ... # type: Any
proxy_user = ... # type: Any
proxy_pass = ... # type: Any
no_proxy = ... # type: Any
use_proxy = ... # type: Any
proxy = ... # type: Any
proxy_port = ... # type: Any
proxy_user = ... # type: Any
proxy_pass = ... # type: Any
no_proxy = ... # type: Any
use_proxy = ... # type: Any
def handle_proxy(self, proxy, proxy_port, proxy_user, proxy_pass): ...
def get_http_connection(self, host, port, is_secure): ...
def skip_proxy(self, host): ...
@@ -96,8 +96,8 @@ class AWSAuthConnection:
def close(self): ...
class AWSQueryConnection(AWSAuthConnection):
APIVersion = ... # type: Any
ResponseError = ... # type: Any
APIVersion = ... # type: Any
ResponseError = ... # type: Any
def __init__(self, aws_access_key_id=..., aws_secret_access_key=..., is_secure=..., port=..., proxy=..., proxy_port=..., proxy_user=..., proxy_pass=..., host=..., debug=..., https_connection_factory=..., path=..., security_token=..., validate_certs=..., profile_name=..., provider=...) -> None: ...
def get_utf8_value(self, value): ...
def make_request(self, action, params=..., path=..., verb=...): ...

View File

@@ -4,7 +4,7 @@
from typing import Any
RegionData = ... # type: Any
RegionData = ... # type: Any
def regions(**kw_params): ...
def connect_to_region(region_name, **kw_params): ...

View File

@@ -5,16 +5,16 @@
from typing import Any
from boto.connection import AWSQueryConnection
RegionData = ... # type: Any
RegionData = ... # type: Any
def regions(): ...
def connect_to_region(region_name, **kw_params): ...
class ELBConnection(AWSQueryConnection):
APIVersion = ... # type: Any
DefaultRegionName = ... # type: Any
DefaultRegionEndpoint = ... # type: Any
region = ... # type: Any
APIVersion = ... # type: Any
DefaultRegionName = ... # type: Any
DefaultRegionEndpoint = ... # type: Any
region = ... # type: Any
def __init__(self, aws_access_key_id=..., aws_secret_access_key=..., is_secure=..., port=..., proxy=..., proxy_port=..., proxy_user=..., proxy_pass=..., debug=..., https_connection_factory=..., region=..., path=..., security_token=..., validate_certs=..., profile_name=...) -> None: ...
def build_list_params(self, params, items, label): ...
def get_all_load_balancers(self, load_balancer_names=..., marker=...): ...

View File

@@ -5,23 +5,23 @@
from typing import Any
class croniter:
MONTHS_IN_YEAR = ... # type: Any
RANGES = ... # type: Any
DAYS = ... # type: Any
ALPHACONV = ... # type: Any
LOWMAP = ... # type: Any
bad_length = ... # type: Any
tzinfo = ... # type: Any
cur = ... # type: Any
exprs = ... # type: Any
expanded = ... # type: Any
MONTHS_IN_YEAR = ... # type: Any
RANGES = ... # type: Any
DAYS = ... # type: Any
ALPHACONV = ... # type: Any
LOWMAP = ... # type: Any
bad_length = ... # type: Any
tzinfo = ... # type: Any
cur = ... # type: Any
exprs = ... # type: Any
expanded = ... # type: Any
def __init__(self, expr_format, start_time=..., ret_type=...) -> None: ...
def get_next(self, ret_type=...): ...
def get_prev(self, ret_type=...): ...
def get_current(self, ret_type=...): ...
def __iter__(self): ...
__next__ = ... # type: Any
__next__ = ... # type: Any
def all_next(self, ret_type=...): ...
def all_prev(self, ret_type=...): ...
iter = ... # type: Any
iter = ... # type: Any
def is_leap(self, year): ...

View File

@@ -5,14 +5,14 @@ __all__ = ... # type: List[str]
class parserinfo(object):
JUMP = ... # type: List[str]
WEEKDAYS = ... # type: List[Tuple[str, str]]
MONTHS = ... # type: List[Tuple[str, str]]
HMS = ... # type: List[Tuple[str, str, str]]
AMPM = ... # type: List[Tuple[str, str]]
UTCZONE = ... # type: List[str]
PERTAIN = ... # type: List[str]
TZOFFSET = ... # type: Dict[str, int]
JUMP = ... # type: List[str]
WEEKDAYS = ... # type: List[Tuple[str, str]]
MONTHS = ... # type: List[Tuple[str, str]]
HMS = ... # type: List[Tuple[str, str, str]]
AMPM = ... # type: List[Tuple[str, str]]
UTCZONE = ... # type: List[str]
PERTAIN = ... # type: List[str]
TZOFFSET = ... # type: Dict[str, int]
def __init__(self, dayfirst: bool=..., yearfirst: bool=...) -> None: ...
def jump(self, name: unicode) -> bool: ...
@@ -33,7 +33,7 @@ class parser(object):
ignoretz: bool = ..., tzinfos: Dict[Union[str, unicode], tzinfo] = None,
**kwargs: Any) -> datetime: ...
DEFAULTPARSER = ... # type: parser
DEFAULTPARSER = ... # type: parser
def parse(timestr: Union[str, unicode, IO[unicode]],
parserinfo: parserinfo = None,
**kwargs: Any) -> datetime: ...

View File

@@ -13,16 +13,16 @@ class weekday(object):
def __repr__(self) -> str: ...
weekday = ... # type: int
n = ... # type: int
weekday = ... # type: int
n = ... # type: int
MO = ... # type: weekday
TU = ... # type: weekday
WE = ... # type: weekday
TH = ... # type: weekday
FR = ... # type: weekday
SA = ... # type: weekday
SU = ... # type: weekday
MO = ... # type: weekday
TU = ... # type: weekday
WE = ... # type: weekday
TH = ... # type: weekday
FR = ... # type: weekday
SA = ... # type: weekday
SU = ... # type: weekday
class relativedelta(object):

View File

@@ -5,7 +5,7 @@
from typing import Any
from thrift.Thrift import TProcessor
fastbinary = ... # type: Any
fastbinary = ... # type: Any
class Iface:
def getName(self): ...
@@ -80,7 +80,7 @@ class Processor(Iface, TProcessor):
def process_shutdown(self, seqid, iprot, oprot): ...
class getName_args:
thrift_spec = ... # type: Any
thrift_spec = ... # type: Any
def read(self, iprot): ...
def write(self, oprot): ...
def validate(self): ...
@@ -88,8 +88,8 @@ class getName_args:
def __ne__(self, other): ...
class getName_result:
thrift_spec = ... # type: Any
success = ... # type: Any
thrift_spec = ... # type: Any
success = ... # type: Any
def __init__(self, success=...) -> None: ...
def read(self, iprot): ...
def write(self, oprot): ...
@@ -98,7 +98,7 @@ class getName_result:
def __ne__(self, other): ...
class getVersion_args:
thrift_spec = ... # type: Any
thrift_spec = ... # type: Any
def read(self, iprot): ...
def write(self, oprot): ...
def validate(self): ...
@@ -106,8 +106,8 @@ class getVersion_args:
def __ne__(self, other): ...
class getVersion_result:
thrift_spec = ... # type: Any
success = ... # type: Any
thrift_spec = ... # type: Any
success = ... # type: Any
def __init__(self, success=...) -> None: ...
def read(self, iprot): ...
def write(self, oprot): ...
@@ -116,7 +116,7 @@ class getVersion_result:
def __ne__(self, other): ...
class getStatus_args:
thrift_spec = ... # type: Any
thrift_spec = ... # type: Any
def read(self, iprot): ...
def write(self, oprot): ...
def validate(self): ...
@@ -124,8 +124,8 @@ class getStatus_args:
def __ne__(self, other): ...
class getStatus_result:
thrift_spec = ... # type: Any
success = ... # type: Any
thrift_spec = ... # type: Any
success = ... # type: Any
def __init__(self, success=...) -> None: ...
def read(self, iprot): ...
def write(self, oprot): ...
@@ -134,7 +134,7 @@ class getStatus_result:
def __ne__(self, other): ...
class getStatusDetails_args:
thrift_spec = ... # type: Any
thrift_spec = ... # type: Any
def read(self, iprot): ...
def write(self, oprot): ...
def validate(self): ...
@@ -142,8 +142,8 @@ class getStatusDetails_args:
def __ne__(self, other): ...
class getStatusDetails_result:
thrift_spec = ... # type: Any
success = ... # type: Any
thrift_spec = ... # type: Any
success = ... # type: Any
def __init__(self, success=...) -> None: ...
def read(self, iprot): ...
def write(self, oprot): ...
@@ -152,7 +152,7 @@ class getStatusDetails_result:
def __ne__(self, other): ...
class getCounters_args:
thrift_spec = ... # type: Any
thrift_spec = ... # type: Any
def read(self, iprot): ...
def write(self, oprot): ...
def validate(self): ...
@@ -160,8 +160,8 @@ class getCounters_args:
def __ne__(self, other): ...
class getCounters_result:
thrift_spec = ... # type: Any
success = ... # type: Any
thrift_spec = ... # type: Any
success = ... # type: Any
def __init__(self, success=...) -> None: ...
def read(self, iprot): ...
def write(self, oprot): ...
@@ -170,8 +170,8 @@ class getCounters_result:
def __ne__(self, other): ...
class getCounter_args:
thrift_spec = ... # type: Any
key = ... # type: Any
thrift_spec = ... # type: Any
key = ... # type: Any
def __init__(self, key=...) -> None: ...
def read(self, iprot): ...
def write(self, oprot): ...
@@ -180,8 +180,8 @@ class getCounter_args:
def __ne__(self, other): ...
class getCounter_result:
thrift_spec = ... # type: Any
success = ... # type: Any
thrift_spec = ... # type: Any
success = ... # type: Any
def __init__(self, success=...) -> None: ...
def read(self, iprot): ...
def write(self, oprot): ...
@@ -190,9 +190,9 @@ class getCounter_result:
def __ne__(self, other): ...
class setOption_args:
thrift_spec = ... # type: Any
key = ... # type: Any
value = ... # type: Any
thrift_spec = ... # type: Any
key = ... # type: Any
value = ... # type: Any
def __init__(self, key=..., value=...) -> None: ...
def read(self, iprot): ...
def write(self, oprot): ...
@@ -201,7 +201,7 @@ class setOption_args:
def __ne__(self, other): ...
class setOption_result:
thrift_spec = ... # type: Any
thrift_spec = ... # type: Any
def read(self, iprot): ...
def write(self, oprot): ...
def validate(self): ...
@@ -209,8 +209,8 @@ class setOption_result:
def __ne__(self, other): ...
class getOption_args:
thrift_spec = ... # type: Any
key = ... # type: Any
thrift_spec = ... # type: Any
key = ... # type: Any
def __init__(self, key=...) -> None: ...
def read(self, iprot): ...
def write(self, oprot): ...
@@ -219,8 +219,8 @@ class getOption_args:
def __ne__(self, other): ...
class getOption_result:
thrift_spec = ... # type: Any
success = ... # type: Any
thrift_spec = ... # type: Any
success = ... # type: Any
def __init__(self, success=...) -> None: ...
def read(self, iprot): ...
def write(self, oprot): ...
@@ -229,7 +229,7 @@ class getOption_result:
def __ne__(self, other): ...
class getOptions_args:
thrift_spec = ... # type: Any
thrift_spec = ... # type: Any
def read(self, iprot): ...
def write(self, oprot): ...
def validate(self): ...
@@ -237,8 +237,8 @@ class getOptions_args:
def __ne__(self, other): ...
class getOptions_result:
thrift_spec = ... # type: Any
success = ... # type: Any
thrift_spec = ... # type: Any
success = ... # type: Any
def __init__(self, success=...) -> None: ...
def read(self, iprot): ...
def write(self, oprot): ...
@@ -247,8 +247,8 @@ class getOptions_result:
def __ne__(self, other): ...
class getCpuProfile_args:
thrift_spec = ... # type: Any
profileDurationInSec = ... # type: Any
thrift_spec = ... # type: Any
profileDurationInSec = ... # type: Any
def __init__(self, profileDurationInSec=...) -> None: ...
def read(self, iprot): ...
def write(self, oprot): ...
@@ -257,8 +257,8 @@ class getCpuProfile_args:
def __ne__(self, other): ...
class getCpuProfile_result:
thrift_spec = ... # type: Any
success = ... # type: Any
thrift_spec = ... # type: Any
success = ... # type: Any
def __init__(self, success=...) -> None: ...
def read(self, iprot): ...
def write(self, oprot): ...
@@ -267,7 +267,7 @@ class getCpuProfile_result:
def __ne__(self, other): ...
class aliveSince_args:
thrift_spec = ... # type: Any
thrift_spec = ... # type: Any
def read(self, iprot): ...
def write(self, oprot): ...
def validate(self): ...
@@ -275,8 +275,8 @@ class aliveSince_args:
def __ne__(self, other): ...
class aliveSince_result:
thrift_spec = ... # type: Any
success = ... # type: Any
thrift_spec = ... # type: Any
success = ... # type: Any
def __init__(self, success=...) -> None: ...
def read(self, iprot): ...
def write(self, oprot): ...
@@ -285,7 +285,7 @@ class aliveSince_result:
def __ne__(self, other): ...
class reinitialize_args:
thrift_spec = ... # type: Any
thrift_spec = ... # type: Any
def read(self, iprot): ...
def write(self, oprot): ...
def validate(self): ...
@@ -293,7 +293,7 @@ class reinitialize_args:
def __ne__(self, other): ...
class shutdown_args:
thrift_spec = ... # type: Any
thrift_spec = ... # type: Any
def read(self, iprot): ...
def write(self, oprot): ...
def validate(self): ...

View File

@@ -11,151 +11,151 @@ class DescriptorMetaclass(type):
def __instancecheck__(cls, obj): ...
class DescriptorBase:
__metaclass__ = ... # type: Any
has_options = ... # type: Any
__metaclass__ = ... # type: Any
has_options = ... # type: Any
def __init__(self, options, options_class_name) -> None: ...
def GetOptions(self): ...
class _NestedDescriptorBase(DescriptorBase):
name = ... # type: Any
full_name = ... # type: Any
file = ... # type: Any
containing_type = ... # type: Any
name = ... # type: Any
full_name = ... # type: Any
file = ... # type: Any
containing_type = ... # type: Any
def __init__(self, options, options_class_name, name, full_name, file, containing_type, serialized_start=..., serialized_end=...) -> None: ...
def GetTopLevelContainingType(self): ...
def CopyToProto(self, proto): ...
class Descriptor(_NestedDescriptorBase):
def __new__(cls, name, full_name, filename, containing_type, fields, nested_types, enum_types, extensions, options=..., is_extendable=..., extension_ranges=..., oneofs=..., file=..., serialized_start=..., serialized_end=..., syntax=...): ...
fields = ... # type: Any
fields_by_number = ... # type: Any
fields_by_name = ... # type: Any
nested_types = ... # type: Any
nested_types_by_name = ... # type: Any
enum_types = ... # type: Any
enum_types_by_name = ... # type: Any
enum_values_by_name = ... # type: Any
extensions = ... # type: Any
extensions_by_name = ... # type: Any
is_extendable = ... # type: Any
extension_ranges = ... # type: Any
oneofs = ... # type: Any
oneofs_by_name = ... # type: Any
syntax = ... # type: Any
fields = ... # type: Any
fields_by_number = ... # type: Any
fields_by_name = ... # type: Any
nested_types = ... # type: Any
nested_types_by_name = ... # type: Any
enum_types = ... # type: Any
enum_types_by_name = ... # type: Any
enum_values_by_name = ... # type: Any
extensions = ... # type: Any
extensions_by_name = ... # type: Any
is_extendable = ... # type: Any
extension_ranges = ... # type: Any
oneofs = ... # type: Any
oneofs_by_name = ... # type: Any
syntax = ... # type: Any
def __init__(self, name, full_name, filename, containing_type, fields, nested_types, enum_types, extensions, options=..., is_extendable=..., extension_ranges=..., oneofs=..., file=..., serialized_start=..., serialized_end=..., syntax=...) -> None: ...
def EnumValueName(self, enum, value): ...
def CopyToProto(self, proto): ...
class FieldDescriptor(DescriptorBase):
TYPE_DOUBLE = ... # type: Any
TYPE_FLOAT = ... # type: Any
TYPE_INT64 = ... # type: Any
TYPE_UINT64 = ... # type: Any
TYPE_INT32 = ... # type: Any
TYPE_FIXED64 = ... # type: Any
TYPE_FIXED32 = ... # type: Any
TYPE_BOOL = ... # type: Any
TYPE_STRING = ... # type: Any
TYPE_GROUP = ... # type: Any
TYPE_MESSAGE = ... # type: Any
TYPE_BYTES = ... # type: Any
TYPE_UINT32 = ... # type: Any
TYPE_ENUM = ... # type: Any
TYPE_SFIXED32 = ... # type: Any
TYPE_SFIXED64 = ... # type: Any
TYPE_SINT32 = ... # type: Any
TYPE_SINT64 = ... # type: Any
MAX_TYPE = ... # type: Any
CPPTYPE_INT32 = ... # type: Any
CPPTYPE_INT64 = ... # type: Any
CPPTYPE_UINT32 = ... # type: Any
CPPTYPE_UINT64 = ... # type: Any
CPPTYPE_DOUBLE = ... # type: Any
CPPTYPE_FLOAT = ... # type: Any
CPPTYPE_BOOL = ... # type: Any
CPPTYPE_ENUM = ... # type: Any
CPPTYPE_STRING = ... # type: Any
CPPTYPE_MESSAGE = ... # type: Any
MAX_CPPTYPE = ... # type: Any
LABEL_OPTIONAL = ... # type: Any
LABEL_REQUIRED = ... # type: Any
LABEL_REPEATED = ... # type: Any
MAX_LABEL = ... # type: Any
MAX_FIELD_NUMBER = ... # type: Any
FIRST_RESERVED_FIELD_NUMBER = ... # type: Any
LAST_RESERVED_FIELD_NUMBER = ... # type: Any
TYPE_DOUBLE = ... # type: Any
TYPE_FLOAT = ... # type: Any
TYPE_INT64 = ... # type: Any
TYPE_UINT64 = ... # type: Any
TYPE_INT32 = ... # type: Any
TYPE_FIXED64 = ... # type: Any
TYPE_FIXED32 = ... # type: Any
TYPE_BOOL = ... # type: Any
TYPE_STRING = ... # type: Any
TYPE_GROUP = ... # type: Any
TYPE_MESSAGE = ... # type: Any
TYPE_BYTES = ... # type: Any
TYPE_UINT32 = ... # type: Any
TYPE_ENUM = ... # type: Any
TYPE_SFIXED32 = ... # type: Any
TYPE_SFIXED64 = ... # type: Any
TYPE_SINT32 = ... # type: Any
TYPE_SINT64 = ... # type: Any
MAX_TYPE = ... # type: Any
CPPTYPE_INT32 = ... # type: Any
CPPTYPE_INT64 = ... # type: Any
CPPTYPE_UINT32 = ... # type: Any
CPPTYPE_UINT64 = ... # type: Any
CPPTYPE_DOUBLE = ... # type: Any
CPPTYPE_FLOAT = ... # type: Any
CPPTYPE_BOOL = ... # type: Any
CPPTYPE_ENUM = ... # type: Any
CPPTYPE_STRING = ... # type: Any
CPPTYPE_MESSAGE = ... # type: Any
MAX_CPPTYPE = ... # type: Any
LABEL_OPTIONAL = ... # type: Any
LABEL_REQUIRED = ... # type: Any
LABEL_REPEATED = ... # type: Any
MAX_LABEL = ... # type: Any
MAX_FIELD_NUMBER = ... # type: Any
FIRST_RESERVED_FIELD_NUMBER = ... # type: Any
LAST_RESERVED_FIELD_NUMBER = ... # type: Any
def __new__(cls, name, full_name, index, number, type, cpp_type, label, default_value, message_type, enum_type, containing_type, is_extension, extension_scope, options=..., has_default_value=..., containing_oneof=...): ...
name = ... # type: Any
full_name = ... # type: Any
index = ... # type: Any
number = ... # type: Any
type = ... # type: Any
cpp_type = ... # type: Any
label = ... # type: Any
has_default_value = ... # type: Any
default_value = ... # type: Any
containing_type = ... # type: Any
message_type = ... # type: Any
enum_type = ... # type: Any
is_extension = ... # type: Any
extension_scope = ... # type: Any
containing_oneof = ... # type: Any
name = ... # type: Any
full_name = ... # type: Any
index = ... # type: Any
number = ... # type: Any
type = ... # type: Any
cpp_type = ... # type: Any
label = ... # type: Any
has_default_value = ... # type: Any
default_value = ... # type: Any
containing_type = ... # type: Any
message_type = ... # type: Any
enum_type = ... # type: Any
is_extension = ... # type: Any
extension_scope = ... # type: Any
containing_oneof = ... # type: Any
def __init__(self, name, full_name, index, number, type, cpp_type, label, default_value, message_type, enum_type, containing_type, is_extension, extension_scope, options=..., has_default_value=..., containing_oneof=...) -> None: ...
@staticmethod
def ProtoTypeToCppProtoType(proto_type): ...
class EnumDescriptor(_NestedDescriptorBase):
def __new__(cls, name, full_name, filename, values, containing_type=..., options=..., file=..., serialized_start=..., serialized_end=...): ...
values = ... # type: Any
values_by_name = ... # type: Any
values_by_number = ... # type: Any
values = ... # type: Any
values_by_name = ... # type: Any
values_by_number = ... # type: Any
def __init__(self, name, full_name, filename, values, containing_type=..., options=..., file=..., serialized_start=..., serialized_end=...) -> None: ...
def CopyToProto(self, proto): ...
class EnumValueDescriptor(DescriptorBase):
def __new__(cls, name, index, number, type=..., options=...): ...
name = ... # type: Any
index = ... # type: Any
number = ... # type: Any
type = ... # type: Any
name = ... # type: Any
index = ... # type: Any
number = ... # type: Any
type = ... # type: Any
def __init__(self, name, index, number, type=..., options=...) -> None: ...
class OneofDescriptor:
def __new__(cls, name, full_name, index, containing_type, fields): ...
name = ... # type: Any
full_name = ... # type: Any
index = ... # type: Any
containing_type = ... # type: Any
fields = ... # type: Any
name = ... # type: Any
full_name = ... # type: Any
index = ... # type: Any
containing_type = ... # type: Any
fields = ... # type: Any
def __init__(self, name, full_name, index, containing_type, fields) -> None: ...
class ServiceDescriptor(_NestedDescriptorBase):
index = ... # type: Any
methods = ... # type: Any
index = ... # type: Any
methods = ... # type: Any
def __init__(self, name, full_name, index, methods, options=..., file=..., serialized_start=..., serialized_end=...) -> None: ...
def FindMethodByName(self, name): ...
def CopyToProto(self, proto): ...
class MethodDescriptor(DescriptorBase):
name = ... # type: Any
full_name = ... # type: Any
index = ... # type: Any
containing_service = ... # type: Any
input_type = ... # type: Any
output_type = ... # type: Any
name = ... # type: Any
full_name = ... # type: Any
index = ... # type: Any
containing_service = ... # type: Any
input_type = ... # type: Any
output_type = ... # type: Any
def __init__(self, name, full_name, index, containing_service, input_type, output_type, options=...) -> None: ...
class FileDescriptor(DescriptorBase):
def __new__(cls, name, package, options=..., serialized_pb=..., dependencies=..., syntax=...): ...
_options = ... # type: Any
message_types_by_name = ... # type: Any
name = ... # type: Any
package = ... # type: Any
syntax = ... # type: Any
serialized_pb = ... # type: Any
enum_types_by_name = ... # type: Any
extensions_by_name = ... # type: Any
dependencies = ... # type: Any
_options = ... # type: Any
message_types_by_name = ... # type: Any
name = ... # type: Any
package = ... # type: Any
syntax = ... # type: Any
serialized_pb = ... # type: Any
enum_types_by_name = ... # type: Any
extensions_by_name = ... # type: Any
dependencies = ... # type: Any
def __init__(self, name, package, options=..., serialized_pb=..., dependencies=..., syntax=...) -> None: ...
def CopyToProto(self, proto): ...

View File

@@ -7,28 +7,28 @@ from typing import Any
def ReadTag(buffer, pos): ...
def EnumDecoder(field_number, is_repeated, is_packed, key, new_default): ...
Int32Decoder = ... # type: Any
Int64Decoder = ... # type: Any
UInt32Decoder = ... # type: Any
UInt64Decoder = ... # type: Any
SInt32Decoder = ... # type: Any
SInt64Decoder = ... # type: Any
Fixed32Decoder = ... # type: Any
Fixed64Decoder = ... # type: Any
SFixed32Decoder = ... # type: Any
SFixed64Decoder = ... # type: Any
FloatDecoder = ... # type: Any
DoubleDecoder = ... # type: Any
BoolDecoder = ... # type: Any
Int32Decoder = ... # type: Any
Int64Decoder = ... # type: Any
UInt32Decoder = ... # type: Any
UInt64Decoder = ... # type: Any
SInt32Decoder = ... # type: Any
SInt64Decoder = ... # type: Any
Fixed32Decoder = ... # type: Any
Fixed64Decoder = ... # type: Any
SFixed32Decoder = ... # type: Any
SFixed64Decoder = ... # type: Any
FloatDecoder = ... # type: Any
DoubleDecoder = ... # type: Any
BoolDecoder = ... # type: Any
def StringDecoder(field_number, is_repeated, is_packed, key, new_default): ...
def BytesDecoder(field_number, is_repeated, is_packed, key, new_default): ...
def GroupDecoder(field_number, is_repeated, is_packed, key, new_default): ...
def MessageDecoder(field_number, is_repeated, is_packed, key, new_default): ...
MESSAGE_SET_ITEM_TAG = ... # type: Any
MESSAGE_SET_ITEM_TAG = ... # type: Any
def MessageSetItemDecoder(extensions_by_number): ...
def MapDecoder(field_descriptor, new_default, is_message_map): ...
SkipField = ... # type: Any
SkipField = ... # type: Any

View File

@@ -4,12 +4,12 @@
from typing import Any
Int32Sizer = ... # type: Any
UInt32Sizer = ... # type: Any
SInt32Sizer = ... # type: Any
Fixed32Sizer = ... # type: Any
Fixed64Sizer = ... # type: Any
BoolSizer = ... # type: Any
Int32Sizer = ... # type: Any
UInt32Sizer = ... # type: Any
SInt32Sizer = ... # type: Any
Fixed32Sizer = ... # type: Any
Fixed64Sizer = ... # type: Any
BoolSizer = ... # type: Any
def StringSizer(field_number, is_repeated, is_packed): ...
def BytesSizer(field_number, is_repeated, is_packed): ...
@@ -19,15 +19,15 @@ def MessageSetItemSizer(field_number): ...
def MapSizer(field_descriptor): ...
def TagBytes(field_number, wire_type): ...
Int32Encoder = ... # type: Any
UInt32Encoder = ... # type: Any
SInt32Encoder = ... # type: Any
Fixed32Encoder = ... # type: Any
Fixed64Encoder = ... # type: Any
SFixed32Encoder = ... # type: Any
SFixed64Encoder = ... # type: Any
FloatEncoder = ... # type: Any
DoubleEncoder = ... # type: Any
Int32Encoder = ... # type: Any
UInt32Encoder = ... # type: Any
SInt32Encoder = ... # type: Any
Fixed32Encoder = ... # type: Any
Fixed64Encoder = ... # type: Any
SFixed32Encoder = ... # type: Any
SFixed64Encoder = ... # type: Any
FloatEncoder = ... # type: Any
DoubleEncoder = ... # type: Any
def BoolEncoder(field_number, is_repeated, is_packed): ...
def StringEncoder(field_number, is_repeated, is_packed): ...

View File

@@ -4,24 +4,24 @@
from typing import Any
TAG_TYPE_BITS = ... # type: Any
TAG_TYPE_MASK = ... # type: Any
WIRETYPE_VARINT = ... # type: Any
WIRETYPE_FIXED64 = ... # type: Any
WIRETYPE_LENGTH_DELIMITED = ... # type: Any
WIRETYPE_START_GROUP = ... # type: Any
WIRETYPE_END_GROUP = ... # type: Any
WIRETYPE_FIXED32 = ... # type: Any
INT32_MAX = ... # type: Any
INT32_MIN = ... # type: Any
UINT32_MAX = ... # type: Any
INT64_MAX = ... # type: Any
INT64_MIN = ... # type: Any
UINT64_MAX = ... # type: Any
FORMAT_UINT32_LITTLE_ENDIAN = ... # type: Any
FORMAT_UINT64_LITTLE_ENDIAN = ... # type: Any
FORMAT_FLOAT_LITTLE_ENDIAN = ... # type: Any
FORMAT_DOUBLE_LITTLE_ENDIAN = ... # type: Any
TAG_TYPE_BITS = ... # type: Any
TAG_TYPE_MASK = ... # type: Any
WIRETYPE_VARINT = ... # type: Any
WIRETYPE_FIXED64 = ... # type: Any
WIRETYPE_LENGTH_DELIMITED = ... # type: Any
WIRETYPE_START_GROUP = ... # type: Any
WIRETYPE_END_GROUP = ... # type: Any
WIRETYPE_FIXED32 = ... # type: Any
INT32_MAX = ... # type: Any
INT32_MIN = ... # type: Any
UINT32_MAX = ... # type: Any
INT64_MAX = ... # type: Any
INT64_MIN = ... # type: Any
UINT64_MAX = ... # type: Any
FORMAT_UINT32_LITTLE_ENDIAN = ... # type: Any
FORMAT_UINT64_LITTLE_ENDIAN = ... # type: Any
FORMAT_FLOAT_LITTLE_ENDIAN = ... # type: Any
FORMAT_DOUBLE_LITTLE_ENDIAN = ... # type: Any
def PackTag(field_number, wire_type): ...
def UnpackTag(tag): ...
@@ -49,6 +49,6 @@ def MessageByteSize(field_number, message): ...
def MessageSetItemByteSize(field_number, msg): ...
def TagByteSize(field_number): ...
NON_PACKABLE_TYPES = ... # type: Any
NON_PACKABLE_TYPES = ... # type: Any
def IsTypePackable(field_type): ...

View File

@@ -11,7 +11,7 @@ class DecodeError(Error): ...
class EncodeError(Error): ...
class Message:
DESCRIPTOR = ... # type: Any
DESCRIPTOR = ... # type: Any
def __deepcopy__(self, memo=...): ...
def __eq__(self, other_msg): ...
def __ne__(self, other_msg): ...
@@ -20,7 +20,7 @@ class Message:
def Clear(self) -> None: ...
def SetInParent(self) -> None: ...
def IsInitialized(self) -> bool: ...
def MergeFromString(self, serialized: Any) -> int: ... # TODO: we need to be able to call buffer() on serialized
def MergeFromString(self, serialized: Any) -> int: ... # TODO: we need to be able to call buffer() on serialized
def ParseFromString(self, serialized: Any) -> None: ...
def SerializeToString(self) -> str: ...
def SerializePartialToString(self) -> str: ...

View File

@@ -4,40 +4,40 @@
from typing import Any
string_types = ... # type: Any
bytes_types = ... # type: Any
LOST_STATES = ... # type: Any
ENVI_VERSION = ... # type: Any
ENVI_VERSION_KEY = ... # type: Any
log = ... # type: Any
string_types = ... # type: Any
bytes_types = ... # type: Any
LOST_STATES = ... # type: Any
ENVI_VERSION = ... # type: Any
ENVI_VERSION_KEY = ... # type: Any
log = ... # type: Any
class KazooClient:
logger = ... # type: Any
handler = ... # type: Any
auth_data = ... # type: Any
default_acl = ... # type: Any
randomize_hosts = ... # type: Any
hosts = ... # type: Any
chroot = ... # type: Any
state = ... # type: Any
state_listeners = ... # type: Any
read_only = ... # type: Any
retry = ... # type: Any
Barrier = ... # type: Any
Counter = ... # type: Any
DoubleBarrier = ... # type: Any
ChildrenWatch = ... # type: Any
DataWatch = ... # type: Any
Election = ... # type: Any
NonBlockingLease = ... # type: Any
MultiNonBlockingLease = ... # type: Any
Lock = ... # type: Any
Party = ... # type: Any
Queue = ... # type: Any
LockingQueue = ... # type: Any
SetPartitioner = ... # type: Any
Semaphore = ... # type: Any
ShallowParty = ... # type: Any
logger = ... # type: Any
handler = ... # type: Any
auth_data = ... # type: Any
default_acl = ... # type: Any
randomize_hosts = ... # type: Any
hosts = ... # type: Any
chroot = ... # type: Any
state = ... # type: Any
state_listeners = ... # type: Any
read_only = ... # type: Any
retry = ... # type: Any
Barrier = ... # type: Any
Counter = ... # type: Any
DoubleBarrier = ... # type: Any
ChildrenWatch = ... # type: Any
DataWatch = ... # type: Any
Election = ... # type: Any
NonBlockingLease = ... # type: Any
MultiNonBlockingLease = ... # type: Any
Lock = ... # type: Any
Party = ... # type: Any
Queue = ... # type: Any
LockingQueue = ... # type: Any
SetPartitioner = ... # type: Any
Semaphore = ... # type: Any
ShallowParty = ... # type: Any
def __init__(self, hosts=..., timeout=..., client_id=..., handler=..., default_acl=..., auth_data=..., read_only=..., randomize_hosts=..., connection_retry=..., command_retry=..., logger=..., **kwargs) -> None: ...
@property
def client_state(self): ...
@@ -83,9 +83,9 @@ class KazooClient:
def reconfig_async(self, joining, leaving, new_members, from_config): ...
class TransactionRequest:
client = ... # type: Any
operations = ... # type: Any
committed = ... # type: Any
client = ... # type: Any
operations = ... # type: Any
committed = ... # type: Any
def __init__(self, client) -> None: ...
def create(self, path, value=..., acl=..., ephemeral=..., sequence=...): ...
def delete(self, path, version=...): ...

View File

@@ -13,7 +13,7 @@ class ConnectionDropped(KazooException): ...
class LockTimeout(KazooException): ...
class WriterNotClosedException(KazooException): ...
EXCEPTIONS = ... # type: Any
EXCEPTIONS = ... # type: Any
class RolledBackError(ZookeeperError): ...
class SystemZookeeperError(ZookeeperError): ...
@@ -41,22 +41,22 @@ class SessionMovedError(ZookeeperError): ...
class NotReadOnlyCallError(ZookeeperError): ...
class ConnectionClosedError(SessionExpiredError): ...
ConnectionLossException = ... # type: Any
MarshallingErrorException = ... # type: Any
SystemErrorException = ... # type: Any
RuntimeInconsistencyException = ... # type: Any
DataInconsistencyException = ... # type: Any
UnimplementedException = ... # type: Any
OperationTimeoutException = ... # type: Any
BadArgumentsException = ... # type: Any
ApiErrorException = ... # type: Any
NoNodeException = ... # type: Any
NoAuthException = ... # type: Any
BadVersionException = ... # type: Any
NoChildrenForEphemeralsException = ... # type: Any
NodeExistsException = ... # type: Any
InvalidACLException = ... # type: Any
AuthFailedException = ... # type: Any
NotEmptyException = ... # type: Any
SessionExpiredException = ... # type: Any
InvalidCallbackException = ... # type: Any
ConnectionLossException = ... # type: Any
MarshallingErrorException = ... # type: Any
SystemErrorException = ... # type: Any
RuntimeInconsistencyException = ... # type: Any
DataInconsistencyException = ... # type: Any
UnimplementedException = ... # type: Any
OperationTimeoutException = ... # type: Any
BadArgumentsException = ... # type: Any
ApiErrorException = ... # type: Any
NoNodeException = ... # type: Any
NoAuthException = ... # type: Any
BadVersionException = ... # type: Any
NoChildrenForEphemeralsException = ... # type: Any
NodeExistsException = ... # type: Any
InvalidACLException = ... # type: Any
AuthFailedException = ... # type: Any
NotEmptyException = ... # type: Any
SessionExpiredException = ... # type: Any
InvalidCallbackException = ... # type: Any

View File

@@ -4,7 +4,7 @@
from typing import Any
log = ... # type: Any
log = ... # type: Any
class DataWatch:
def __init__(self, client, path, func=..., *args, **kwargs) -> None: ...
@@ -15,11 +15,11 @@ class ChildrenWatch:
def __call__(self, func): ...
class PatientChildrenWatch:
client = ... # type: Any
path = ... # type: Any
children = ... # type: Any
time_boundary = ... # type: Any
children_changed = ... # type: Any
client = ... # type: Any
path = ... # type: Any
children = ... # type: Any
time_boundary = ... # type: Any
children_changed = ... # type: Any
def __init__(self, client, path, time_boundary=...) -> None: ...
asy = ... # type: Any
asy = ... # type: Any
def start(self): ...

View File

@@ -2,16 +2,16 @@
from typing import Any, Tuple, Optional
GLOBAL_SSL = ... # type: int
GLOBAL_WIN32 = ... # type: int
GLOBAL_ALL = ... # type: int
GLOBAL_NOTHING = ... # type: int
GLOBAL_DEFAULT = ... # type: int
GLOBAL_SSL = ... # type: int
GLOBAL_WIN32 = ... # type: int
GLOBAL_ALL = ... # type: int
GLOBAL_NOTHING = ... # type: int
GLOBAL_DEFAULT = ... # type: int
def global_init(option: int) -> None: ...
def global_cleanup() -> None: ...
version = ... # type: str
version = ... # type: str
def version_info() -> Tuple[int, str, int, str, int, str,
int, str, tuple, Any, int, Any]: ...
@@ -30,7 +30,7 @@ class Curl(object):
def errstr(self) -> str: ...
# TODO(MichalPokorny): wat?
USERPWD = ... # type: int
USERPWD = ... # type: int
class CurlMulti(object):
def close(self) -> None: ...
@@ -45,37 +45,37 @@ class CurlShare(object):
def close(self) -> None: ...
def setopt(self, option: int, value: Any) -> Any: ...
CAINFO = ... # type: int
CONNECTTIMEOUT_MS = ... # type: int
CUSTOMREQUEST = ... # type: int
ENCODING = ... # type: int
E_CALL_MULTI_PERFORM = ... # type: int
E_OPERATION_TIMEOUTED = ... # type: int
FOLLOWLOCATION = ... # type: int
HEADERFUNCTION = ... # type: int
HTTPGET = ... # type: int
HTTPHEADER = ... # type: int
HTTP_CODE = ... # type: int
INFILESIE_LARGE = ... # type: int
INFILESIZE_LARGE = ... # type: int
NOBODY = ... # type: int
NOPROGRESS = ... # type: int
NOSIGNAL = ... # type: int
POST = ... # type: int
POSTFIELDS = ... # type: int
POSTFIELDSIZE = ... # type: int
PRIMARY_IP = ... # type: int
PROGRESSFUNCTION = ... # type: int
PROXY = ... # type: int
READFUNCTION = ... # type: int
RESPONSE_CODE = ... # type: int
SSLCERT = ... # type: int
SSLCERTPASSWD = ... # type: int
SSLKEY = ... # type: int
SSLKEYPASSWD = ... # type: int
SSL_VERIFYHOST = ... # type: int
SSL_VERIFYPEER = ... # type: int
TIMEOUT_MS = ... # type: int
UPLOAD = ... # type: int
URL = ... # type: int
WRITEFUNCTION = ... # type: int
CAINFO = ... # type: int
CONNECTTIMEOUT_MS = ... # type: int
CUSTOMREQUEST = ... # type: int
ENCODING = ... # type: int
E_CALL_MULTI_PERFORM = ... # type: int
E_OPERATION_TIMEOUTED = ... # type: int
FOLLOWLOCATION = ... # type: int
HEADERFUNCTION = ... # type: int
HTTPGET = ... # type: int
HTTPHEADER = ... # type: int
HTTP_CODE = ... # type: int
INFILESIE_LARGE = ... # type: int
INFILESIZE_LARGE = ... # type: int
NOBODY = ... # type: int
NOPROGRESS = ... # type: int
NOSIGNAL = ... # type: int
POST = ... # type: int
POSTFIELDS = ... # type: int
POSTFIELDSIZE = ... # type: int
PRIMARY_IP = ... # type: int
PROGRESSFUNCTION = ... # type: int
PROXY = ... # type: int
READFUNCTION = ... # type: int
RESPONSE_CODE = ... # type: int
SSLCERT = ... # type: int
SSLCERTPASSWD = ... # type: int
SSLKEY = ... # type: int
SSLKEYPASSWD = ... # type: int
SSL_VERIFYHOST = ... # type: int
SSL_VERIFYPEER = ... # type: int
TIMEOUT_MS = ... # type: int
UPLOAD = ... # type: int
URL = ... # type: int
WRITEFUNCTION = ... # type: int

View File

@@ -4,7 +4,7 @@
from typing import Any
SYM_EMPTY = ... # type: Any
SYM_EMPTY = ... # type: Any
def list_or_args(keys, args): ...
def timestamp_to_datetime(response): ...
@@ -14,7 +14,7 @@ def parse_debug_object(response): ...
def parse_object(response, infotype): ...
def parse_info(response): ...
SENTINEL_STATE_TYPES = ... # type: Any
SENTINEL_STATE_TYPES = ... # type: Any
def parse_sentinel_state(item): ...
def parse_sentinel_master(response): ...
@@ -36,11 +36,11 @@ def parse_zscan(response, **options): ...
def parse_slowlog_get(response, **options): ...
class StrictRedis:
RESPONSE_CALLBACKS = ... # type: Any
RESPONSE_CALLBACKS = ... # type: Any
@classmethod
def from_url(cls, url, db=..., **kwargs): ...
connection_pool = ... # type: Any
response_callbacks = ... # type: Any
connection_pool = ... # type: Any
response_callbacks = ... # type: Any
def __init__(self, host=..., port=..., db=..., password=..., socket_timeout=..., socket_connect_timeout=..., socket_keepalive=..., socket_keepalive_options=..., connection_pool=..., unix_socket_path=..., encoding=..., encoding_errors=..., charset=..., errors=..., decode_responses=..., retry_on_timeout=..., ssl=..., ssl_keyfile=..., ssl_certfile=..., ssl_cert_reqs=..., ssl_ca_certs=...) -> None: ...
def set_response_callback(self, command, callback): ...
def pipeline(self, transaction=..., shard_hint=...): ...
@@ -93,7 +93,7 @@ class StrictRedis:
def __delitem__(self, name): ...
def dump(self, name): ...
def exists(self, name): ...
__contains__ = ... # type: Any
__contains__ = ... # type: Any
def expire(self, name, time): ...
def expireat(self, name, when): ...
def get(self, name): ...
@@ -215,26 +215,26 @@ class StrictRedis:
def register_script(self, script): ...
class Redis(StrictRedis):
RESPONSE_CALLBACKS = ... # type: Any
RESPONSE_CALLBACKS = ... # type: Any
def pipeline(self, transaction=..., shard_hint=...): ...
def setex(self, name, value, time): ...
def lrem(self, name, value, num=...): ...
def zadd(self, name, *args, **kwargs): ...
class PubSub:
PUBLISH_MESSAGE_TYPES = ... # type: Any
UNSUBSCRIBE_MESSAGE_TYPES = ... # type: Any
connection_pool = ... # type: Any
shard_hint = ... # type: Any
ignore_subscribe_messages = ... # type: Any
connection = ... # type: Any
encoding = ... # type: Any
encoding_errors = ... # type: Any
decode_responses = ... # type: Any
PUBLISH_MESSAGE_TYPES = ... # type: Any
UNSUBSCRIBE_MESSAGE_TYPES = ... # type: Any
connection_pool = ... # type: Any
shard_hint = ... # type: Any
ignore_subscribe_messages = ... # type: Any
connection = ... # type: Any
encoding = ... # type: Any
encoding_errors = ... # type: Any
decode_responses = ... # type: Any
def __init__(self, connection_pool, shard_hint=..., ignore_subscribe_messages=...) -> None: ...
def __del__(self): ...
channels = ... # type: Any
patterns = ... # type: Any
channels = ... # type: Any
patterns = ... # type: Any
def reset(self): ...
def close(self): ...
def on_connect(self, connection): ...
@@ -253,21 +253,21 @@ class PubSub:
def run_in_thread(self, sleep_time=...): ...
class BasePipeline:
UNWATCH_COMMANDS = ... # type: Any
connection_pool = ... # type: Any
connection = ... # type: Any
response_callbacks = ... # type: Any
transaction = ... # type: Any
shard_hint = ... # type: Any
watching = ... # type: Any
UNWATCH_COMMANDS = ... # type: Any
connection_pool = ... # type: Any
connection = ... # type: Any
response_callbacks = ... # type: Any
transaction = ... # type: Any
shard_hint = ... # type: Any
watching = ... # type: Any
def __init__(self, connection_pool, response_callbacks, transaction, shard_hint) -> None: ...
def __enter__(self): ...
def __exit__(self, exc_type, exc_value, traceback): ...
def __del__(self): ...
def __len__(self): ...
command_stack = ... # type: Any
scripts = ... # type: Any
explicit_transaction = ... # type: Any
command_stack = ... # type: Any
scripts = ... # type: Any
explicit_transaction = ... # type: Any
def reset(self): ...
def multi(self): ...
def execute_command(self, *args, **kwargs): ...
@@ -286,8 +286,8 @@ class StrictPipeline(BasePipeline, StrictRedis): ...
class Pipeline(BasePipeline, Redis): ...
class Script:
registered_client = ... # type: Any
script = ... # type: Any
sha = ... # type: Any
registered_client = ... # type: Any
script = ... # type: Any
sha = ... # type: Any
def __init__(self, registered_client, script) -> None: ...
def __call__(self, keys=..., args=..., client=...): ...

View File

@@ -4,30 +4,30 @@
from typing import Any
ssl_available = ... # type: Any
hiredis_version = ... # type: Any
HIREDIS_SUPPORTS_CALLABLE_ERRORS = ... # type: Any
HIREDIS_SUPPORTS_BYTE_BUFFER = ... # type: Any
msg = ... # type: Any
HIREDIS_USE_BYTE_BUFFER = ... # type: Any
SYM_STAR = ... # type: Any
SYM_DOLLAR = ... # type: Any
SYM_CRLF = ... # type: Any
SYM_EMPTY = ... # type: Any
SERVER_CLOSED_CONNECTION_ERROR = ... # type: Any
ssl_available = ... # type: Any
hiredis_version = ... # type: Any
HIREDIS_SUPPORTS_CALLABLE_ERRORS = ... # type: Any
HIREDIS_SUPPORTS_BYTE_BUFFER = ... # type: Any
msg = ... # type: Any
HIREDIS_USE_BYTE_BUFFER = ... # type: Any
SYM_STAR = ... # type: Any
SYM_DOLLAR = ... # type: Any
SYM_CRLF = ... # type: Any
SYM_EMPTY = ... # type: Any
SERVER_CLOSED_CONNECTION_ERROR = ... # type: Any
class Token:
value = ... # type: Any
value = ... # type: Any
def __init__(self, value) -> None: ...
class BaseParser:
EXCEPTION_CLASSES = ... # type: Any
EXCEPTION_CLASSES = ... # type: Any
def parse_error(self, response): ...
class SocketBuffer:
socket_read_size = ... # type: Any
bytes_written = ... # type: Any
bytes_read = ... # type: Any
socket_read_size = ... # type: Any
bytes_written = ... # type: Any
bytes_read = ... # type: Any
def __init__(self, socket, socket_read_size) -> None: ...
@property
def length(self): ...
@@ -37,8 +37,8 @@ class SocketBuffer:
def close(self): ...
class PythonParser(BaseParser):
encoding = ... # type: Any
socket_read_size = ... # type: Any
encoding = ... # type: Any
socket_read_size = ... # type: Any
def __init__(self, socket_read_size) -> None: ...
def __del__(self): ...
def on_connect(self, connection): ...
@@ -47,7 +47,7 @@ class PythonParser(BaseParser):
def read_response(self): ...
class HiredisParser(BaseParser):
socket_read_size = ... # type: Any
socket_read_size = ... # type: Any
def __init__(self, socket_read_size) -> None: ...
def __del__(self): ...
def on_connect(self, connection): ...
@@ -55,23 +55,23 @@ class HiredisParser(BaseParser):
def can_read(self): ...
def read_response(self): ...
DefaultParser = ... # type: Any
DefaultParser = ... # type: Any
class Connection:
description_format = ... # type: Any
pid = ... # type: Any
host = ... # type: Any
port = ... # type: Any
db = ... # type: Any
password = ... # type: Any
socket_timeout = ... # type: Any
socket_connect_timeout = ... # type: Any
socket_keepalive = ... # type: Any
socket_keepalive_options = ... # type: Any
retry_on_timeout = ... # type: Any
encoding = ... # type: Any
encoding_errors = ... # type: Any
decode_responses = ... # type: Any
description_format = ... # type: Any
pid = ... # type: Any
host = ... # type: Any
port = ... # type: Any
db = ... # type: Any
password = ... # type: Any
socket_timeout = ... # type: Any
socket_connect_timeout = ... # type: Any
socket_keepalive = ... # type: Any
socket_keepalive_options = ... # type: Any
retry_on_timeout = ... # type: Any
encoding = ... # type: Any
encoding_errors = ... # type: Any
decode_responses = ... # type: Any
def __init__(self, host=..., port=..., db=..., password=..., socket_timeout=..., socket_connect_timeout=..., socket_keepalive=..., socket_keepalive_options=..., retry_on_timeout=..., encoding=..., encoding_errors=..., decode_responses=..., parser_class=..., socket_read_size=...) -> None: ...
def __del__(self): ...
def register_connect_callback(self, callback): ...
@@ -88,34 +88,34 @@ class Connection:
def pack_commands(self, commands): ...
class SSLConnection(Connection):
description_format = ... # type: Any
keyfile = ... # type: Any
certfile = ... # type: Any
cert_reqs = ... # type: Any
ca_certs = ... # type: Any
description_format = ... # type: Any
keyfile = ... # type: Any
certfile = ... # type: Any
cert_reqs = ... # type: Any
ca_certs = ... # type: Any
def __init__(self, ssl_keyfile=..., ssl_certfile=..., ssl_cert_reqs=..., ssl_ca_certs=..., **kwargs) -> None: ...
class UnixDomainSocketConnection(Connection):
description_format = ... # type: Any
pid = ... # type: Any
path = ... # type: Any
db = ... # type: Any
password = ... # type: Any
socket_timeout = ... # type: Any
retry_on_timeout = ... # type: Any
encoding = ... # type: Any
encoding_errors = ... # type: Any
decode_responses = ... # type: Any
description_format = ... # type: Any
pid = ... # type: Any
path = ... # type: Any
db = ... # type: Any
password = ... # type: Any
socket_timeout = ... # type: Any
retry_on_timeout = ... # type: Any
encoding = ... # type: Any
encoding_errors = ... # type: Any
decode_responses = ... # type: Any
def __init__(self, path=..., db=..., password=..., socket_timeout=..., encoding=..., encoding_errors=..., decode_responses=..., retry_on_timeout=..., parser_class=..., socket_read_size=...) -> None: ...
class ConnectionPool:
@classmethod
def from_url(cls, url, db=..., **kwargs): ...
connection_class = ... # type: Any
connection_kwargs = ... # type: Any
max_connections = ... # type: Any
connection_class = ... # type: Any
connection_kwargs = ... # type: Any
max_connections = ... # type: Any
def __init__(self, connection_class=..., max_connections=..., **connection_kwargs) -> None: ...
pid = ... # type: Any
pid = ... # type: Any
def reset(self): ...
def get_connection(self, command_name, *keys, **options): ...
def make_connection(self): ...
@@ -123,11 +123,11 @@ class ConnectionPool:
def disconnect(self): ...
class BlockingConnectionPool(ConnectionPool):
queue_class = ... # type: Any
timeout = ... # type: Any
queue_class = ... # type: Any
timeout = ... # type: Any
def __init__(self, max_connections=..., timeout=..., connection_class=..., queue_class=..., **connection_kwargs) -> None: ...
pid = ... # type: Any
pool = ... # type: Any
pid = ... # type: Any
pool = ... # type: Any
def reset(self): ...
def make_connection(self): ...
def get_connection(self, command_name, *keys, **options): ...

View File

@@ -4,7 +4,7 @@
from typing import Any
HIREDIS_AVAILABLE = ... # type: Any
HIREDIS_AVAILABLE = ... # type: Any
def from_url(url, db=..., **kwargs): ...
def pipeline(redis_obj): ...

View File

@@ -12,7 +12,7 @@ __title__ = ... # type: Any
__build__ = ... # type: Any
__license__ = ... # type: Any
__copyright__ = ... # type: Any
__version__ = ... # type: Any
__version__ = ... # type: Any
Request = models.Request
Response = models.Response

View File

@@ -14,8 +14,8 @@ HTTPHeaderDict = _collections.HTTPHeaderDict
ProtocolError = exceptions.ProtocolError
DecodeError = exceptions.DecodeError
ReadTimeoutError = exceptions.ReadTimeoutError
binary_type = str # six.binary_type
PY3 = True # six.PY3
binary_type = str # six.binary_type
PY3 = True # six.PY3
is_fp_closed = response.is_fp_closed
class DeflateDecoder:

View File

@@ -44,7 +44,7 @@ get_auth_from_url = utils.get_auth_from_url
codes = status_codes.codes
REDIRECT_STATI = models.REDIRECT_STATI
REDIRECT_CACHE_SIZE = ... # type: Any
REDIRECT_CACHE_SIZE = ... # type: Any
def merge_setting(request_setting, session_setting, dict_class=...): ...
def merge_hooks(request_hooks, session_hooks, dict_class=...): ...
@@ -56,20 +56,20 @@ class SessionRedirectMixin:
def rebuild_proxies(self, prepared_request, proxies): ...
class Session(SessionRedirectMixin):
__attrs__ = ... # type: Any
headers = ... # type: Optional[MutableMapping[Text, Text]]
auth = ... # type: Union[None, Tuple[Text, Text], Callable[[Request], Request]]
proxies = ... # type: Optional[MutableMapping[Text, Text]]
hooks = ... # type: Optional[MutableMapping[Text, Callable[[Request], Any]]]
params = ... # type: Union[None, bytes, MutableMapping[Text, Text]]
stream = ... # type: bool
verify = ... # type: bool
cert = ... # type: Union[None, Text, Tuple[Text, Text]]
max_redirects = ... # type: int
trust_env = ... # type: bool
cookies = ... # type: Union[None, RequestsCookieJar, MutableMapping[Text, Text]]
adapters = ... # type: MutableMapping
redirect_cache = ... # type: RecentlyUsedContainer
__attrs__ = ... # type: Any
headers = ... # type: Optional[MutableMapping[Text, Text]]
auth = ... # type: Union[None, Tuple[Text, Text], Callable[[Request], Request]]
proxies = ... # type: Optional[MutableMapping[Text, Text]]
hooks = ... # type: Optional[MutableMapping[Text, Callable[[Request], Any]]]
params = ... # type: Union[None, bytes, MutableMapping[Text, Text]]
stream = ... # type: bool
verify = ... # type: bool
cert = ... # type: Union[None, Text, Tuple[Text, Text]]
max_redirects = ... # type: int
trust_env = ... # type: bool
cookies = ... # type: Union[None, RequestsCookieJar, MutableMapping[Text, Text]]
adapters = ... # type: MutableMapping
redirect_cache = ... # type: RecentlyUsedContainer
def __init__(self) -> None: ...
def __enter__(self) -> 'Session': ...
def __exit__(self, *args) -> None: ...

View File

@@ -4,8 +4,8 @@
from typing import Any
COLLECTION_ACTIONS = ... # type: Any
MEMBER_ACTIONS = ... # type: Any
COLLECTION_ACTIONS = ... # type: Any
MEMBER_ACTIONS = ... # type: Any
def strip_slashes(name): ...
@@ -14,12 +14,12 @@ class SubMapperParent:
def collection(self, collection_name, resource_name, path_prefix=..., member_prefix=..., controller=..., collection_actions=..., member_actions=..., member_options=..., **kwargs): ...
class SubMapper(SubMapperParent):
kwargs = ... # type: Any
obj = ... # type: Any
collection_name = ... # type: Any
member = ... # type: Any
resource_name = ... # type: Any
formatted = ... # type: Any
kwargs = ... # type: Any
obj = ... # type: Any
collection_name = ... # type: Any
member = ... # type: Any
resource_name = ... # type: Any
formatted = ... # type: Any
def __init__(self, obj, resource_name=..., collection_name=..., actions=..., formatted=..., **kwargs) -> None: ...
def connect(self, *args, **kwargs): ...
def link(self, rel=..., name=..., action=..., method=..., formatted=..., **kwargs): ...
@@ -36,35 +36,35 @@ class SubMapper(SubMapperParent):
def __exit__(self, type, value, tb): ...
class Mapper(SubMapperParent):
matchlist = ... # type: Any
maxkeys = ... # type: Any
minkeys = ... # type: Any
urlcache = ... # type: Any
prefix = ... # type: Any
req_data = ... # type: Any
directory = ... # type: Any
always_scan = ... # type: Any
controller_scan = ... # type: Any
debug = ... # type: Any
append_slash = ... # type: Any
sub_domains = ... # type: Any
sub_domains_ignore = ... # type: Any
domain_match = ... # type: Any
explicit = ... # type: Any
encoding = ... # type: Any
decode_errors = ... # type: Any
hardcode_names = ... # type: Any
minimization = ... # type: Any
create_regs_lock = ... # type: Any
matchlist = ... # type: Any
maxkeys = ... # type: Any
minkeys = ... # type: Any
urlcache = ... # type: Any
prefix = ... # type: Any
req_data = ... # type: Any
directory = ... # type: Any
always_scan = ... # type: Any
controller_scan = ... # type: Any
debug = ... # type: Any
append_slash = ... # type: Any
sub_domains = ... # type: Any
sub_domains_ignore = ... # type: Any
domain_match = ... # type: Any
explicit = ... # type: Any
encoding = ... # type: Any
decode_errors = ... # type: Any
hardcode_names = ... # type: Any
minimization = ... # type: Any
create_regs_lock = ... # type: Any
def __init__(self, controller_scan=..., directory=..., always_scan=..., register=..., explicit=...) -> None: ...
environ = ... # type: Any
environ = ... # type: Any
def extend(self, routes, path_prefix=...): ...
def make_route(self, *args, **kargs): ...
def connect(self, *args, **kargs): ...
def create_regs(self, *args, **kwargs): ...
def match(self, url=..., environ=...): ...
def routematch(self, url=..., environ=...): ...
obj = ... # type: Any
obj = ... # type: Any
def generate(self, *args, **kargs): ...
def resource(self, member_name, collection_name, **kwargs): ...
def redirect(self, match_path, destination_path, *args, **kwargs): ...

View File

@@ -11,8 +11,8 @@ class GenerationException(RoutesException): ...
def url_for(*args, **kargs): ...
class URLGenerator:
mapper = ... # type: Any
environ = ... # type: Any
mapper = ... # type: Any
environ = ... # type: Any
def __init__(self, mapper, environ) -> None: ...
def __call__(self, *args, **kargs): ...
def current(self, *args, **kwargs): ...

View File

@@ -23,8 +23,8 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
def process_Log(self, seqid, iprot, oprot): ...
class Log_args:
thrift_spec = ... # type: Any
messages = ... # type: Any
thrift_spec = ... # type: Any
messages = ... # type: Any
def __init__(self, messages=...) -> None: ...
def read(self, iprot): ...
def write(self, oprot): ...
@@ -33,8 +33,8 @@ class Log_args:
def __ne__(self, other): ...
class Log_result:
thrift_spec = ... # type: Any
success = ... # type: Any
thrift_spec = ... # type: Any
success = ... # type: Any
def __init__(self, success=...) -> None: ...
def read(self, iprot): ...
def write(self, oprot): ...

View File

@@ -4,16 +4,16 @@
from typing import Any
fastbinary = ... # type: Any
fastbinary = ... # type: Any
class ResultCode:
OK = ... # type: Any
TRY_LATER = ... # type: Any
OK = ... # type: Any
TRY_LATER = ... # type: Any
class LogEntry:
thrift_spec = ... # type: Any
category = ... # type: Any
message = ... # type: Any
thrift_spec = ... # type: Any
category = ... # type: Any
message = ... # type: Any
def __init__(self, category=..., message=...) -> None: ...
def read(self, iprot): ...
def write(self, oprot): ...

View File

@@ -12,11 +12,11 @@ Capabilities = Dict[basestring, Any]
ExecuteResult = Dict[basestring, Any] # containing 'success', 'value', 'sessionId'
class WebDriver:
command_executor = ... # type: basestring
session_id = ... # type: Any
capabilities = ... # type: Capabilities
error_handler = ... # type: ErrorHandler
file_detector = ... # type: FileDetector
command_executor = ... # type: basestring
session_id = ... # type: Any
capabilities = ... # type: Capabilities
error_handler = ... # type: ErrorHandler
file_detector = ... # type: FileDetector
def __init__(self,
command_executor: basestring='',
desired_capabilities: Capabilities=None,
@@ -30,7 +30,7 @@ class WebDriver:
def name(self) -> basestring: ...
def start_client(self): ...
def stop_client(self): ...
w3c = ... # type: Any
w3c = ... # type: Any
def start_session(self, desired_capabilities, browser_profile=None): ...
def create_web_element(self, element_id: basestring) -> WebElement: ...
def execute(self, driver_command: basestring, params: Optional[Dict[basestring, Any]]=None) -> ExecuteResult: ...
@@ -89,7 +89,7 @@ class WebDriver:
@property
def desired_capabilities(self): ...
def get_screenshot_as_file(self, filename): ...
save_screenshot = ... # type: Any
save_screenshot = ... # type: Any
def get_screenshot_as_png(self): ...
def get_screenshot_as_base64(self): ...
def set_window_size(self, width, height, windowHandle=''): ...

View File

@@ -27,7 +27,7 @@ class_types = (type, types.ClassType)
text_type = unicode
binary_type = str
MAXSIZE = ... # type: int
MAXSIZE = ... # type: int
#def add_move
#def remove_move

View File

@@ -121,4 +121,4 @@ from . import pool as pool
from .inspection import inspect
from .engine import create_engine, engine_from_config
__version__ = ... # type: int
__version__ = ... # type: int

View File

@@ -19,35 +19,35 @@ BLOB = types.BLOB
BINARY = types.BINARY
VARBINARY = types.VARBINARY
RESERVED_WORDS = ... # type: Any
AUTOCOMMIT_RE = ... # type: Any
SET_RE = ... # type: Any
RESERVED_WORDS = ... # type: Any
AUTOCOMMIT_RE = ... # type: Any
SET_RE = ... # type: Any
class _NumericType:
unsigned = ... # type: Any
zerofill = ... # type: Any
unsigned = ... # type: Any
zerofill = ... # type: Any
def __init__(self, unsigned=..., zerofill=..., **kw) -> None: ...
class _FloatType(_NumericType,
## sqltypes.Float
):
scale = ... # type: Any
scale = ... # type: Any
def __init__(self, precision=..., scale=..., asdecimal=..., **kw) -> None: ...
class _IntegerType(_NumericType,
## sqltypes.Integer
):
display_width = ... # type: Any
display_width = ... # type: Any
def __init__(self, display_width=..., **kw) -> None: ...
class _StringType(object,
## sqltypes.String
):
charset = ... # type: Any
ascii = ... # type: Any
unicode = ... # type: Any
binary = ... # type: Any
national = ... # type: Any
charset = ... # type: Any
ascii = ... # type: Any
unicode = ... # type: Any
binary = ... # type: Any
national = ... # type: Any
def __init__(self, charset=..., collation=..., ascii=..., binary=..., unicode=..., national=..., **kw) -> None: ...
class _MatchType(object,
@@ -59,205 +59,205 @@ class _MatchType(object,
class NUMERIC(_NumericType,
## sqltypes.NUMERIC
):
__visit_name__ = ... # type: Any
__visit_name__ = ... # type: Any
def __init__(self, precision=..., scale=..., asdecimal=..., **kw) -> None: ...
class DECIMAL(_NumericType,
## sqltypes.DECIMAL
):
__visit_name__ = ... # type: Any
__visit_name__ = ... # type: Any
def __init__(self, precision=..., scale=..., asdecimal=..., **kw) -> None: ...
class DOUBLE(_FloatType):
__visit_name__ = ... # type: Any
__visit_name__ = ... # type: Any
def __init__(self, precision=..., scale=..., asdecimal=..., **kw) -> None: ...
class REAL(_FloatType,
## sqltypes.REAL
):
__visit_name__ = ... # type: Any
__visit_name__ = ... # type: Any
def __init__(self, precision=..., scale=..., asdecimal=..., **kw) -> None: ...
class FLOAT(_FloatType,
## sqltypes.FLOAT
):
__visit_name__ = ... # type: Any
__visit_name__ = ... # type: Any
def __init__(self, precision=..., scale=..., asdecimal=..., **kw) -> None: ...
def bind_processor(self, dialect): ...
class INTEGER(_IntegerType,
## sqltypes.INTEGER
):
__visit_name__ = ... # type: Any
__visit_name__ = ... # type: Any
def __init__(self, display_width=..., **kw) -> None: ...
class BIGINT(_IntegerType,
## sqltypes.BIGINT
):
__visit_name__ = ... # type: Any
__visit_name__ = ... # type: Any
def __init__(self, display_width=..., **kw) -> None: ...
class MEDIUMINT(_IntegerType):
__visit_name__ = ... # type: Any
__visit_name__ = ... # type: Any
def __init__(self, display_width=..., **kw) -> None: ...
class TINYINT(_IntegerType):
__visit_name__ = ... # type: Any
__visit_name__ = ... # type: Any
def __init__(self, display_width=..., **kw) -> None: ...
class SMALLINT(_IntegerType,
## sqltypes.SMALLINT
):
__visit_name__ = ... # type: Any
__visit_name__ = ... # type: Any
def __init__(self, display_width=..., **kw) -> None: ...
class BIT(object,
## sqltypes.TypeEngine
):
__visit_name__ = ... # type: Any
length = ... # type: Any
__visit_name__ = ... # type: Any
length = ... # type: Any
def __init__(self, length=...) -> None: ...
def result_processor(self, dialect, coltype): ...
class TIME(object,
## sqltypes.TIME
):
__visit_name__ = ... # type: Any
fsp = ... # type: Any
__visit_name__ = ... # type: Any
fsp = ... # type: Any
def __init__(self, timezone=..., fsp=...) -> None: ...
def result_processor(self, dialect, coltype): ...
class TIMESTAMP(object,
## sqltypes.TIMESTAMP
):
__visit_name__ = ... # type: Any
fsp = ... # type: Any
__visit_name__ = ... # type: Any
fsp = ... # type: Any
def __init__(self, timezone=..., fsp=...) -> None: ...
class DATETIME(object,
## sqltypes.DATETIME
):
__visit_name__ = ... # type: Any
fsp = ... # type: Any
__visit_name__ = ... # type: Any
fsp = ... # type: Any
def __init__(self, timezone=..., fsp=...) -> None: ...
class YEAR(object,
## sqltypes.TypeEngine
):
__visit_name__ = ... # type: Any
display_width = ... # type: Any
__visit_name__ = ... # type: Any
display_width = ... # type: Any
def __init__(self, display_width=...) -> None: ...
class TEXT(_StringType,
## sqltypes.TEXT
):
__visit_name__ = ... # type: Any
__visit_name__ = ... # type: Any
def __init__(self, length=..., **kw) -> None: ...
class TINYTEXT(_StringType):
__visit_name__ = ... # type: Any
__visit_name__ = ... # type: Any
def __init__(self, **kwargs) -> None: ...
class MEDIUMTEXT(_StringType):
__visit_name__ = ... # type: Any
__visit_name__ = ... # type: Any
def __init__(self, **kwargs) -> None: ...
class LONGTEXT(_StringType):
__visit_name__ = ... # type: Any
__visit_name__ = ... # type: Any
def __init__(self, **kwargs) -> None: ...
class VARCHAR(_StringType,
## sqltypes.VARCHAR
):
__visit_name__ = ... # type: Any
__visit_name__ = ... # type: Any
def __init__(self, length=..., **kwargs) -> None: ...
class CHAR(_StringType,
## sqltypes.CHAR
):
__visit_name__ = ... # type: Any
__visit_name__ = ... # type: Any
def __init__(self, length=..., **kwargs) -> None: ...
class NVARCHAR(_StringType,
## sqltypes.NVARCHAR
):
__visit_name__ = ... # type: Any
__visit_name__ = ... # type: Any
def __init__(self, length=..., **kwargs) -> None: ...
class NCHAR(_StringType,
## sqltypes.NCHAR
):
__visit_name__ = ... # type: Any
__visit_name__ = ... # type: Any
def __init__(self, length=..., **kwargs) -> None: ...
class TINYBLOB(object,
## sqltypes._Binary
):
__visit_name__ = ... # type: Any
__visit_name__ = ... # type: Any
class MEDIUMBLOB(object,
## sqltypes._Binary
):
__visit_name__ = ... # type: Any
__visit_name__ = ... # type: Any
class LONGBLOB(object,
## sqltypes._Binary
):
__visit_name__ = ... # type: Any
__visit_name__ = ... # type: Any
class _EnumeratedValues(_StringType): ...
class ENUM(## sqltypes.Enum,
class ENUM( # sqltypes.Enum,
_EnumeratedValues
):
__visit_name__ = ... # type: Any
strict = ... # type: Any
__visit_name__ = ... # type: Any
strict = ... # type: Any
def __init__(self, *enums, **kw) -> None: ...
def bind_processor(self, dialect): ...
def adapt(self, cls, **kw): ...
class SET(_EnumeratedValues):
__visit_name__ = ... # type: Any
retrieve_as_bitwise = ... # type: Any
values = ... # type: Any
__visit_name__ = ... # type: Any
retrieve_as_bitwise = ... # type: Any
values = ... # type: Any
def __init__(self, *values, **kw) -> None: ...
def column_expression(self, colexpr): ...
def result_processor(self, dialect, coltype): ...
def bind_processor(self, dialect): ...
def adapt(self, impltype, **kw): ...
MSTime = ... # type: Any
MSSet = ... # type: Any
MSEnum = ... # type: Any
MSLongBlob = ... # type: Any
MSMediumBlob = ... # type: Any
MSTinyBlob = ... # type: Any
MSBlob = ... # type: Any
MSBinary = ... # type: Any
MSVarBinary = ... # type: Any
MSNChar = ... # type: Any
MSNVarChar = ... # type: Any
MSChar = ... # type: Any
MSString = ... # type: Any
MSLongText = ... # type: Any
MSMediumText = ... # type: Any
MSTinyText = ... # type: Any
MSText = ... # type: Any
MSYear = ... # type: Any
MSTimeStamp = ... # type: Any
MSBit = ... # type: Any
MSSmallInteger = ... # type: Any
MSTinyInteger = ... # type: Any
MSMediumInteger = ... # type: Any
MSBigInteger = ... # type: Any
MSNumeric = ... # type: Any
MSDecimal = ... # type: Any
MSDouble = ... # type: Any
MSReal = ... # type: Any
MSFloat = ... # type: Any
MSInteger = ... # type: Any
colspecs = ... # type: Any
ischema_names = ... # type: Any
MSTime = ... # type: Any
MSSet = ... # type: Any
MSEnum = ... # type: Any
MSLongBlob = ... # type: Any
MSMediumBlob = ... # type: Any
MSTinyBlob = ... # type: Any
MSBlob = ... # type: Any
MSBinary = ... # type: Any
MSVarBinary = ... # type: Any
MSNChar = ... # type: Any
MSNVarChar = ... # type: Any
MSChar = ... # type: Any
MSString = ... # type: Any
MSLongText = ... # type: Any
MSMediumText = ... # type: Any
MSTinyText = ... # type: Any
MSText = ... # type: Any
MSYear = ... # type: Any
MSTimeStamp = ... # type: Any
MSBit = ... # type: Any
MSSmallInteger = ... # type: Any
MSTinyInteger = ... # type: Any
MSMediumInteger = ... # type: Any
MSBigInteger = ... # type: Any
MSNumeric = ... # type: Any
MSDecimal = ... # type: Any
MSDouble = ... # type: Any
MSReal = ... # type: Any
MSFloat = ... # type: Any
MSInteger = ... # type: Any
colspecs = ... # type: Any
ischema_names = ... # type: Any
class MySQLExecutionContext(object,
## default.DefaultExecutionContext
@@ -267,8 +267,8 @@ class MySQLExecutionContext(object,
class MySQLCompiler(object,
## compiler.SQLCompiler
):
render_table_with_column_in_update_from = ... # type: Any
extract_map = ... # type: Any
render_table_with_column_in_update_from = ... # type: Any
extract_map = ... # type: Any
def visit_random_func(self, fn, **kw): ...
def visit_utc_timestamp_func(self, fn, **kw): ...
def visit_sysdate_func(self, fn, **kw): ...
@@ -341,30 +341,30 @@ class MySQLTypeCompiler(object,
class MySQLIdentifierPreparer(object,
## compiler.IdentifierPreparer
):
reserved_words = ... # type: Any
reserved_words = ... # type: Any
def __init__(self, dialect, server_ansiquotes=..., **kw) -> None: ...
class MySQLDialect(object,
## default.DefaultDialect
):
name = ... # type: Any
supports_alter = ... # type: Any
supports_native_boolean = ... # type: Any
max_identifier_length = ... # type: Any
max_index_name_length = ... # type: Any
supports_native_enum = ... # type: Any
supports_sane_rowcount = ... # type: Any
supports_sane_multi_rowcount = ... # type: Any
supports_multivalues_insert = ... # type: Any
default_paramstyle = ... # type: Any
colspecs = ... # type: Any
statement_compiler = ... # type: Any
ddl_compiler = ... # type: Any
type_compiler = ... # type: Any
ischema_names = ... # type: Any
preparer = ... # type: Any
construct_arguments = ... # type: Any
isolation_level = ... # type: Any
name = ... # type: Any
supports_alter = ... # type: Any
supports_native_boolean = ... # type: Any
max_identifier_length = ... # type: Any
max_index_name_length = ... # type: Any
supports_native_enum = ... # type: Any
supports_sane_rowcount = ... # type: Any
supports_sane_multi_rowcount = ... # type: Any
supports_multivalues_insert = ... # type: Any
default_paramstyle = ... # type: Any
colspecs = ... # type: Any
statement_compiler = ... # type: Any
ddl_compiler = ... # type: Any
type_compiler = ... # type: Any
ischema_names = ... # type: Any
preparer = ... # type: Any
construct_arguments = ... # type: Any
isolation_level = ... # type: Any
def __init__(self, isolation_level=..., **kwargs) -> None: ...
def on_connect(self): ...
def set_isolation_level(self, connection, level): ...
@@ -378,7 +378,7 @@ class MySQLDialect(object,
def do_recover_twophase(self, connection): ...
def is_disconnect(self, e, connection, cursor): ...
def has_table(self, connection, table_name, schema=...): ...
identifier_preparer = ... # type: Any
identifier_preparer = ... # type: Any
def initialize(self, connection): ...
def get_schema_names(self, connection, **kw): ...
def get_table_names(self, connection, schema=..., **kw): ...
@@ -392,22 +392,22 @@ class MySQLDialect(object,
def get_view_definition(self, connection, view_name, schema=..., **kw): ...
class ReflectedState:
columns = ... # type: Any
table_options = ... # type: Any
table_name = ... # type: Any
keys = ... # type: Any
constraints = ... # type: Any
columns = ... # type: Any
table_options = ... # type: Any
table_name = ... # type: Any
keys = ... # type: Any
constraints = ... # type: Any
def __init__(self) -> None: ...
class MySQLTableDefinitionParser:
dialect = ... # type: Any
preparer = ... # type: Any
dialect = ... # type: Any
preparer = ... # type: Any
def __init__(self, dialect, preparer) -> None: ...
def parse(self, show_create, charset): ...
class _DecodingRowProxy:
rowproxy = ... # type: Any
charset = ... # type: Any
rowproxy = ... # type: Any
charset = ... # type: Any
def __init__(self, rowproxy, charset) -> None: ...
def __getitem__(self, index): ...
def __getattr__(self, attr): ...

View File

@@ -6,7 +6,7 @@ from typing import Any
from . import base
strategies = ... # type: Any
strategies = ... # type: Any
class EngineStrategy:
def __init__(self) -> None: ...
@@ -16,21 +16,21 @@ class DefaultEngineStrategy(EngineStrategy):
def create(self, name_or_url, **kwargs): ...
class PlainEngineStrategy(DefaultEngineStrategy):
name = ... # type: Any
engine_cls = ... # type: Any
name = ... # type: Any
engine_cls = ... # type: Any
class ThreadLocalEngineStrategy(DefaultEngineStrategy):
name = ... # type: Any
engine_cls = ... # type: Any
name = ... # type: Any
engine_cls = ... # type: Any
class MockEngineStrategy(EngineStrategy):
name = ... # type: Any
name = ... # type: Any
def create(self, name_or_url, executor, **kwargs): ...
class MockConnection(base.Connectable):
def __init__(self, dialect, execute) -> None: ...
engine = ... # type: Any
dialect = ... # type: Any
name = ... # type: Any
engine = ... # type: Any
dialect = ... # type: Any
name = ... # type: Any
def contextual_connect(self, **kwargs): ...
def execution_options(self, **kw): ...
def compiler(self, statement, parameters, **kwargs): ...

View File

@@ -8,13 +8,13 @@ from .. import dialects
## registry = dialects.registry
class URL:
drivername = ... # type: Any
username = ... # type: Any
password = ... # type: Any
host = ... # type: Any
port = ... # type: Any
database = ... # type: Any
query = ... # type: Any
drivername = ... # type: Any
username = ... # type: Any
password = ... # type: Any
host = ... # type: Any
port = ... # type: Any
database = ... # type: Any
query = ... # type: Any
def __init__(self, drivername, username=..., password=..., host=..., port=..., database=..., query=...) -> None: ...
def __to_string__(self, hide_password=...): ...
def __hash__(self): ...

View File

@@ -11,8 +11,8 @@ class NoForeignKeysError(ArgumentError): ...
class AmbiguousForeignKeysError(ArgumentError): ...
class CircularDependencyError(SQLAlchemyError):
cycles = ... # type: Any
edges = ... # type: Any
cycles = ... # type: Any
edges = ... # type: Any
def __init__(self, message, cycles, edges, msg=...) -> None: ...
def __reduce__(self): ...
@@ -31,13 +31,13 @@ class NoSuchColumnError(KeyError, InvalidRequestError): ...
class NoReferenceError(InvalidRequestError): ...
class NoReferencedTableError(NoReferenceError):
table_name = ... # type: Any
table_name = ... # type: Any
def __init__(self, message, tname) -> None: ...
def __reduce__(self): ...
class NoReferencedColumnError(NoReferenceError):
table_name = ... # type: Any
column_name = ... # type: Any
table_name = ... # type: Any
column_name = ... # type: Any
def __init__(self, message, tname, cname) -> None: ...
def __reduce__(self): ...
@@ -45,13 +45,13 @@ class NoSuchTableError(InvalidRequestError): ...
class UnboundExecutionError(InvalidRequestError): ...
class DontWrapMixin: ...
UnmappedColumnError = ... # type: Any
UnmappedColumnError = ... # type: Any
class StatementError(SQLAlchemyError):
statement = ... # type: Any
params = ... # type: Any
orig = ... # type: Any
detail = ... # type: Any
statement = ... # type: Any
params = ... # type: Any
orig = ... # type: Any
detail = ... # type: Any
def __init__(self, message, statement, params, orig) -> None: ...
def add_detail(self, msg): ...
def __reduce__(self): ...
@@ -61,7 +61,7 @@ class DBAPIError(StatementError):
@classmethod
def instance(cls, statement, params, orig, dbapi_base_err, connection_invalidated=..., dialect=...): ...
def __reduce__(self): ...
connection_invalidated = ... # type: Any
connection_invalidated = ... # type: Any
def __init__(self, statement, params, orig, connection_invalidated=...) -> None: ...
class InterfaceError(DBAPIError): ...

View File

@@ -1,7 +1,7 @@
import logging
from typing import Any
rootlogger = ... # type: Any
rootlogger = ... # type: Any
class Identified(object):
def _should_log_debug(self) -> bool: ...

View File

@@ -55,41 +55,41 @@ public_factory = langhelpers.public_factory
def create_session(bind=..., **kwargs): ...
relationship = ... # type: Any
relationship = ... # type: Any
def relation(*arg, **kw): ...
def dynamic_loader(argument, **kw): ...
column_property = ... # type: Any
composite = ... # type: Any
column_property = ... # type: Any
composite = ... # type: Any
def backref(name, **kwargs): ...
def deferred(*columns, **kw): ...
synonym = ... # type: Any
comparable_property = ... # type: Any
synonym = ... # type: Any
comparable_property = ... # type: Any
def compile_mappers(): ...
def clear_mappers(): ...
joinedload = ... # type: Any
joinedload_all = ... # type: Any
contains_eager = ... # type: Any
defer = ... # type: Any
undefer = ... # type: Any
undefer_group = ... # type: Any
load_only = ... # type: Any
lazyload = ... # type: Any
lazyload_all = ... # type: Any
subqueryload = ... # type: Any
subqueryload_all = ... # type: Any
immediateload = ... # type: Any
noload = ... # type: Any
defaultload = ... # type: Any
joinedload = ... # type: Any
joinedload_all = ... # type: Any
contains_eager = ... # type: Any
defer = ... # type: Any
undefer = ... # type: Any
undefer_group = ... # type: Any
load_only = ... # type: Any
lazyload = ... # type: Any
lazyload_all = ... # type: Any
subqueryload = ... # type: Any
subqueryload_all = ... # type: Any
immediateload = ... # type: Any
noload = ... # type: Any
defaultload = ... # type: Any
## Load = strategy_options.Load
def eagerload(*args, **kwargs): ...
def eagerload_all(*args, **kwargs): ...
contains_alias = ... # type: Any
contains_alias = ... # type: Any

View File

@@ -13,8 +13,8 @@ class _SessionClassMethods:
def object_session(cls, instance): ...
class SessionTransaction:
session = ... # type: Any
nested = ... # type: Any
session = ... # type: Any
nested = ... # type: Any
def __init__(self, session, parent=..., nested=...) -> None: ...
@property
def is_active(self): ...
@@ -27,17 +27,17 @@ class SessionTransaction:
def __exit__(self, type, value, traceback): ...
class Session(_SessionClassMethods):
public_methods = ... # type: Any
identity_map = ... # type: Any
bind = ... # type: Any
transaction = ... # type: Any
hash_key = ... # type: Any
autoflush = ... # type: Any
autocommit = ... # type: Any
expire_on_commit = ... # type: Any
twophase = ... # type: Any
public_methods = ... # type: Any
identity_map = ... # type: Any
bind = ... # type: Any
transaction = ... # type: Any
hash_key = ... # type: Any
autoflush = ... # type: Any
autocommit = ... # type: Any
expire_on_commit = ... # type: Any
twophase = ... # type: Any
def __init__(self, bind=..., autoflush=..., expire_on_commit=..., _enable_transaction_accounting=..., autocommit=..., twophase=..., weak_identity_map=..., binds=..., extension=..., info=..., query_cls=...) -> None: ...
connection_callable = ... # type: Any
connection_callable = ... # type: Any
def info(self): ...
def begin(self, subtransactions=..., nested=...): ...
def begin_nested(self): ...
@@ -83,8 +83,8 @@ class Session(_SessionClassMethods):
def new(self): ...
class sessionmaker(_SessionClassMethods):
kw = ... # type: Any
class_ = ... # type: Any
kw = ... # type: Any
class_ = ... # type: Any
def __init__(self, bind=..., class_=..., autoflush=..., autocommit=..., expire_on_commit=..., info=..., **kw) -> None: ...
def __call__(self, **local_kw): ...
def configure(self, **new_kw): ...

View File

@@ -10,14 +10,14 @@ threading = util.threading
memoized_property = util.memoized_property
chop_traceback = util.chop_traceback
proxies = ... # type: Any
proxies = ... # type: Any
def manage(module, **params): ...
def clear_managers(): ...
reset_rollback = ... # type: Any
reset_commit = ... # type: Any
reset_none = ... # type: Any
reset_rollback = ... # type: Any
reset_commit = ... # type: Any
reset_none = ... # type: Any
class _ConnDialect:
def do_rollback(self, dbapi_connection): ...
@@ -25,8 +25,8 @@ class _ConnDialect:
def do_close(self, dbapi_connection): ...
class Pool(log.Identified):
logging_name = ... # type: Any
echo = ... # type: Any
logging_name = ... # type: Any
echo = ... # type: Any
def __init__(self, creator, recycle=..., echo=..., use_threadlocal=..., logging_name=..., reset_on_return=..., listeners=..., events=..., _dispatch=..., _dialect=...) -> None: ...
def add_listener(self, listener): ...
def unique_connection(self): ...
@@ -35,31 +35,31 @@ class Pool(log.Identified):
def connect(self): ...
def status(self): ...
_threadconns = ... # type: Any
_creator = ... # type: Any
_recycle = ... # type: Any
_invalidate_time = ... # type: Any
dispatch = ... # type: Any
_dialect = ... # type: Any
_orig_logging_name = ... # type: Any
_reset_on_return = ... # type: Any
_use_threadlocal = ... # type: Any
_threadconns = ... # type: Any
_creator = ... # type: Any
_recycle = ... # type: Any
_invalidate_time = ... # type: Any
dispatch = ... # type: Any
_dialect = ... # type: Any
_orig_logging_name = ... # type: Any
_reset_on_return = ... # type: Any
_use_threadlocal = ... # type: Any
class _ConnectionRecord:
connection = ... # type: Any
finalize_callback = ... # type: Any
connection = ... # type: Any
finalize_callback = ... # type: Any
def __init__(self, pool) -> None: ...
def info(self): ...
@classmethod
def checkout(cls, pool): ...
fairy_ref = ... # type: Any
fairy_ref = ... # type: Any
def checkin(self): ...
def close(self): ...
def invalidate(self, e=..., soft=...): ...
def get_connection(self): ...
class _ConnectionFairy:
connection = ... # type: Any
connection = ... # type: Any
def __init__(self, dbapi_connection, connection_record, echo) -> None: ...
@property
def is_valid(self): ...
@@ -71,7 +71,7 @@ class _ConnectionFairy:
def close(self): ...
class SingletonThreadPool(Pool):
size = ... # type: Any
size = ... # type: Any
def __init__(self, creator, pool_size=..., **kw) -> None: ...
def recreate(self): ...
def dispose(self): ...
@@ -105,10 +105,10 @@ class AssertionPool(Pool):
def recreate(self): ...
class _DBProxy:
module = ... # type: Any
kw = ... # type: Any
poolclass = ... # type: Any
pools = ... # type: Any
module = ... # type: Any
kw = ... # type: Any
poolclass = ... # type: Any
pools = ... # type: Any
def __init__(self, module, poolclass=..., **kw) -> None: ...
def close(self): ...
def __del__(self): ...

View File

@@ -7,8 +7,8 @@ from . import base
from . import selectable
from . import dml
func = functions.func # type: functions._FunctionGenerator
modifier = functions.modifier # type: functions._FunctionGenerator
func = functions.func # type: functions._FunctionGenerator
modifier = functions.modifier # type: functions._FunctionGenerator
from .visitors import Visitable
@@ -28,40 +28,40 @@ from .selectable import Alias, Join, Select, Selectable, TableClause, \
subquery, HasPrefixes, HasSuffixes, Exists, ScalarSelect, TextAsFrom
from .dml import Insert, Update, Delete, UpdateBase, ValuesBase
and_ = ... # type: Any
or_ = ... # type: Any
bindparam = ... # type: Any
select = ... # type: Any
text = ... # type: Any
table = ... # type: Any
column = ... # type: Any
over = ... # type: Any
label = ... # type: Any
case = ... # type: Any
cast = ... # type: Any
extract = ... # type: Any
tuple_ = ... # type: Any
except_ = ... # type: Any
except_all = ... # type: Any
intersect = ... # type: Any
intersect_all = ... # type: Any
union = ... # type: Any
union_all = ... # type: Any
exists = ... # type: Any
nullsfirst = ... # type: Any
nullslast = ... # type: Any
asc = ... # type: Any
desc = ... # type: Any
distinct = ... # type: Any
true = ... # type: Any
false = ... # type: Any
null = ... # type: Any
join = ... # type: Any
outerjoin = ... # type: Any
insert = ... # type: Any
update = ... # type: Any
delete = ... # type: Any
funcfilter = ... # type: Any
and_ = ... # type: Any
or_ = ... # type: Any
bindparam = ... # type: Any
select = ... # type: Any
text = ... # type: Any
table = ... # type: Any
column = ... # type: Any
over = ... # type: Any
label = ... # type: Any
case = ... # type: Any
cast = ... # type: Any
extract = ... # type: Any
tuple_ = ... # type: Any
except_ = ... # type: Any
except_all = ... # type: Any
intersect = ... # type: Any
intersect_all = ... # type: Any
union = ... # type: Any
union_all = ... # type: Any
exists = ... # type: Any
nullsfirst = ... # type: Any
nullslast = ... # type: Any
asc = ... # type: Any
desc = ... # type: Any
distinct = ... # type: Any
true = ... # type: Any
false = ... # type: Any
null = ... # type: Any
join = ... # type: Any
outerjoin = ... # type: Any
insert = ... # type: Any
update = ... # type: Any
delete = ... # type: Any
funcfilter = ... # type: Any
# old names for compatibility
_Executable = Executable

View File

@@ -13,8 +13,8 @@ class _FunctionGenerator(object):
def __getattr__(self, name): ...
def __call__(self, *c, **kwargs) -> Function: ...
func = ... # type: _FunctionGenerator
modifier = ... # type: _FunctionGenerator
func = ... # type: _FunctionGenerator
modifier = ... # type: _FunctionGenerator
class Function(FunctionElement): ...

View File

@@ -36,12 +36,12 @@ class Table(DialectKWArgs, SchemaItem, TableClause):
def create(self, bind=None, checkfirst=False): ...
def drop(self, bind=None, checkfirst=False): ...
def tometadata(self, metadata, schema=None): ...
c = ... # type: ColumnCollection
constraints = ... # type: Set[Constraint]
c = ... # type: ColumnCollection
constraints = ... # type: Set[Constraint]
class Column(SchemaItem, ColumnClause):
primary_key = ... # type: Any
primary_key = ... # type: Any
def __init__(self, *args, **kwargs): ...
def references(self, column): ...
def append_foreign_key(self, fk): ...

View File

@@ -10,7 +10,7 @@ class VisitableType(type):
class Visitable: ...
class ClauseVisitor:
__traverse_options__ = ... # type: Any
__traverse_options__ = ... # type: Any
def traverse_single(self, obj, **kw): ...
def iterate(self, obj): ...
def traverse(self, obj): ...

View File

@@ -9,7 +9,7 @@ threading = compat.threading
itertools_filterfalse = compat.itertools_filterfalse
string_types = compat.string_types
EMPTY_SET = ... # type: Any
EMPTY_SET = ... # type: Any
class AbstractKeyedTuple(tuple):
def keys(self): ...
@@ -23,10 +23,10 @@ class _LW(AbstractKeyedTuple):
def __reduce__(self): ...
class ImmutableContainer:
__delitem__ = ... # type: Any
__delitem__ = ... # type: Any
class immutabledict(ImmutableContainer, dict):
clear = ... # type: Any
clear = ... # type: Any
def __new__(cls, *args): ...
def __init__(self, *args) -> None: ...
def __reduce__(self): ...
@@ -89,21 +89,21 @@ class OrderedSet(set):
def __iter__(self): ...
def __add__(self, other): ...
def update(self, iterable): ...
__ior__ = ... # type: Any
__ior__ = ... # type: Any
def union(self, other): ...
__or__ = ... # type: Any
__or__ = ... # type: Any
def intersection(self, other): ...
__and__ = ... # type: Any
__and__ = ... # type: Any
def symmetric_difference(self, other): ...
__xor__ = ... # type: Any
__xor__ = ... # type: Any
def difference(self, other): ...
__sub__ = ... # type: Any
__sub__ = ... # type: Any
def intersection_update(self, other): ...
__iand__ = ... # type: Any
__iand__ = ... # type: Any
def symmetric_difference_update(self, other): ...
__ixor__ = ... # type: Any
__ixor__ = ... # type: Any
def difference_update(self, other): ...
__isub__ = ... # type: Any
__isub__ = ... # type: Any
class IdentitySet:
def __init__(self, iterable=...) -> None: ...
@@ -139,7 +139,7 @@ class IdentitySet:
def symmetric_difference_update(self, iterable): ...
def __ixor__(self, other): ...
def copy(self): ...
__copy__ = ... # type: Any
__copy__ = ... # type: Any
def __len__(self): ...
def __iter__(self): ...
def __hash__(self): ...
@@ -153,11 +153,11 @@ class WeakSequence:
class OrderedIdentitySet(IdentitySet):
class _working_set(OrderedSet):
__sa_hash_exempt__ = ... # type: Any
__sa_hash_exempt__ = ... # type: Any
def __init__(self, iterable=...) -> None: ...
class PopulateDict(dict):
creator = ... # type: Any
creator = ... # type: Any
def __init__(self, creator) -> None: ...
def __missing__(self, key): ...
@@ -169,7 +169,7 @@ populate_column_dict = PopulateDict
def unique_list(seq, hashfunc=...): ...
class UniqueAppender:
data = ... # type: Any
data = ... # type: Any
def __init__(self, data, via=...) -> None: ...
def append(self, item): ...
def __iter__(self): ...
@@ -183,8 +183,8 @@ def update_copy(d, _new=..., **kw): ...
def flatten_iterator(x): ...
class LRUCache(dict):
capacity = ... # type: Any
threshold = ... # type: Any
capacity = ... # type: Any
threshold = ... # type: Any
def __init__(self, capacity=..., threshold=...) -> None: ...
def get(self, key, default=...): ...
def __getitem__(self, key): ...
@@ -195,9 +195,9 @@ class LRUCache(dict):
def lightweight_named_tuple(name, fields): ...
class ScopedRegistry:
createfunc = ... # type: Any
scopefunc = ... # type: Any
registry = ... # type: Any
createfunc = ... # type: Any
scopefunc = ... # type: Any
registry = ... # type: Any
def __init__(self, createfunc, scopefunc) -> None: ...
def __call__(self): ...
def has(self): ...
@@ -205,8 +205,8 @@ class ScopedRegistry:
def clear(self): ...
class ThreadLocalRegistry(ScopedRegistry):
createfunc = ... # type: Any
registry = ... # type: Any
createfunc = ... # type: Any
registry = ... # type: Any
def __init__(self, createfunc) -> None: ...
def __call__(self): ...
def has(self): ...

View File

@@ -16,33 +16,33 @@ from operator import attrgetter as dottedgetter
from six.moves import zip_longest
py33 = ... # type: Any
py32 = ... # type: Any
py3k = ... # type: Any
py2k = ... # type: Any
py265 = ... # type: Any
jython = ... # type: Any
pypy = ... # type: Any
win32 = ... # type: Any
cpython = ... # type: Any
next = ... # type: Any
safe_kwarg = ... # type: Any
py33 = ... # type: Any
py32 = ... # type: Any
py3k = ... # type: Any
py2k = ... # type: Any
py265 = ... # type: Any
jython = ... # type: Any
pypy = ... # type: Any
win32 = ... # type: Any
cpython = ... # type: Any
next = ... # type: Any
safe_kwarg = ... # type: Any
ArgSpec = namedtuple('ArgSpec', ['args', 'varargs', 'keywords', 'defaults'])
def inspect_getargspec(func): ...
string_types = ... # type: Any
binary_type = ... # type: Any
string_types = ... # type: Any
binary_type = ... # type: Any
text_type = unicode
int_types = ... # type: Any
int_types = ... # type: Any
def callable(fn): ...
def cmp(a, b): ...
itertools_filterfalse = ... # type: Any
itertools_filter = ... # type: Any
itertools_imap = ... # type: Any
itertools_filterfalse = ... # type: Any
itertools_filter = ... # type: Any
itertools_imap = ... # type: Any
def b64encode(x): ...
def b64decode(x): ...
@@ -53,11 +53,11 @@ def ue(s): ...
def b(s): ...
def import_(*args): ...
reduce = ... # type: Any
reduce = ... # type: Any
def print_(*args, **kwargs): ...
time_func = ... # type: Any
time_func = ... # type: Any
def reraise(tp, value, tb=..., cause=...): ...
def raise_from_cause(exception, exc_info=...): ...

View File

@@ -17,9 +17,9 @@ def decorator(target): ...
def public_factory(target, location): ...
class PluginLoader:
group = ... # type: Any
impls = ... # type: Any
auto_fn = ... # type: Any
group = ... # type: Any
impls = ... # type: Any
auto_fn = ... # type: Any
def __init__(self, group, auto_fn=...) -> None: ...
def load(self, name): ...
def register(self, name, modulepath, objname): ...
@@ -35,8 +35,8 @@ def unbound_method_to_callable(func_or_cls): ...
def generic_repr(obj, additional_kw=..., to_inspect=..., omit_kwarg=...): ...
class portable_instancemethod:
target = ... # type: Any
name = ... # type: Any
target = ... # type: Any
name = ... # type: Any
def __init__(self, meth) -> None: ...
def __call__(self, *arg, **kw): ...
@@ -47,8 +47,8 @@ def methods_equivalent(meth1, meth2): ...
def as_interface(obj, cls=..., methods=..., required=...): ...
class memoized_property:
fget = ... # type: Any
__name__ = ... # type: Any
fget = ... # type: Any
__name__ = ... # type: Any
def __init__(self, fget, doc=...) -> None: ...
def __get__(self, obj, cls): ...
@classmethod
@@ -57,7 +57,7 @@ class memoized_property:
def memoized_instancemethod(fn): ...
class group_expirable_memoized_property:
attributes = ... # type: Any
attributes = ... # type: Any
def __init__(self, attributes=...) -> None: ...
def expire_instance(self, instance): ...
def __call__(self, fn): ...
@@ -69,7 +69,7 @@ class MemoizedSlots:
def dependency_for(modulename): ...
class dependencies:
import_deps = ... # type: Any
import_deps = ... # type: Any
def __init__(self, *deps) -> None: ...
def __call__(self, fn): ...
@classmethod
@@ -95,12 +95,12 @@ class classproperty:
def __get__(desc, self, cls): ...
class hybridproperty:
func = ... # type: Any
func = ... # type: Any
def __init__(self, func) -> None: ...
def __get__(self, instance, owner): ...
class hybridmethod:
func = ... # type: Any
func = ... # type: Any
def __init__(self, func) -> None: ...
def __get__(self, instance, owner): ...
@@ -109,7 +109,7 @@ class _symbol(int):
def __reduce__(self): ...
class symbol:
symbols = ... # type: Any
symbols = ... # type: Any
def __new__(cls, name, doc=..., canonical=...): ...
def set_creation_order(instance): ...
@@ -126,7 +126,7 @@ def warn_limited(msg, args): ...
def only_once(fn): ...
def chop_traceback(tb, exclude_prefix=..., exclude_suffix=...): ...
NoneType = ... # type: Any
NoneType = ... # type: Any
def attrsetter(attrname): ...

View File

@@ -5,51 +5,51 @@
from typing import Any
class TType:
STOP = ... # type: Any
VOID = ... # type: Any
BOOL = ... # type: Any
BYTE = ... # type: Any
I08 = ... # type: Any
DOUBLE = ... # type: Any
I16 = ... # type: Any
I32 = ... # type: Any
I64 = ... # type: Any
STRING = ... # type: Any
UTF7 = ... # type: Any
STRUCT = ... # type: Any
MAP = ... # type: Any
SET = ... # type: Any
LIST = ... # type: Any
UTF8 = ... # type: Any
UTF16 = ... # type: Any
STOP = ... # type: Any
VOID = ... # type: Any
BOOL = ... # type: Any
BYTE = ... # type: Any
I08 = ... # type: Any
DOUBLE = ... # type: Any
I16 = ... # type: Any
I32 = ... # type: Any
I64 = ... # type: Any
STRING = ... # type: Any
UTF7 = ... # type: Any
STRUCT = ... # type: Any
MAP = ... # type: Any
SET = ... # type: Any
LIST = ... # type: Any
UTF8 = ... # type: Any
UTF16 = ... # type: Any
class TMessageType:
CALL = ... # type: Any
REPLY = ... # type: Any
EXCEPTION = ... # type: Any
ONEWAY = ... # type: Any
CALL = ... # type: Any
REPLY = ... # type: Any
EXCEPTION = ... # type: Any
ONEWAY = ... # type: Any
class TProcessor:
def process(iprot, oprot): ...
class TException(Exception):
message = ... # type: Any
message = ... # type: Any
def __init__(self, message=...) -> None: ...
class TApplicationException(TException):
UNKNOWN = ... # type: Any
UNKNOWN_METHOD = ... # type: Any
INVALID_MESSAGE_TYPE = ... # type: Any
WRONG_METHOD_NAME = ... # type: Any
BAD_SEQUENCE_ID = ... # type: Any
MISSING_RESULT = ... # type: Any
INTERNAL_ERROR = ... # type: Any
PROTOCOL_ERROR = ... # type: Any
INVALID_TRANSFORM = ... # type: Any
INVALID_PROTOCOL = ... # type: Any
UNSUPPORTED_CLIENT_TYPE = ... # type: Any
type = ... # type: Any
UNKNOWN = ... # type: Any
UNKNOWN_METHOD = ... # type: Any
INVALID_MESSAGE_TYPE = ... # type: Any
WRONG_METHOD_NAME = ... # type: Any
BAD_SEQUENCE_ID = ... # type: Any
MISSING_RESULT = ... # type: Any
INTERNAL_ERROR = ... # type: Any
PROTOCOL_ERROR = ... # type: Any
INVALID_TRANSFORM = ... # type: Any
INVALID_PROTOCOL = ... # type: Any
UNSUPPORTED_CLIENT_TYPE = ... # type: Any
type = ... # type: Any
def __init__(self, type=..., message=...) -> None: ...
message = ... # type: Any
message = ... # type: Any
def read(self, iprot): ...
def write(self, oprot): ...

View File

@@ -7,11 +7,11 @@ from typing import Any
from .TProtocol import *
class TBinaryProtocol(TProtocolBase):
VERSION_MASK = ... # type: Any
VERSION_1 = ... # type: Any
TYPE_MASK = ... # type: Any
strictRead = ... # type: Any
strictWrite = ... # type: Any
VERSION_MASK = ... # type: Any
VERSION_1 = ... # type: Any
TYPE_MASK = ... # type: Any
strictRead = ... # type: Any
strictWrite = ... # type: Any
def __init__(self, trans, strictRead=..., strictWrite=...) -> None: ...
def writeMessageBegin(self, name, type, seqid): ...
def writeMessageEnd(self): ...
@@ -54,8 +54,8 @@ class TBinaryProtocol(TProtocolBase):
def readString(self): ...
class TBinaryProtocolFactory:
strictRead = ... # type: Any
strictWrite = ... # type: Any
strictRead = ... # type: Any
strictWrite = ... # type: Any
def __init__(self, strictRead=..., strictWrite=...) -> None: ...
def getProtocol(self, trans): ...

View File

@@ -7,18 +7,18 @@ from typing import Any
from thrift.Thrift import *
class TProtocolException(TException):
UNKNOWN = ... # type: Any
INVALID_DATA = ... # type: Any
NEGATIVE_SIZE = ... # type: Any
SIZE_LIMIT = ... # type: Any
BAD_VERSION = ... # type: Any
NOT_IMPLEMENTED = ... # type: Any
DEPTH_LIMIT = ... # type: Any
type = ... # type: Any
UNKNOWN = ... # type: Any
INVALID_DATA = ... # type: Any
NEGATIVE_SIZE = ... # type: Any
SIZE_LIMIT = ... # type: Any
BAD_VERSION = ... # type: Any
NOT_IMPLEMENTED = ... # type: Any
DEPTH_LIMIT = ... # type: Any
type = ... # type: Any
def __init__(self, type=..., message=...) -> None: ...
class TProtocolBase:
trans = ... # type: Any
trans = ... # type: Any
def __init__(self, trans) -> None: ...
def writeMessageBegin(self, name, ttype, seqid): ...
def writeMessageEnd(self): ...

View File

@@ -7,13 +7,13 @@ from typing import Any
from .TTransport import *
class TSocketBase(TTransportBase):
handle = ... # type: Any
handle = ... # type: Any
def close(self): ...
class TSocket(TSocketBase):
host = ... # type: Any
port = ... # type: Any
handle = ... # type: Any
host = ... # type: Any
port = ... # type: Any
handle = ... # type: Any
def __init__(self, host=..., port=..., unix_socket=..., socket_family=...) -> None: ...
def setHandle(self, h): ...
def isOpen(self): ...
@@ -24,9 +24,9 @@ class TSocket(TSocketBase):
def flush(self): ...
class TServerSocket(TSocketBase, TServerTransportBase):
host = ... # type: Any
port = ... # type: Any
handle = ... # type: Any
host = ... # type: Any
port = ... # type: Any
handle = ... # type: Any
def __init__(self, host=..., port=..., unix_socket=..., socket_family=...) -> None: ...
def listen(self): ...
def accept(self): ...

View File

@@ -6,12 +6,12 @@ from typing import Any
from thrift.Thrift import TException
class TTransportException(TException):
UNKNOWN = ... # type: Any
NOT_OPEN = ... # type: Any
ALREADY_OPEN = ... # type: Any
TIMED_OUT = ... # type: Any
END_OF_FILE = ... # type: Any
type = ... # type: Any
UNKNOWN = ... # type: Any
NOT_OPEN = ... # type: Any
ALREADY_OPEN = ... # type: Any
TIMED_OUT = ... # type: Any
END_OF_FILE = ... # type: Any
type = ... # type: Any
def __init__(self, type=..., message=...) -> None: ...
class TTransportBase:
@@ -40,7 +40,7 @@ class TBufferedTransportFactory:
def getTransport(self, trans): ...
class TBufferedTransport(TTransportBase, CReadableTransport):
DEFAULT_BUFFER = ... # type: Any
DEFAULT_BUFFER = ... # type: Any
def __init__(self, trans, rbuf_size=...) -> None: ...
def isOpen(self): ...
def open(self): ...
@@ -82,7 +82,7 @@ class TFramedTransport(TTransportBase, CReadableTransport):
def cstringio_refill(self, prefix, reqlen): ...
class TFileObjectTransport(TTransportBase):
fileobj = ... # type: Any
fileobj = ... # type: Any
def __init__(self, fileobj) -> None: ...
def isOpen(self): ...
def close(self): ...
@@ -91,13 +91,13 @@ class TFileObjectTransport(TTransportBase):
def flush(self): ...
class TSaslClientTransport(TTransportBase, CReadableTransport):
START = ... # type: Any
OK = ... # type: Any
BAD = ... # type: Any
ERROR = ... # type: Any
COMPLETE = ... # type: Any
transport = ... # type: Any
sasl = ... # type: Any
START = ... # type: Any
OK = ... # type: Any
BAD = ... # type: Any
ERROR = ... # type: Any
COMPLETE = ... # type: Any
transport = ... # type: Any
sasl = ... # type: Any
def __init__(self, transport, host, service, mechanism=..., **sasl_kwargs) -> None: ...
def open(self): ...
def send_sasl_msg(self, status, body): ...

View File

@@ -4,13 +4,13 @@
from typing import Any
futures = ... # type: Any
futures = ... # type: Any
class ReturnValueIgnoredError(Exception): ...
class _TracebackLogger:
exc_info = ... # type: Any
formatted_tb = ... # type: Any
exc_info = ... # type: Any
formatted_tb = ... # type: Any
def __init__(self, exc_info) -> None: ...
def activate(self): ...
def clear(self): ...
@@ -31,8 +31,8 @@ class Future:
def set_exc_info(self, exc_info): ...
def __del__(self): ...
TracebackFuture = ... # type: Any
FUTURES = ... # type: Any
TracebackFuture = ... # type: Any
FUTURES = ... # type: Any
def is_future(x): ...
@@ -40,7 +40,7 @@ class DummyExecutor:
def submit(self, fn, *args, **kwargs): ...
def shutdown(self, wait=...): ...
dummy_executor = ... # type: Any
dummy_executor = ... # type: Any
def run_on_executor(*args, **kwargs): ...
def return_future(f): ...

View File

@@ -5,7 +5,7 @@
from typing import Any
from collections import namedtuple
singledispatch = ... # type: Any
singledispatch = ... # type: Any
class KeyReuseError(Exception): ...
class UnknownKeyError(Exception): ...
@@ -18,11 +18,11 @@ def engine(func): ...
def coroutine(func, replace_callback=...): ...
class Return(Exception):
value = ... # type: Any
value = ... # type: Any
def __init__(self, value=...) -> None: ...
class WaitIterator:
current_index = ... # type: Any
current_index = ... # type: Any
def __init__(self, *args, **kwargs) -> None: ...
def done(self): ...
def next(self): ...
@@ -33,25 +33,25 @@ class YieldPoint:
def get_result(self): ...
class Callback(YieldPoint):
key = ... # type: Any
key = ... # type: Any
def __init__(self, key) -> None: ...
runner = ... # type: Any
runner = ... # type: Any
def start(self, runner): ...
def is_ready(self): ...
def get_result(self): ...
class Wait(YieldPoint):
key = ... # type: Any
key = ... # type: Any
def __init__(self, key) -> None: ...
runner = ... # type: Any
runner = ... # type: Any
def start(self, runner): ...
def is_ready(self): ...
def get_result(self): ...
class WaitAll(YieldPoint):
keys = ... # type: Any
keys = ... # type: Any
def __init__(self, keys) -> None: ...
runner = ... # type: Any
runner = ... # type: Any
def start(self, runner): ...
def is_ready(self): ...
def get_result(self): ...
@@ -59,21 +59,21 @@ class WaitAll(YieldPoint):
def Task(func, *args, **kwargs): ...
class YieldFuture(YieldPoint):
future = ... # type: Any
io_loop = ... # type: Any
future = ... # type: Any
io_loop = ... # type: Any
def __init__(self, future, io_loop=...) -> None: ...
runner = ... # type: Any
key = ... # type: Any
result_fn = ... # type: Any
runner = ... # type: Any
key = ... # type: Any
result_fn = ... # type: Any
def start(self, runner): ...
def is_ready(self): ...
def get_result(self): ...
class Multi(YieldPoint):
keys = ... # type: Any
children = ... # type: Any
unfinished_children = ... # type: Any
quiet_exceptions = ... # type: Any
keys = ... # type: Any
children = ... # type: Any
unfinished_children = ... # type: Any
quiet_exceptions = ... # type: Any
def __init__(self, children, quiet_exceptions=...) -> None: ...
def start(self, runner): ...
def is_ready(self): ...
@@ -84,20 +84,20 @@ def maybe_future(x): ...
def with_timeout(timeout, future, io_loop=..., quiet_exceptions=...): ...
def sleep(duration): ...
moment = ... # type: Any
moment = ... # type: Any
class Runner:
gen = ... # type: Any
result_future = ... # type: Any
future = ... # type: Any
yield_point = ... # type: Any
pending_callbacks = ... # type: Any
results = ... # type: Any
running = ... # type: Any
finished = ... # type: Any
had_exception = ... # type: Any
io_loop = ... # type: Any
stack_context_deactivate = ... # type: Any
gen = ... # type: Any
result_future = ... # type: Any
future = ... # type: Any
yield_point = ... # type: Any
pending_callbacks = ... # type: Any
results = ... # type: Any
running = ... # type: Any
finished = ... # type: Any
had_exception = ... # type: Any
io_loop = ... # type: Any
stack_context_deactivate = ... # type: Any
def __init__(self, gen, result_future, first_yielded) -> None: ...
def register_callback(self, key): ...
def is_ready(self, key): ...

View File

@@ -17,8 +17,8 @@ class AsyncHTTPClient(Configurable):
@classmethod
def configurable_default(cls): ...
def __new__(cls, io_loop=..., force_instance=..., **kwargs): ...
io_loop = ... # type: Any
defaults = ... # type: Any
io_loop = ... # type: Any
defaults = ... # type: Any
def initialize(self, io_loop, defaults=...): ...
def close(self): ...
def fetch(self, request, callback=..., raise_error=..., **kwargs): ...
@@ -27,37 +27,37 @@ class AsyncHTTPClient(Configurable):
def configure(cls, impl, **kwargs): ...
class HTTPRequest:
headers = ... # type: Any
proxy_host = ... # type: Any
proxy_port = ... # type: Any
proxy_username = ... # type: Any
proxy_password = ... # type: Any
url = ... # type: Any
method = ... # type: Any
body = ... # type: Any
body_producer = ... # type: Any
auth_username = ... # type: Any
auth_password = ... # type: Any
auth_mode = ... # type: Any
connect_timeout = ... # type: Any
request_timeout = ... # type: Any
follow_redirects = ... # type: Any
max_redirects = ... # type: Any
user_agent = ... # type: Any
decompress_response = ... # type: Any
network_interface = ... # type: Any
streaming_callback = ... # type: Any
header_callback = ... # type: Any
prepare_curl_callback = ... # type: Any
allow_nonstandard_methods = ... # type: Any
validate_cert = ... # type: Any
ca_certs = ... # type: Any
allow_ipv6 = ... # type: Any
client_key = ... # type: Any
client_cert = ... # type: Any
ssl_options = ... # type: Any
expect_100_continue = ... # type: Any
start_time = ... # type: Any
headers = ... # type: Any
proxy_host = ... # type: Any
proxy_port = ... # type: Any
proxy_username = ... # type: Any
proxy_password = ... # type: Any
url = ... # type: Any
method = ... # type: Any
body = ... # type: Any
body_producer = ... # type: Any
auth_username = ... # type: Any
auth_password = ... # type: Any
auth_mode = ... # type: Any
connect_timeout = ... # type: Any
request_timeout = ... # type: Any
follow_redirects = ... # type: Any
max_redirects = ... # type: Any
user_agent = ... # type: Any
decompress_response = ... # type: Any
network_interface = ... # type: Any
streaming_callback = ... # type: Any
header_callback = ... # type: Any
prepare_curl_callback = ... # type: Any
allow_nonstandard_methods = ... # type: Any
validate_cert = ... # type: Any
ca_certs = ... # type: Any
allow_ipv6 = ... # type: Any
client_key = ... # type: Any
client_cert = ... # type: Any
ssl_options = ... # type: Any
expect_100_continue = ... # type: Any
start_time = ... # type: Any
def __init__(self, url, method=..., headers=..., body=..., auth_username=..., auth_password=..., auth_mode=..., connect_timeout=..., request_timeout=..., if_modified_since=..., follow_redirects=..., max_redirects=..., user_agent=..., use_gzip=..., network_interface=..., streaming_callback=..., header_callback=..., prepare_curl_callback=..., proxy_host=..., proxy_port=..., proxy_username=..., proxy_password=..., allow_nonstandard_methods=..., validate_cert=..., ca_certs=..., allow_ipv6=..., client_key=..., client_cert=..., body_producer=..., expect_100_continue=..., decompress_response=..., ssl_options=...) -> None: ...
@property
def headers(self): ...
@@ -85,27 +85,27 @@ class HTTPRequest:
def prepare_curl_callback(self, value): ...
class HTTPResponse:
request = ... # type: Any
code = ... # type: Any
reason = ... # type: Any
headers = ... # type: Any
buffer = ... # type: Any
effective_url = ... # type: Any
error = ... # type: Any
request_time = ... # type: Any
time_info = ... # type: Any
request = ... # type: Any
code = ... # type: Any
reason = ... # type: Any
headers = ... # type: Any
buffer = ... # type: Any
effective_url = ... # type: Any
error = ... # type: Any
request_time = ... # type: Any
time_info = ... # type: Any
def __init__(self, request, code, headers=..., buffer=..., effective_url=..., error=..., request_time=..., time_info=..., reason=...) -> None: ...
body = ... # type: Any
body = ... # type: Any
def rethrow(self): ...
class HTTPError(Exception):
code = ... # type: Any
response = ... # type: Any
code = ... # type: Any
response = ... # type: Any
def __init__(self, code, message=..., response=...) -> None: ...
class _RequestProxy:
request = ... # type: Any
defaults = ... # type: Any
request = ... # type: Any
defaults = ... # type: Any
def __init__(self, request, defaults) -> None: ...
def __getattr__(self, name): ...

View File

@@ -9,11 +9,11 @@ from tornado.util import Configurable
class HTTPServer(TCPServer, Configurable, httputil.HTTPServerConnectionDelegate):
def __init__(self, *args, **kwargs) -> None: ...
request_callback = ... # type: Any
no_keep_alive = ... # type: Any
xheaders = ... # type: Any
protocol = ... # type: Any
conn_params = ... # type: Any
request_callback = ... # type: Any
no_keep_alive = ... # type: Any
xheaders = ... # type: Any
protocol = ... # type: Any
conn_params = ... # type: Any
def initialize(self, request_callback, no_keep_alive=..., io_loop=..., xheaders=..., ssl_options=..., protocol=..., decompress_request=..., chunk_size=..., max_header_size=..., idle_connection_timeout=..., body_timeout=..., max_body_size=..., max_buffer_size=...): ...
@classmethod
def configurable_base(cls): ...
@@ -25,21 +25,21 @@ class HTTPServer(TCPServer, Configurable, httputil.HTTPServerConnectionDelegate)
def on_close(self, server_conn): ...
class _HTTPRequestContext:
address = ... # type: Any
protocol = ... # type: Any
address_family = ... # type: Any
remote_ip = ... # type: Any
address = ... # type: Any
protocol = ... # type: Any
address_family = ... # type: Any
remote_ip = ... # type: Any
def __init__(self, stream, address, protocol) -> None: ...
class _ServerRequestAdapter(httputil.HTTPMessageDelegate):
server = ... # type: Any
connection = ... # type: Any
request = ... # type: Any
delegate = ... # type: Any
server = ... # type: Any
connection = ... # type: Any
request = ... # type: Any
delegate = ... # type: Any
def __init__(self, server, server_conn, request_conn) -> None: ...
def headers_received(self, start_line, headers): ...
def data_received(self, chunk): ...
def finish(self): ...
def on_connection_close(self): ...
HTTPRequest = ... # type: Any
HTTPRequest = ... # type: Any

View File

@@ -9,8 +9,8 @@ from collections import namedtuple
class SSLError(Exception): ...
class _NormalizedHeaderCache(dict):
size = ... # type: Any
queue = ... # type: Any
size = ... # type: Any
queue = ... # type: Any
def __init__(self, size) -> None: ...
def __missing__(self, key): ...
@@ -29,23 +29,23 @@ class HTTPHeaders(dict):
def get(self, name, default=...): ...
def update(self, *args, **kwargs): ...
def copy(self): ...
__copy__ = ... # type: Any
__copy__ = ... # type: Any
def __deepcopy__(self, memo_dict): ...
class HTTPServerRequest:
method = ... # type: Any
uri = ... # type: Any
version = ... # type: Any
headers = ... # type: Any
body = ... # type: Any
remote_ip = ... # type: Any
protocol = ... # type: Any
host = ... # type: Any
files = ... # type: Any
connection = ... # type: Any
arguments = ... # type: Any
query_arguments = ... # type: Any
body_arguments = ... # type: Any
method = ... # type: Any
uri = ... # type: Any
version = ... # type: Any
headers = ... # type: Any
body = ... # type: Any
remote_ip = ... # type: Any
protocol = ... # type: Any
host = ... # type: Any
files = ... # type: Any
connection = ... # type: Any
arguments = ... # type: Any
query_arguments = ... # type: Any
body_arguments = ... # type: Any
def __init__(self, method=..., uri=..., version=..., headers=..., body=..., host=..., files=..., connection=..., start_line=...) -> None: ...
def supports_http_1_1(self): ...
@property

View File

@@ -5,15 +5,15 @@
from typing import Any
from tornado.util import Configurable
signal = ... # type: Any
signal = ... # type: Any
class TimeoutError(Exception): ...
class IOLoop(Configurable):
NONE = ... # type: Any
READ = ... # type: Any
WRITE = ... # type: Any
ERROR = ... # type: Any
NONE = ... # type: Any
READ = ... # type: Any
WRITE = ... # type: Any
ERROR = ... # type: Any
@staticmethod
def instance(): ...
@staticmethod
@@ -55,7 +55,7 @@ class IOLoop(Configurable):
def close_fd(self, fd): ...
class PollIOLoop(IOLoop):
time_func = ... # type: Any
time_func = ... # type: Any
def initialize(self, impl, time_func=..., **kwargs): ...
def close(self, all_fds=...): ...
def add_handler(self, fd, handler, events): ...
@@ -71,17 +71,17 @@ class PollIOLoop(IOLoop):
def add_callback_from_signal(self, callback, *args, **kwargs): ...
class _Timeout:
deadline = ... # type: Any
callback = ... # type: Any
tiebreaker = ... # type: Any
deadline = ... # type: Any
callback = ... # type: Any
tiebreaker = ... # type: Any
def __init__(self, deadline, callback, io_loop) -> None: ...
def __lt__(self, other): ...
def __le__(self, other): ...
class PeriodicCallback:
callback = ... # type: Any
callback_time = ... # type: Any
io_loop = ... # type: Any
callback = ... # type: Any
callback_time = ... # type: Any
io_loop = ... # type: Any
def __init__(self, callback, callback_time, io_loop=...) -> None: ...
def start(self): ...
def stop(self): ...

View File

@@ -8,7 +8,7 @@ class _TimeoutGarbageCollector:
def __init__(self): ...
class Condition(_TimeoutGarbageCollector):
io_loop = ... # type: Any
io_loop = ... # type: Any
def __init__(self): ...
def wait(self, timeout=None): ...
def notify(self, n=1): ...
@@ -31,7 +31,7 @@ class Semaphore(_TimeoutGarbageCollector):
def release(self): ...
def acquire(self, timeout=None): ...
def __enter__(self): ...
__exit__ = ... # type: Any
__exit__ = ... # type: Any
def __aenter__(self): ...
def __aexit__(self, typ, value, tb): ...
@@ -44,6 +44,6 @@ class Lock:
def acquire(self, timeout=None): ...
def release(self): ...
def __enter__(self): ...
__exit__ = ... # type: Any
__exit__ = ... # type: Any
def __aenter__(self): ...
def __aexit__(self, typ, value, tb): ...

View File

@@ -5,11 +5,11 @@
from typing import Any
from tornado.util import Configurable
ssl = ... # type: Any
certifi = ... # type: Any
xrange = ... # type: Any
ssl_match_hostname = ... # type: Any
SSLCertificateError = ... # type: Any
ssl = ... # type: Any
certifi = ... # type: Any
xrange = ... # type: Any
ssl_match_hostname = ... # type: Any
SSLCertificateError = ... # type: Any
def bind_sockets(port, address=..., family=..., backlog=..., flags=...): ...
def bind_unix_socket(file, mode=..., backlog=...): ...
@@ -25,9 +25,9 @@ class Resolver(Configurable):
def close(self): ...
class ExecutorResolver(Resolver):
io_loop = ... # type: Any
executor = ... # type: Any
close_executor = ... # type: Any
io_loop = ... # type: Any
executor = ... # type: Any
close_executor = ... # type: Any
def initialize(self, io_loop=..., executor=..., close_executor=...): ...
def close(self): ...
def resolve(self, host, port, family=...): ...
@@ -39,8 +39,8 @@ class ThreadedResolver(ExecutorResolver):
def initialize(self, io_loop=..., num_threads=...): ...
class OverrideResolver(Resolver):
resolver = ... # type: Any
mapping = ... # type: Any
resolver = ... # type: Any
mapping = ... # type: Any
def initialize(self, resolver, mapping): ...
def close(self): ...
def resolve(self, host, port, *args, **kwargs): ...

View File

@@ -4,13 +4,13 @@
from typing import Any
ssl = ... # type: Any
ssl = ... # type: Any
class TCPServer:
io_loop = ... # type: Any
ssl_options = ... # type: Any
max_buffer_size = ... # type: Any
read_chunk_size = ... # type: Any
io_loop = ... # type: Any
ssl_options = ... # type: Any
max_buffer_size = ... # type: Any
read_chunk_size = ... # type: Any
def __init__(self, io_loop=..., ssl_options=..., max_buffer_size=..., read_chunk_size=...) -> None: ...
def listen(self, port, address=...): ...
def add_sockets(self, sockets): ...

View File

@@ -6,19 +6,19 @@ from typing import Any
import unittest
import logging
AsyncHTTPClient = ... # type: Any
gen = ... # type: Any
HTTPServer = ... # type: Any
IOLoop = ... # type: Any
netutil = ... # type: Any
SimpleAsyncHTTPClient = ... # type: Any
AsyncHTTPClient = ... # type: Any
gen = ... # type: Any
HTTPServer = ... # type: Any
IOLoop = ... # type: Any
netutil = ... # type: Any
SimpleAsyncHTTPClient = ... # type: Any
def get_unused_port(): ...
def bind_unused_port(): ...
class AsyncTestCase(unittest.TestCase):
def __init__(self, *args, **kwargs): ...
io_loop = ... # type: Any
io_loop = ... # type: Any
def setUp(self): ...
def tearDown(self): ...
def get_new_ioloop(self): ...
@@ -27,8 +27,8 @@ class AsyncTestCase(unittest.TestCase):
def wait(self, condition=None, timeout=5): ...
class AsyncHTTPTestCase(AsyncTestCase):
http_client = ... # type: Any
http_server = ... # type: Any
http_client = ... # type: Any
http_server = ... # type: Any
def setUp(self): ...
def get_http_client(self): ...
def get_http_server(self): ...
@@ -52,10 +52,10 @@ class LogTrapTestCase(unittest.TestCase):
def run(self, result=None): ...
class ExpectLog(logging.Filter):
logger = ... # type: Any
regex = ... # type: Any
required = ... # type: Any
matched = ... # type: Any
logger = ... # type: Any
regex = ... # type: Any
required = ... # type: Any
matched = ... # type: Any
def __init__(self, logger, regex, required=True): ...
def filter(self, record): ...
def __enter__(self): ...

View File

@@ -4,26 +4,26 @@
from typing import Any
xrange = ... # type: Any
xrange = ... # type: Any
class ObjectDict(dict):
def __getattr__(self, name): ...
def __setattr__(self, name, value): ...
class GzipDecompressor:
decompressobj = ... # type: Any
decompressobj = ... # type: Any
def __init__(self) -> None: ...
def decompress(self, value, max_length=...): ...
@property
def unconsumed_tail(self): ...
def flush(self): ...
unicode_type = ... # type: Any
basestring_type = ... # type: Any
unicode_type = ... # type: Any
basestring_type = ... # type: Any
def import_object(name): ...
bytes_type = ... # type: Any
bytes_type = ... # type: Any
def errno_from_exception(e): ...
@@ -40,8 +40,8 @@ class Configurable:
def configured_class(cls): ...
class ArgReplacer:
name = ... # type: Any
arg_pos = ... # type: Any
name = ... # type: Any
arg_pos = ... # type: Any
def __init__(self, func, name) -> None: ...
def get_old_value(self, args, kwargs, default=...): ...
def replace(self, new_value, args, kwargs): ...

View File

@@ -5,18 +5,18 @@
from typing import Any
from tornado import httputil
MIN_SUPPORTED_SIGNED_VALUE_VERSION = ... # type: Any
MAX_SUPPORTED_SIGNED_VALUE_VERSION = ... # type: Any
DEFAULT_SIGNED_VALUE_VERSION = ... # type: Any
DEFAULT_SIGNED_VALUE_MIN_VERSION = ... # type: Any
MIN_SUPPORTED_SIGNED_VALUE_VERSION = ... # type: Any
MAX_SUPPORTED_SIGNED_VALUE_VERSION = ... # type: Any
DEFAULT_SIGNED_VALUE_VERSION = ... # type: Any
DEFAULT_SIGNED_VALUE_MIN_VERSION = ... # type: Any
class RequestHandler:
SUPPORTED_METHODS = ... # type: Any
application = ... # type: Any
request = ... # type: Any
path_args = ... # type: Any
path_kwargs = ... # type: Any
ui = ... # type: Any
SUPPORTED_METHODS = ... # type: Any
application = ... # type: Any
request = ... # type: Any
path_args = ... # type: Any
path_kwargs = ... # type: Any
ui = ... # type: Any
def __init__(self, application, request, **kwargs) -> None: ...
def initialize(self): ...
@property
@@ -97,13 +97,13 @@ def removeslash(method): ...
def addslash(method): ...
class Application(httputil.HTTPServerConnectionDelegate):
transforms = ... # type: Any
handlers = ... # type: Any
named_handlers = ... # type: Any
default_host = ... # type: Any
settings = ... # type: Any
ui_modules = ... # type: Any
ui_methods = ... # type: Any
transforms = ... # type: Any
handlers = ... # type: Any
named_handlers = ... # type: Any
default_host = ... # type: Any
settings = ... # type: Any
ui_modules = ... # type: Any
ui_methods = ... # type: Any
def __init__(self, handlers=..., default_host=..., transforms=..., **settings) -> None: ...
def listen(self, port, address=..., **kwargs): ...
def add_handlers(self, host_pattern, host_handlers): ...
@@ -114,35 +114,35 @@ class Application(httputil.HTTPServerConnectionDelegate):
def log_request(self, handler): ...
class _RequestDispatcher(httputil.HTTPMessageDelegate):
application = ... # type: Any
connection = ... # type: Any
request = ... # type: Any
chunks = ... # type: Any
handler_class = ... # type: Any
handler_kwargs = ... # type: Any
path_args = ... # type: Any
path_kwargs = ... # type: Any
application = ... # type: Any
connection = ... # type: Any
request = ... # type: Any
chunks = ... # type: Any
handler_class = ... # type: Any
handler_kwargs = ... # type: Any
path_args = ... # type: Any
path_kwargs = ... # type: Any
def __init__(self, application, connection) -> None: ...
def headers_received(self, start_line, headers): ...
stream_request_body = ... # type: Any
stream_request_body = ... # type: Any
def set_request(self, request): ...
def data_received(self, data): ...
def finish(self): ...
def on_connection_close(self): ...
handler = ... # type: Any
handler = ... # type: Any
def execute(self): ...
class HTTPError(Exception):
status_code = ... # type: Any
log_message = ... # type: Any
args = ... # type: Any
reason = ... # type: Any
status_code = ... # type: Any
log_message = ... # type: Any
args = ... # type: Any
reason = ... # type: Any
def __init__(self, status_code, log_message=..., *args, **kwargs) -> None: ...
class Finish(Exception): ...
class MissingArgumentError(HTTPError):
arg_name = ... # type: Any
arg_name = ... # type: Any
def __init__(self, arg_name) -> None: ...
class ErrorHandler(RequestHandler):
@@ -155,16 +155,16 @@ class RedirectHandler(RequestHandler):
def get(self): ...
class StaticFileHandler(RequestHandler):
CACHE_MAX_AGE = ... # type: Any
root = ... # type: Any
default_filename = ... # type: Any
CACHE_MAX_AGE = ... # type: Any
root = ... # type: Any
default_filename = ... # type: Any
def initialize(self, path, default_filename=...): ...
@classmethod
def reset(cls): ...
def head(self, path): ...
path = ... # type: Any
absolute_path = ... # type: Any
modified = ... # type: Any
path = ... # type: Any
absolute_path = ... # type: Any
modified = ... # type: Any
def get(self, path, include_body=...): ...
def compute_etag(self): ...
def set_headers(self): ...
@@ -188,7 +188,7 @@ class StaticFileHandler(RequestHandler):
def get_version(cls, settings, path): ...
class FallbackHandler(RequestHandler):
fallback = ... # type: Any
fallback = ... # type: Any
def initialize(self, fallback): ...
def prepare(self): ...
@@ -198,8 +198,8 @@ class OutputTransform:
def transform_chunk(self, chunk, finishing): ...
class GZipContentEncoding(OutputTransform):
CONTENT_TYPES = ... # type: Any
MIN_LENGTH = ... # type: Any
CONTENT_TYPES = ... # type: Any
MIN_LENGTH = ... # type: Any
def __init__(self, request) -> None: ...
def transform_first_chunk(self, status_code, headers, chunk, finishing): ...
def transform_chunk(self, chunk, finishing): ...
@@ -207,10 +207,10 @@ class GZipContentEncoding(OutputTransform):
def authenticated(method): ...
class UIModule:
handler = ... # type: Any
request = ... # type: Any
ui = ... # type: Any
locale = ... # type: Any
handler = ... # type: Any
request = ... # type: Any
ui = ... # type: Any
locale = ... # type: Any
def __init__(self, handler) -> None: ...
@property
def current_user(self): ...
@@ -240,21 +240,21 @@ class TemplateModule(UIModule):
def html_body(self): ...
class _UIModuleNamespace:
handler = ... # type: Any
ui_modules = ... # type: Any
handler = ... # type: Any
ui_modules = ... # type: Any
def __init__(self, handler, ui_modules) -> None: ...
def __getitem__(self, key): ...
def __getattr__(self, key): ...
class URLSpec:
regex = ... # type: Any
handler_class = ... # type: Any
kwargs = ... # type: Any
name = ... # type: Any
regex = ... # type: Any
handler_class = ... # type: Any
kwargs = ... # type: Any
name = ... # type: Any
def __init__(self, pattern, handler, kwargs=..., name=...) -> None: ...
def reverse(self, *args): ...
url = ... # type: Any
url = ... # type: Any
def create_signed_value(secret, name, value, version=..., clock=..., key_version=...): ...
def decode_signed_value(secret, name, value, max_age_days=..., clock=..., min_version=...): ...

View File

@@ -27,7 +27,7 @@ class module(ModuleType):
def __dir__(self): ...
__version__ = ... # type: Any
__version__ = ... # type: Any
run_simple = serving.run_simple
test_app = testapp.test_app

View File

@@ -12,7 +12,7 @@ from typing import Any
# TODO: stubs for cyaml?
# from cyaml import *
__with_libyaml__ = ... # type: Any
__with_libyaml__ = ... # type: Any
def scan(stream, Loader=...): ...
def parse(stream, Loader=...): ...
@@ -40,11 +40,11 @@ class YAMLObjectMetaclass(type):
def __init__(cls, name, bases, kwds) -> None: ...
class YAMLObject:
__metaclass__ = ... # type: Any
yaml_loader = ... # type: Any
yaml_dumper = ... # type: Any
yaml_tag = ... # type: Any
yaml_flow_style = ... # type: Any
__metaclass__ = ... # type: Any
yaml_loader = ... # type: Any
yaml_dumper = ... # type: Any
yaml_tag = ... # type: Any
yaml_flow_style = ... # type: Any
@classmethod
def from_yaml(cls, loader, node): ...
@classmethod

View File

@@ -9,7 +9,7 @@ from yaml.nodes import Node, ScalarNode, CollectionNode, SequenceNode, MappingNo
class ComposerError(MarkedYAMLError): ...
class Composer:
anchors = ... # type: Any
anchors = ... # type: Any
def __init__(self) -> None: ...
def check_node(self): ...
def get_node(self): ...

View File

@@ -10,12 +10,12 @@ from typing import Any
class ConstructorError(MarkedYAMLError): ...
class BaseConstructor:
yaml_constructors = ... # type: Any
yaml_multi_constructors = ... # type: Any
constructed_objects = ... # type: Any
recursive_objects = ... # type: Any
state_generators = ... # type: Any
deep_construct = ... # type: Any
yaml_constructors = ... # type: Any
yaml_multi_constructors = ... # type: Any
constructed_objects = ... # type: Any
recursive_objects = ... # type: Any
state_generators = ... # type: Any
deep_construct = ... # type: Any
def __init__(self) -> None: ...
def check_data(self): ...
def get_data(self): ...
@@ -34,14 +34,14 @@ class SafeConstructor(BaseConstructor):
def flatten_mapping(self, node): ...
def construct_mapping(self, node, deep=...): ...
def construct_yaml_null(self, node): ...
bool_values = ... # type: Any
bool_values = ... # type: Any
def construct_yaml_bool(self, node): ...
def construct_yaml_int(self, node): ...
inf_value = ... # type: Any
nan_value = ... # type: Any
inf_value = ... # type: Any
nan_value = ... # type: Any
def construct_yaml_float(self, node): ...
def construct_yaml_binary(self, node): ...
timestamp_regexp = ... # type: Any
timestamp_regexp = ... # type: Any
def construct_yaml_timestamp(self, node): ...
def construct_yaml_omap(self, node): ...
def construct_yaml_pairs(self, node): ...

View File

@@ -8,46 +8,46 @@ from yaml.error import YAMLError
class EmitterError(YAMLError): ...
class ScalarAnalysis:
scalar = ... # type: Any
empty = ... # type: Any
multiline = ... # type: Any
allow_flow_plain = ... # type: Any
allow_block_plain = ... # type: Any
allow_single_quoted = ... # type: Any
allow_double_quoted = ... # type: Any
allow_block = ... # type: Any
scalar = ... # type: Any
empty = ... # type: Any
multiline = ... # type: Any
allow_flow_plain = ... # type: Any
allow_block_plain = ... # type: Any
allow_single_quoted = ... # type: Any
allow_double_quoted = ... # type: Any
allow_block = ... # type: Any
def __init__(self, scalar, empty, multiline, allow_flow_plain, allow_block_plain, allow_single_quoted, allow_double_quoted, allow_block) -> None: ...
class Emitter:
DEFAULT_TAG_PREFIXES = ... # type: Any
stream = ... # type: Any
encoding = ... # type: Any
states = ... # type: Any
state = ... # type: Any
events = ... # type: Any
event = ... # type: Any
indents = ... # type: Any
indent = ... # type: Any
flow_level = ... # type: Any
root_context = ... # type: Any
sequence_context = ... # type: Any
mapping_context = ... # type: Any
simple_key_context = ... # type: Any
line = ... # type: Any
column = ... # type: Any
whitespace = ... # type: Any
indention = ... # type: Any
open_ended = ... # type: Any
canonical = ... # type: Any
allow_unicode = ... # type: Any
best_indent = ... # type: Any
best_width = ... # type: Any
best_line_break = ... # type: Any
tag_prefixes = ... # type: Any
prepared_anchor = ... # type: Any
prepared_tag = ... # type: Any
analysis = ... # type: Any
style = ... # type: Any
DEFAULT_TAG_PREFIXES = ... # type: Any
stream = ... # type: Any
encoding = ... # type: Any
states = ... # type: Any
state = ... # type: Any
events = ... # type: Any
event = ... # type: Any
indents = ... # type: Any
indent = ... # type: Any
flow_level = ... # type: Any
root_context = ... # type: Any
sequence_context = ... # type: Any
mapping_context = ... # type: Any
simple_key_context = ... # type: Any
line = ... # type: Any
column = ... # type: Any
whitespace = ... # type: Any
indention = ... # type: Any
open_ended = ... # type: Any
canonical = ... # type: Any
allow_unicode = ... # type: Any
best_indent = ... # type: Any
best_width = ... # type: Any
best_line_break = ... # type: Any
tag_prefixes = ... # type: Any
prepared_anchor = ... # type: Any
prepared_tag = ... # type: Any
analysis = ... # type: Any
style = ... # type: Any
def __init__(self, stream, canonical=..., indent=..., width=..., allow_unicode=..., line_break=...) -> None: ...
def dispose(self): ...
def emit(self, event): ...
@@ -102,7 +102,7 @@ class Emitter:
def write_version_directive(self, version_text): ...
def write_tag_directive(self, handle_text, prefix_text): ...
def write_single_quoted(self, text, split=...): ...
ESCAPE_REPLACEMENTS = ... # type: Any
ESCAPE_REPLACEMENTS = ... # type: Any
def write_double_quoted(self, text, split=...): ...
def determine_block_hints(self, text): ...
def write_folded(self, text): ...

View File

@@ -5,21 +5,21 @@
from typing import Any
class Mark:
name = ... # type: Any
index = ... # type: Any
line = ... # type: Any
column = ... # type: Any
buffer = ... # type: Any
pointer = ... # type: Any
name = ... # type: Any
index = ... # type: Any
line = ... # type: Any
column = ... # type: Any
buffer = ... # type: Any
pointer = ... # type: Any
def __init__(self, name, index, line, column, buffer, pointer) -> None: ...
def get_snippet(self, indent=..., max_length=...): ...
class YAMLError(Exception): ...
class MarkedYAMLError(YAMLError):
context = ... # type: Any
context_mark = ... # type: Any
problem = ... # type: Any
problem_mark = ... # type: Any
note = ... # type: Any
context = ... # type: Any
context_mark = ... # type: Any
problem = ... # type: Any
problem_mark = ... # type: Any
note = ... # type: Any
def __init__(self, context=..., context_mark=..., problem=..., problem_mark=..., note=...) -> None: ...

View File

@@ -5,59 +5,59 @@
from typing import Any
class Event:
start_mark = ... # type: Any
end_mark = ... # type: Any
start_mark = ... # type: Any
end_mark = ... # type: Any
def __init__(self, start_mark=..., end_mark=...) -> None: ...
class NodeEvent(Event):
anchor = ... # type: Any
start_mark = ... # type: Any
end_mark = ... # type: Any
anchor = ... # type: Any
start_mark = ... # type: Any
end_mark = ... # type: Any
def __init__(self, anchor, start_mark=..., end_mark=...) -> None: ...
class CollectionStartEvent(NodeEvent):
anchor = ... # type: Any
tag = ... # type: Any
implicit = ... # type: Any
start_mark = ... # type: Any
end_mark = ... # type: Any
flow_style = ... # type: Any
anchor = ... # type: Any
tag = ... # type: Any
implicit = ... # type: Any
start_mark = ... # type: Any
end_mark = ... # type: Any
flow_style = ... # type: Any
def __init__(self, anchor, tag, implicit, start_mark=..., end_mark=..., flow_style=...) -> None: ...
class CollectionEndEvent(Event): ...
class StreamStartEvent(Event):
start_mark = ... # type: Any
end_mark = ... # type: Any
encoding = ... # type: Any
start_mark = ... # type: Any
end_mark = ... # type: Any
encoding = ... # type: Any
def __init__(self, start_mark=..., end_mark=..., encoding=...) -> None: ...
class StreamEndEvent(Event): ...
class DocumentStartEvent(Event):
start_mark = ... # type: Any
end_mark = ... # type: Any
explicit = ... # type: Any
version = ... # type: Any
tags = ... # type: Any
start_mark = ... # type: Any
end_mark = ... # type: Any
explicit = ... # type: Any
version = ... # type: Any
tags = ... # type: Any
def __init__(self, start_mark=..., end_mark=..., explicit=..., version=..., tags=...) -> None: ...
class DocumentEndEvent(Event):
start_mark = ... # type: Any
end_mark = ... # type: Any
explicit = ... # type: Any
start_mark = ... # type: Any
end_mark = ... # type: Any
explicit = ... # type: Any
def __init__(self, start_mark=..., end_mark=..., explicit=...) -> None: ...
class AliasEvent(NodeEvent): ...
class ScalarEvent(NodeEvent):
anchor = ... # type: Any
tag = ... # type: Any
implicit = ... # type: Any
value = ... # type: Any
start_mark = ... # type: Any
end_mark = ... # type: Any
style = ... # type: Any
anchor = ... # type: Any
tag = ... # type: Any
implicit = ... # type: Any
value = ... # type: Any
start_mark = ... # type: Any
end_mark = ... # type: Any
style = ... # type: Any
def __init__(self, anchor, tag, implicit, value, start_mark=..., end_mark=..., style=...) -> None: ...
class SequenceStartEvent(CollectionStartEvent): ...

View File

@@ -5,31 +5,31 @@
from typing import Any
class Node:
tag = ... # type: Any
value = ... # type: Any
start_mark = ... # type: Any
end_mark = ... # type: Any
tag = ... # type: Any
value = ... # type: Any
start_mark = ... # type: Any
end_mark = ... # type: Any
def __init__(self, tag, value, start_mark, end_mark) -> None: ...
class ScalarNode(Node):
id = ... # type: Any
tag = ... # type: Any
value = ... # type: Any
start_mark = ... # type: Any
end_mark = ... # type: Any
style = ... # type: Any
id = ... # type: Any
tag = ... # type: Any
value = ... # type: Any
start_mark = ... # type: Any
end_mark = ... # type: Any
style = ... # type: Any
def __init__(self, tag, value, start_mark=..., end_mark=..., style=...) -> None: ...
class CollectionNode(Node):
tag = ... # type: Any
value = ... # type: Any
start_mark = ... # type: Any
end_mark = ... # type: Any
flow_style = ... # type: Any
tag = ... # type: Any
value = ... # type: Any
start_mark = ... # type: Any
end_mark = ... # type: Any
flow_style = ... # type: Any
def __init__(self, tag, value, start_mark=..., end_mark=..., flow_style=...) -> None: ...
class SequenceNode(CollectionNode):
id = ... # type: Any
id = ... # type: Any
class MappingNode(CollectionNode):
id = ... # type: Any
id = ... # type: Any

View File

@@ -8,13 +8,13 @@ from yaml.error import MarkedYAMLError
class ParserError(MarkedYAMLError): ...
class Parser:
DEFAULT_TAGS = ... # type: Any
current_event = ... # type: Any
yaml_version = ... # type: Any
tag_handles = ... # type: Any
states = ... # type: Any
marks = ... # type: Any
state = ... # type: Any
DEFAULT_TAGS = ... # type: Any
current_event = ... # type: Any
yaml_version = ... # type: Any
tag_handles = ... # type: Any
states = ... # type: Any
marks = ... # type: Any
state = ... # type: Any
def __init__(self) -> None: ...
def dispose(self): ...
def check_event(self, *choices): ...

View File

@@ -6,33 +6,33 @@ from typing import Any
from yaml.error import YAMLError
class ReaderError(YAMLError):
name = ... # type: Any
character = ... # type: Any
position = ... # type: Any
encoding = ... # type: Any
reason = ... # type: Any
name = ... # type: Any
character = ... # type: Any
position = ... # type: Any
encoding = ... # type: Any
reason = ... # type: Any
def __init__(self, name, position, character, encoding, reason) -> None: ...
class Reader:
name = ... # type: Any
stream = ... # type: Any
stream_pointer = ... # type: Any
eof = ... # type: Any
buffer = ... # type: Any
pointer = ... # type: Any
raw_buffer = ... # type: Any
raw_decode = ... # type: Any
encoding = ... # type: Any
index = ... # type: Any
line = ... # type: Any
column = ... # type: Any
name = ... # type: Any
stream = ... # type: Any
stream_pointer = ... # type: Any
eof = ... # type: Any
buffer = ... # type: Any
pointer = ... # type: Any
raw_buffer = ... # type: Any
raw_decode = ... # type: Any
encoding = ... # type: Any
index = ... # type: Any
line = ... # type: Any
column = ... # type: Any
def __init__(self, stream) -> None: ...
def peek(self, index=...): ...
def prefix(self, length=...): ...
def forward(self, length=...): ...
def get_mark(self): ...
def determine_encoding(self): ...
NON_PRINTABLE = ... # type: Any
NON_PRINTABLE = ... # type: Any
def check_printable(self, data): ...
def update(self, length): ...
def update_raw(self, size=...): ...

View File

@@ -8,13 +8,13 @@ from yaml.error import YAMLError
class RepresenterError(YAMLError): ...
class BaseRepresenter:
yaml_representers = ... # type: Any
yaml_multi_representers = ... # type: Any
default_style = ... # type: Any
default_flow_style = ... # type: Any
represented_objects = ... # type: Any
object_keeper = ... # type: Any
alias_key = ... # type: Any
yaml_representers = ... # type: Any
yaml_multi_representers = ... # type: Any
default_style = ... # type: Any
default_flow_style = ... # type: Any
represented_objects = ... # type: Any
object_keeper = ... # type: Any
alias_key = ... # type: Any
def __init__(self, default_style=..., default_flow_style=...) -> None: ...
def represent(self, data): ...
def get_classobj_bases(self, cls): ...
@@ -34,7 +34,7 @@ class SafeRepresenter(BaseRepresenter):
def represent_bool(self, data): ...
def represent_int(self, data): ...
def represent_long(self, data): ...
inf_value = ... # type: Any
inf_value = ... # type: Any
def represent_float(self, data): ...
def represent_list(self, data): ...
def represent_dict(self, data): ...

View File

@@ -8,13 +8,13 @@ from yaml.error import YAMLError
class ResolverError(YAMLError): ...
class BaseResolver:
DEFAULT_SCALAR_TAG = ... # type: Any
DEFAULT_SEQUENCE_TAG = ... # type: Any
DEFAULT_MAPPING_TAG = ... # type: Any
yaml_implicit_resolvers = ... # type: Any
yaml_path_resolvers = ... # type: Any
resolver_exact_paths = ... # type: Any
resolver_prefix_paths = ... # type: Any
DEFAULT_SCALAR_TAG = ... # type: Any
DEFAULT_SEQUENCE_TAG = ... # type: Any
DEFAULT_MAPPING_TAG = ... # type: Any
yaml_implicit_resolvers = ... # type: Any
yaml_path_resolvers = ... # type: Any
resolver_exact_paths = ... # type: Any
resolver_prefix_paths = ... # type: Any
def __init__(self) -> None: ...
def add_implicit_resolver(cls, tag, regexp, first): ...
def add_path_resolver(cls, tag, path, kind=...): ...

View File

@@ -8,23 +8,23 @@ from yaml.error import MarkedYAMLError
class ScannerError(MarkedYAMLError): ...
class SimpleKey:
token_number = ... # type: Any
required = ... # type: Any
index = ... # type: Any
line = ... # type: Any
column = ... # type: Any
mark = ... # type: Any
token_number = ... # type: Any
required = ... # type: Any
index = ... # type: Any
line = ... # type: Any
column = ... # type: Any
mark = ... # type: Any
def __init__(self, token_number, required, index, line, column, mark) -> None: ...
class Scanner:
done = ... # type: Any
flow_level = ... # type: Any
tokens = ... # type: Any
tokens_taken = ... # type: Any
indent = ... # type: Any
indents = ... # type: Any
allow_simple_key = ... # type: Any
possible_simple_keys = ... # type: Any
done = ... # type: Any
flow_level = ... # type: Any
tokens = ... # type: Any
tokens_taken = ... # type: Any
indent = ... # type: Any
indents = ... # type: Any
allow_simple_key = ... # type: Any
possible_simple_keys = ... # type: Any
def __init__(self) -> None: ...
def check_token(self, *choices): ...
def peek_token(self): ...
@@ -87,8 +87,8 @@ class Scanner:
def scan_block_scalar_indentation(self): ...
def scan_block_scalar_breaks(self, indent): ...
def scan_flow_scalar(self, style): ...
ESCAPE_REPLACEMENTS = ... # type: Any
ESCAPE_CODES = ... # type: Any
ESCAPE_REPLACEMENTS = ... # type: Any
ESCAPE_CODES = ... # type: Any
def scan_flow_scalar_non_spaces(self, double, start_mark): ...
def scan_flow_scalar_spaces(self, double, start_mark): ...
def scan_flow_scalar_breaks(self, double, start_mark): ...

View File

@@ -8,16 +8,16 @@ from yaml.error import YAMLError
class SerializerError(YAMLError): ...
class Serializer:
ANCHOR_TEMPLATE = ... # type: Any
use_encoding = ... # type: Any
use_explicit_start = ... # type: Any
use_explicit_end = ... # type: Any
use_version = ... # type: Any
use_tags = ... # type: Any
serialized_nodes = ... # type: Any
anchors = ... # type: Any
last_anchor_id = ... # type: Any
closed = ... # type: Any
ANCHOR_TEMPLATE = ... # type: Any
use_encoding = ... # type: Any
use_explicit_start = ... # type: Any
use_explicit_end = ... # type: Any
use_version = ... # type: Any
use_tags = ... # type: Any
serialized_nodes = ... # type: Any
anchors = ... # type: Any
last_anchor_id = ... # type: Any
closed = ... # type: Any
def __init__(self, encoding=..., explicit_start=..., explicit_end=..., version=..., tags=...) -> None: ...
def open(self): ...
def close(self): ...

View File

@@ -5,93 +5,93 @@
from typing import Any
class Token:
start_mark = ... # type: Any
end_mark = ... # type: Any
start_mark = ... # type: Any
end_mark = ... # type: Any
def __init__(self, start_mark, end_mark) -> None: ...
class DirectiveToken(Token):
id = ... # type: Any
name = ... # type: Any
value = ... # type: Any
start_mark = ... # type: Any
end_mark = ... # type: Any
id = ... # type: Any
name = ... # type: Any
value = ... # type: Any
start_mark = ... # type: Any
end_mark = ... # type: Any
def __init__(self, name, value, start_mark, end_mark) -> None: ...
class DocumentStartToken(Token):
id = ... # type: Any
id = ... # type: Any
class DocumentEndToken(Token):
id = ... # type: Any
id = ... # type: Any
class StreamStartToken(Token):
id = ... # type: Any
start_mark = ... # type: Any
end_mark = ... # type: Any
encoding = ... # type: Any
id = ... # type: Any
start_mark = ... # type: Any
end_mark = ... # type: Any
encoding = ... # type: Any
def __init__(self, start_mark=..., end_mark=..., encoding=...) -> None: ...
class StreamEndToken(Token):
id = ... # type: Any
id = ... # type: Any
class BlockSequenceStartToken(Token):
id = ... # type: Any
id = ... # type: Any
class BlockMappingStartToken(Token):
id = ... # type: Any
id = ... # type: Any
class BlockEndToken(Token):
id = ... # type: Any
id = ... # type: Any
class FlowSequenceStartToken(Token):
id = ... # type: Any
id = ... # type: Any
class FlowMappingStartToken(Token):
id = ... # type: Any
id = ... # type: Any
class FlowSequenceEndToken(Token):
id = ... # type: Any
id = ... # type: Any
class FlowMappingEndToken(Token):
id = ... # type: Any
id = ... # type: Any
class KeyToken(Token):
id = ... # type: Any
id = ... # type: Any
class ValueToken(Token):
id = ... # type: Any
id = ... # type: Any
class BlockEntryToken(Token):
id = ... # type: Any
id = ... # type: Any
class FlowEntryToken(Token):
id = ... # type: Any
id = ... # type: Any
class AliasToken(Token):
id = ... # type: Any
value = ... # type: Any
start_mark = ... # type: Any
end_mark = ... # type: Any
id = ... # type: Any
value = ... # type: Any
start_mark = ... # type: Any
end_mark = ... # type: Any
def __init__(self, value, start_mark, end_mark) -> None: ...
class AnchorToken(Token):
id = ... # type: Any
value = ... # type: Any
start_mark = ... # type: Any
end_mark = ... # type: Any
id = ... # type: Any
value = ... # type: Any
start_mark = ... # type: Any
end_mark = ... # type: Any
def __init__(self, value, start_mark, end_mark) -> None: ...
class TagToken(Token):
id = ... # type: Any
value = ... # type: Any
start_mark = ... # type: Any
end_mark = ... # type: Any
id = ... # type: Any
value = ... # type: Any
start_mark = ... # type: Any
end_mark = ... # type: Any
def __init__(self, value, start_mark, end_mark) -> None: ...
class ScalarToken(Token):
id = ... # type: Any
value = ... # type: Any
plain = ... # type: Any
start_mark = ... # type: Any
end_mark = ... # type: Any
style = ... # type: Any
id = ... # type: Any
value = ... # type: Any
plain = ... # type: Any
start_mark = ... # type: Any
end_mark = ... # type: Any
style = ... # type: Any
def __init__(self, value, plain, start_mark, end_mark, style=...) -> None: ...

View File

@@ -8,12 +8,12 @@ def mk_gen(): ...
def mk_awaitable(): ...
def mk_coroutine(): ...
Generator = ... # type: Any
Awaitable = ... # type: Any
Coroutine = ... # type: Any
Generator = ... # type: Any
Awaitable = ... # type: Any
Coroutine = ... # type: Any
def isawaitable(obj): ...
PATCHED = ... # type: Any
PATCHED = ... # type: Any
def patch(patch_inspect=True): ...

View File

@@ -13,16 +13,16 @@ class weekday(object):
def __repr__(self) -> str: ...
weekday = ... # type: int
n = ... # type: int
weekday = ... # type: int
n = ... # type: int
MO = ... # type: weekday
TU = ... # type: weekday
WE = ... # type: weekday
TH = ... # type: weekday
FR = ... # type: weekday
SA = ... # type: weekday
SU = ... # type: weekday
MO = ... # type: weekday
TU = ... # type: weekday
WE = ... # type: weekday
TH = ... # type: weekday
FR = ... # type: weekday
SA = ... # type: weekday
SU = ... # type: weekday
class relativedelta(object):

View File

@@ -26,7 +26,7 @@ class _Element(Iterable['_Element']):
pass
attrib = ... # type: MutableMapping[str, str]
text = ... # type: AnyStr
text = ... # type: AnyStr
tag = ... # type: str
def append(self, element: '_Element') -> '_Element': ...
def __iter__(self) -> ElementChildIterator: ...

View File

@@ -14,8 +14,8 @@ HTTPHeaderDict = _collections.HTTPHeaderDict
ProtocolError = exceptions.ProtocolError
DecodeError = exceptions.DecodeError
ReadTimeoutError = exceptions.ReadTimeoutError
binary_type = bytes # six.binary_type
PY3 = True # six.PY3
binary_type = bytes # six.binary_type
PY3 = True # six.PY3
is_fp_closed = response.is_fp_closed
class DeflateDecoder:

View File

@@ -44,7 +44,7 @@ get_auth_from_url = utils.get_auth_from_url
codes = status_codes.codes
REDIRECT_STATI = models.REDIRECT_STATI
REDIRECT_CACHE_SIZE = ... # type: Any
REDIRECT_CACHE_SIZE = ... # type: Any
def merge_setting(request_setting, session_setting, dict_class=...): ...
def merge_hooks(request_hooks, session_hooks, dict_class=...): ...
@@ -56,20 +56,20 @@ class SessionRedirectMixin:
def rebuild_proxies(self, prepared_request, proxies): ...
class Session(SessionRedirectMixin):
__attrs__ = ... # type: Any
headers = ... # type: Optional[MutableMapping[Text, Text]]
auth = ... # type: Union[None, Tuple[Text, Text], Callable[[Request], Request]]
proxies = ... # type: Optional[MutableMapping[Text, Text]]
hooks = ... # type: Optional[MutableMapping[Text, Callable[[Request], Any]]]
params = ... # type: Union[None, bytes, MutableMapping[Text, Text]]
stream = ... # type: bool
verify = ... # type: bool
cert = ... # type: Union[None, Text, Tuple[Text, Text]]
max_redirects = ... # type: int
trust_env = ... # type: bool
cookies = ... # type: Union[None, RequestsCookieJar, MutableMapping[Text, Text]]
adapters = ... # type: MutableMapping
redirect_cache = ... # type: RecentlyUsedContainer
__attrs__ = ... # type: Any
headers = ... # type: Optional[MutableMapping[Text, Text]]
auth = ... # type: Union[None, Tuple[Text, Text], Callable[[Request], Request]]
proxies = ... # type: Optional[MutableMapping[Text, Text]]
hooks = ... # type: Optional[MutableMapping[Text, Callable[[Request], Any]]]
params = ... # type: Union[None, bytes, MutableMapping[Text, Text]]
stream = ... # type: bool
verify = ... # type: bool
cert = ... # type: Union[None, Text, Tuple[Text, Text]]
max_redirects = ... # type: int
trust_env = ... # type: bool
cookies = ... # type: Union[None, RequestsCookieJar, MutableMapping[Text, Text]]
adapters = ... # type: MutableMapping
redirect_cache = ... # type: RecentlyUsedContainer
def __init__(self) -> None: ...
def __enter__(self) -> 'Session': ...
def __exit__(self, *args) -> None: ...

View File

@@ -40,7 +40,7 @@ class_types = type,
text_type = str
binary_type = bytes
MAXSIZE = ... # type: int
MAXSIZE = ... # type: int
#def add_move
#def remove_move

View File

@@ -19,15 +19,15 @@ def iter_fields(node: AST) -> Iterator[typing.Tuple[str, Any]]: ...
def literal_eval(node_or_string: Union[str, AST]) -> Any: ...
def walk(node: AST) -> Iterator[AST]: ...
PyCF_ONLY_AST = ... # type: int
PyCF_ONLY_AST = ... # type: int
# ast classes
identifier = str
class AST:
_attributes = ... # type: typing.Tuple[str, ...]
_fields = ... # type: typing.Tuple[str, ...]
_attributes = ... # type: typing.Tuple[str, ...]
_fields = ... # type: typing.Tuple[str, ...]
def __init__(self, *args, **kwargs) -> None: ...
class mod(AST):

View File

@@ -19,15 +19,15 @@ def iter_fields(node: AST) -> Iterator[typing.Tuple[str, Any]]: ...
def literal_eval(node_or_string: Union[str, AST]) -> Any: ...
def walk(node: AST) -> Iterator[AST]: ...
PyCF_ONLY_AST = ... # type: int
PyCF_ONLY_AST = ... # type: int
# ast classes
identifier = str
class AST:
_attributes = ... # type: typing.Tuple[str, ...]
_fields = ... # type: typing.Tuple[str, ...]
_attributes = ... # type: typing.Tuple[str, ...]
_fields = ... # type: typing.Tuple[str, ...]
def __init__(self, *args, **kwargs) -> None: ...
class mod(AST):

View File

@@ -26,7 +26,7 @@ class module(ModuleType):
def __dir__(self): ...
__version__ = ... # type: Any
__version__ = ... # type: Any
run_simple = serving.run_simple
test_app = testapp.test_app