basedpyright 1.10.3 → 1.10.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/pyright-langserver.js +1 -1
- package/dist/pyright-langserver.js.map +1 -1
- package/dist/pyright.js +1 -1
- package/dist/pyright.js.map +1 -1
- package/dist/typeshed-fallback/commit.txt +1 -1
- package/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi +7 -2
- package/dist/typeshed-fallback/stdlib/asyncio/constants.pyi +3 -3
- package/dist/typeshed-fallback/stdlib/asyncio/locks.pyi +4 -4
- package/dist/typeshed-fallback/stdlib/asyncio/sslproto.pyi +9 -9
- package/dist/typeshed-fallback/stdlib/asyncio/streams.pyi +10 -5
- package/dist/typeshed-fallback/stdlib/contextlib.pyi +23 -22
- package/dist/typeshed-fallback/stdlib/email/message.pyi +26 -27
- package/dist/typeshed-fallback/stdlib/email/parser.pyi +25 -15
- package/dist/typeshed-fallback/stdlib/http/__init__.pyi +68 -68
- package/dist/typeshed-fallback/stdlib/http/client.pyi +7 -21
- package/dist/typeshed-fallback/stdlib/inspect.pyi +24 -24
- package/dist/typeshed-fallback/stdlib/multiprocessing/synchronize.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/os/__init__.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/plistlib.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/pstats.pyi +9 -9
- package/dist/typeshed-fallback/stdlib/py_compile.pyi +3 -3
- package/dist/typeshed-fallback/stdlib/signal.pyi +46 -46
- package/dist/typeshed-fallback/stdlib/socket.pyi +75 -75
- package/dist/typeshed-fallback/stdlib/ssl.pyi +81 -81
- package/dist/typeshed-fallback/stdlib/tkinter/__init__.pyi +38 -38
- package/dist/typeshed-fallback/stdlib/typing.pyi +22 -14
- package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/uuid.pyi +3 -3
- package/dist/typeshed-fallback/stdlib/winreg.pyi +75 -46
- package/dist/typeshed-fallback/stubs/Pillow/METADATA.toml +1 -0
- package/dist/typeshed-fallback/stubs/Pillow/PIL/BlpImagePlugin.pyi +7 -7
- package/dist/typeshed-fallback/stubs/Pillow/PIL/ExifTags.pyi +331 -331
- package/dist/typeshed-fallback/stubs/Pillow/PIL/FtexImagePlugin.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Pillow/PIL/Image.pyi +28 -28
- package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageCms.pyi +7 -7
- package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageFont.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Pillow/PIL/PngImagePlugin.pyi +5 -5
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/sampling/reservoir.pyi +3 -3
- package/dist/typeshed-fallback/stubs/boltons/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/boltons/boltons/ecoutils.pyi +0 -1
- package/dist/typeshed-fallback/stubs/boltons/boltons/funcutils.pyi +15 -0
- package/dist/typeshed-fallback/stubs/boltons/boltons/ioutils.pyi +0 -2
- package/dist/typeshed-fallback/stubs/boltons/boltons/strutils.pyi +4 -6
- package/dist/typeshed-fallback/stubs/boltons/boltons/urlutils.pyi +2 -0
- package/dist/typeshed-fallback/stubs/capturer/METADATA.toml +2 -0
- package/dist/typeshed-fallback/stubs/capturer/capturer.pyi +122 -0
- package/dist/typeshed-fallback/stubs/croniter/croniter/croniter.pyi +1 -1
- package/dist/typeshed-fallback/stubs/dateparser/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/dateparser/dateparser/utils/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/docker/METADATA.toml +3 -0
- package/dist/typeshed-fallback/stubs/docker/docker/__init__.pyi +7 -0
- package/dist/typeshed-fallback/stubs/docker/docker/api/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/docker/docker/api/build.pyi +55 -0
- package/dist/typeshed-fallback/stubs/docker/docker/api/client.pyi +55 -0
- package/dist/typeshed-fallback/stubs/docker/docker/api/config.pyi +7 -0
- package/dist/typeshed-fallback/stubs/docker/docker/api/container.pyi +109 -0
- package/dist/typeshed-fallback/stubs/docker/docker/api/daemon.pyi +23 -0
- package/dist/typeshed-fallback/stubs/docker/docker/api/exec_api.pyi +22 -0
- package/dist/typeshed-fallback/stubs/docker/docker/api/image.pyi +59 -0
- package/dist/typeshed-fallback/stubs/docker/docker/api/network.pyi +34 -0
- package/dist/typeshed-fallback/stubs/docker/docker/api/plugin.pyi +14 -0
- package/dist/typeshed-fallback/stubs/docker/docker/api/secret.pyi +7 -0
- package/dist/typeshed-fallback/stubs/docker/docker/api/service.pyi +47 -0
- package/dist/typeshed-fallback/stubs/docker/docker/api/swarm.pyi +41 -0
- package/dist/typeshed-fallback/stubs/docker/docker/api/volume.pyi +14 -0
- package/dist/typeshed-fallback/stubs/docker/docker/auth.pyi +40 -0
- package/dist/typeshed-fallback/stubs/docker/docker/client.pyi +49 -0
- package/dist/typeshed-fallback/stubs/docker/docker/constants.pyi +22 -0
- package/dist/typeshed-fallback/stubs/docker/docker/context/__init__.pyi +2 -0
- package/dist/typeshed-fallback/stubs/docker/docker/context/api.pyi +30 -0
- package/dist/typeshed-fallback/stubs/docker/docker/context/config.pyi +10 -0
- package/dist/typeshed-fallback/stubs/docker/docker/context/context.pyi +47 -0
- package/dist/typeshed-fallback/stubs/docker/docker/credentials/__init__.pyi +8 -0
- package/dist/typeshed-fallback/stubs/docker/docker/credentials/constants.pyi +4 -0
- package/dist/typeshed-fallback/stubs/docker/docker/credentials/errors.pyi +7 -0
- package/dist/typeshed-fallback/stubs/docker/docker/credentials/store.pyi +11 -0
- package/dist/typeshed-fallback/stubs/docker/docker/credentials/utils.pyi +1 -0
- package/dist/typeshed-fallback/stubs/docker/docker/errors.pyi +71 -0
- package/dist/typeshed-fallback/stubs/docker/docker/models/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/docker/docker/models/configs.pyi +13 -0
- package/dist/typeshed-fallback/stubs/docker/docker/models/containers.pyi +81 -0
- package/dist/typeshed-fallback/stubs/docker/docker/models/images.pyi +43 -0
- package/dist/typeshed-fallback/stubs/docker/docker/models/networks.pyi +19 -0
- package/dist/typeshed-fallback/stubs/docker/docker/models/nodes.pyi +13 -0
- package/dist/typeshed-fallback/stubs/docker/docker/models/plugins.pyi +25 -0
- package/dist/typeshed-fallback/stubs/docker/docker/models/resource.pyi +27 -0
- package/dist/typeshed-fallback/stubs/docker/docker/models/secrets.pyi +13 -0
- package/dist/typeshed-fallback/stubs/docker/docker/models/services.pyi +27 -0
- package/dist/typeshed-fallback/stubs/docker/docker/models/swarm.pyi +33 -0
- package/dist/typeshed-fallback/stubs/docker/docker/models/volumes.pyi +16 -0
- package/dist/typeshed-fallback/stubs/docker/docker/tls.pyi +10 -0
- package/dist/typeshed-fallback/stubs/docker/docker/transport/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/docker/docker/transport/basehttpadapter.pyi +4 -0
- package/dist/typeshed-fallback/stubs/docker/docker/transport/npipeconn.pyi +29 -0
- package/dist/typeshed-fallback/stubs/docker/docker/transport/npipesocket.pyi +49 -0
- package/dist/typeshed-fallback/stubs/docker/docker/transport/sshconn.pyi +49 -0
- package/dist/typeshed-fallback/stubs/docker/docker/transport/unixconn.pyi +31 -0
- package/dist/typeshed-fallback/stubs/docker/docker/types/__init__.pyi +35 -0
- package/dist/typeshed-fallback/stubs/docker/docker/types/base.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docker/docker/types/containers.pyi +164 -0
- package/dist/typeshed-fallback/stubs/docker/docker/types/daemon.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docker/docker/types/healthcheck.pyi +24 -0
- package/dist/typeshed-fallback/stubs/docker/docker/types/networks.pyi +31 -0
- package/dist/typeshed-fallback/stubs/docker/docker/types/services.pyi +170 -0
- package/dist/typeshed-fallback/stubs/docker/docker/types/swarm.pyi +29 -0
- package/dist/typeshed-fallback/stubs/docker/docker/utils/__init__.pyi +32 -0
- package/dist/typeshed-fallback/stubs/docker/docker/utils/build.pyi +38 -0
- package/dist/typeshed-fallback/stubs/docker/docker/utils/config.pyi +10 -0
- package/dist/typeshed-fallback/stubs/docker/docker/utils/decorators.pyi +3 -0
- package/dist/typeshed-fallback/stubs/docker/docker/utils/fnmatch.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docker/docker/utils/json_stream.pyi +10 -0
- package/dist/typeshed-fallback/stubs/docker/docker/utils/ports.pyi +9 -0
- package/dist/typeshed-fallback/stubs/docker/docker/utils/proxy.pyi +33 -0
- package/dist/typeshed-fallback/stubs/docker/docker/utils/socket.pyi +18 -0
- package/dist/typeshed-fallback/stubs/docker/docker/utils/utils.pyi +34 -0
- package/dist/typeshed-fallback/stubs/docker/docker/version.pyi +1 -0
- package/dist/typeshed-fallback/stubs/docutils/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/docutils/docutils/frontend.pyi +55 -11
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/states.pyi +1 -1
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/tableparser.pyi +1 -1
- package/dist/typeshed-fallback/stubs/docutils/docutils/statemachine.pyi +3 -2
- package/dist/typeshed-fallback/stubs/editdistance/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/editdistance/editdistance/__init__.pyi +2 -0
- package/dist/typeshed-fallback/stubs/flake8-bugbear/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/flake8-builtins/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/enums.pyi +163 -163
- package/dist/typeshed-fallback/stubs/gdb/gdb/__init__.pyi +5 -0
- package/dist/typeshed-fallback/stubs/hdbcli/hdbcli/dbapi.pyi +2 -1
- package/dist/typeshed-fallback/stubs/icalendar/METADATA.toml +3 -0
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/__init__.pyi +40 -0
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/cal.pyi +86 -0
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/caselessdict.pyi +43 -0
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/parser.pyi +58 -0
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/parser_tools.pyi +17 -0
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/prop.pyi +225 -0
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/timezone_cache.pyi +0 -0
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/tools.pyi +10 -0
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/windows_to_olson.pyi +3 -0
- package/dist/typeshed-fallback/stubs/influxdb-client/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/influxdb-client/influxdb_client/client/flux_csv_parser.pyi +5 -5
- package/dist/typeshed-fallback/stubs/influxdb-client/influxdb_client/client/write_api.pyi +3 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/betweenness.pyi +9 -7
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/betweenness_subset.pyi +8 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/closeness.pyi +11 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/degree_alg.pyi +4 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/dispersion.pyi +5 -6
- package/dist/typeshed-fallback/stubs/networkx/networkx/convert.pyi +5 -5
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/worksheet.pyi +7 -2
- package/dist/typeshed-fallback/stubs/paramiko/paramiko/client.pyi +4 -3
- package/dist/typeshed-fallback/stubs/paramiko/paramiko/config.pyi +2 -1
- package/dist/typeshed-fallback/stubs/paramiko/paramiko/dsskey.pyi +3 -3
- package/dist/typeshed-fallback/stubs/paramiko/paramiko/ecdsakey.pyi +3 -3
- package/dist/typeshed-fallback/stubs/paramiko/paramiko/ed25519key.pyi +2 -2
- package/dist/typeshed-fallback/stubs/paramiko/paramiko/hostkeys.pyi +4 -3
- package/dist/typeshed-fallback/stubs/paramiko/paramiko/pkey.pyi +4 -3
- package/dist/typeshed-fallback/stubs/paramiko/paramiko/primes.pyi +3 -1
- package/dist/typeshed-fallback/stubs/paramiko/paramiko/rsakey.pyi +3 -3
- package/dist/typeshed-fallback/stubs/paramiko/paramiko/sftp_server.pyi +2 -1
- package/dist/typeshed-fallback/stubs/paramiko/paramiko/transport.pyi +2 -1
- package/dist/typeshed-fallback/stubs/paramiko/paramiko/util.pyi +3 -3
- package/dist/typeshed-fallback/stubs/peewee/METADATA.toml +9 -1
- package/dist/typeshed-fallback/stubs/peewee/peewee.pyi +53 -22
- package/dist/typeshed-fallback/stubs/peewee/playhouse/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/peewee/playhouse/flask_utils.pyi +28 -0
- package/dist/typeshed-fallback/stubs/pika/pika/delivery_mode.pyi +2 -2
- package/dist/typeshed-fallback/stubs/pika/pika/exchange_type.pyi +4 -4
- package/dist/typeshed-fallback/stubs/protobuf/METADATA.toml +4 -2
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/any_pb2.pyi +13 -8
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/api_pb2.pyi +25 -19
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/compiler/plugin_pb2.pyi +51 -17
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/descriptor.pyi +84 -82
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/descriptor_pb2.pyi +743 -161
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/descriptor_pool.pyi +3 -7
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/duration_pb2.pyi +4 -3
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/empty_pb2.pyi +2 -2
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/field_mask_pb2.pyi +5 -3
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/internal/builder.pyi +2 -3
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/internal/containers.pyi +6 -5
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/internal/decoder.pyi +3 -3
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/internal/well_known_types.pyi +5 -7
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/json_format.pyi +19 -19
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/message.pyi +3 -3
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/message_factory.pyi +2 -2
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/source_context_pb2.pyi +4 -3
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/struct_pb2.pyi +17 -12
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/text_format.pyi +94 -92
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/timestamp_pb2.pyi +5 -6
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/type_pb2.pyi +43 -20
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/wrappers_pb2.pyi +50 -19
- package/dist/typeshed-fallback/stubs/psutil/psutil/_common.pyi +5 -5
- package/dist/typeshed-fallback/stubs/psutil/psutil/_pslinux.pyi +4 -4
- package/dist/typeshed-fallback/stubs/psutil/psutil/_psutil_windows.pyi +8 -6
- package/dist/typeshed-fallback/stubs/psutil/psutil/_pswindows.pyi +10 -10
- package/dist/typeshed-fallback/stubs/psycopg2/psycopg2/_psycopg.pyi +3 -3
- package/dist/typeshed-fallback/stubs/psycopg2/psycopg2/pool.pyi +2 -2
- package/dist/typeshed-fallback/stubs/pyOpenSSL/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/pyOpenSSL/OpenSSL/SSL.pyi +2 -3
- package/dist/typeshed-fallback/stubs/pycurl/METADATA.toml +2 -13
- package/dist/typeshed-fallback/stubs/pycurl/pycurl.pyi +669 -639
- package/dist/typeshed-fallback/stubs/pyinstaller/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/pyinstaller/PyInstaller/building/build_main.pyi +2 -1
- package/dist/typeshed-fallback/stubs/pyinstaller/PyInstaller/building/splash.pyi +19 -1
- package/dist/typeshed-fallback/stubs/pynput/pynput/keyboard/_base.pyi +64 -64
- package/dist/typeshed-fallback/stubs/pynput/pynput/mouse/_base.pyi +33 -33
- package/dist/typeshed-fallback/stubs/python-crontab/crontab.pyi +4 -4
- package/dist/typeshed-fallback/stubs/pytz/pytz/lazy.pyi +11 -7
- package/dist/typeshed-fallback/stubs/pywin32/win32comext/propsys/propsys.pyi +1 -1
- package/dist/typeshed-fallback/stubs/qrbill/METADATA.toml +3 -0
- package/dist/typeshed-fallback/stubs/qrbill/qrbill/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/qrbill/qrbill/bill.pyi +180 -0
- package/dist/typeshed-fallback/stubs/qrcode/qrcode/constants.pyi +6 -4
- package/dist/typeshed-fallback/stubs/qrcode/qrcode/main.pyi +68 -18
- package/dist/typeshed-fallback/stubs/qrcode/qrcode/util.pyi +24 -13
- package/dist/typeshed-fallback/stubs/redis/redis/asyncio/client.pyi +7 -7
- package/dist/typeshed-fallback/stubs/redis/redis/asyncio/cluster.pyi +56 -5
- package/dist/typeshed-fallback/stubs/redis/redis/asyncio/connection.pyi +210 -128
- package/dist/typeshed-fallback/stubs/redis/redis/asyncio/sentinel.pyi +141 -48
- package/dist/typeshed-fallback/stubs/redis/redis/cluster.pyi +1 -1
- package/dist/typeshed-fallback/stubs/redis/redis/commands/cluster.pyi +1 -1
- package/dist/typeshed-fallback/stubs/redis/redis/typing.pyi +2 -2
- package/dist/typeshed-fallback/stubs/regex/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/regex/regex/_regex_core.pyi +34 -34
- package/dist/typeshed-fallback/stubs/requests-oauthlib/requests_oauthlib/oauth2_session.pyi +1 -3
- package/dist/typeshed-fallback/stubs/s2clientprotocol/METADATA.toml +3 -0
- package/dist/typeshed-fallback/stubs/s2clientprotocol/s2clientprotocol/common_pb2.pyi +25 -23
- package/dist/typeshed-fallback/stubs/s2clientprotocol/s2clientprotocol/data_pb2.pyi +31 -28
- package/dist/typeshed-fallback/stubs/s2clientprotocol/s2clientprotocol/debug_pb2.pyi +53 -48
- package/dist/typeshed-fallback/stubs/s2clientprotocol/s2clientprotocol/error_pb2.pyi +1 -0
- package/dist/typeshed-fallback/stubs/s2clientprotocol/s2clientprotocol/query_pb2.pyi +33 -32
- package/dist/typeshed-fallback/stubs/s2clientprotocol/s2clientprotocol/raw_pb2.pyi +85 -71
- package/dist/typeshed-fallback/stubs/s2clientprotocol/s2clientprotocol/sc2api_pb2.pyi +246 -197
- package/dist/typeshed-fallback/stubs/s2clientprotocol/s2clientprotocol/score_pb2.pyi +31 -16
- package/dist/typeshed-fallback/stubs/s2clientprotocol/s2clientprotocol/spatial_pb2.pyi +75 -34
- package/dist/typeshed-fallback/stubs/s2clientprotocol/s2clientprotocol/ui_pb2.pyi +61 -59
- package/dist/typeshed-fallback/stubs/seaborn/seaborn/_core/groupby.pyi +2 -2
- package/dist/typeshed-fallback/stubs/seaborn/seaborn/_core/plot.pyi +1 -1
- package/dist/typeshed-fallback/stubs/seaborn/seaborn/_core/scales.pyi +3 -3
- package/dist/typeshed-fallback/stubs/seaborn/seaborn/_core/typing.pyi +1 -1
- package/dist/typeshed-fallback/stubs/seaborn/seaborn/axisgrid.pyi +1 -1
- package/dist/typeshed-fallback/stubs/seaborn/seaborn/categorical.pyi +12 -13
- package/dist/typeshed-fallback/stubs/seaborn/seaborn/matrix.pyi +5 -7
- package/dist/typeshed-fallback/stubs/seaborn/seaborn/utils.pyi +1 -3
- package/dist/typeshed-fallback/stubs/setuptools/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/setuptools/distutils/_modified.pyi +1 -0
- package/dist/typeshed-fallback/stubs/setuptools/distutils/command/bdist.pyi +1 -0
- package/dist/typeshed-fallback/stubs/setuptools/distutils/command/install_lib.pyi +1 -0
- package/dist/typeshed-fallback/stubs/setuptools/distutils/compat/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/ccompiler.pyi +1 -1
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/bdist.pyi +25 -0
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/register.pyi +13 -0
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/sdist.pyi +10 -1
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/upload.pyi +13 -1
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/compat/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/editable_wheel.pyi +3 -3
- package/dist/typeshed-fallback/stubs/tqdm/tqdm/contrib/discord.pyi +1 -6
- package/dist/typeshed-fallback/stubs/tqdm/tqdm/contrib/slack.pyi +3 -1
- package/dist/typeshed-fallback/stubs/tqdm/tqdm/contrib/telegram.pyi +3 -1
- package/dist/typeshed-fallback/stubs/tqdm/tqdm/rich.pyi +3 -3
- package/dist/typeshed-fallback/stubs/waitress/METADATA.toml +1 -4
- package/dist/typeshed-fallback/stubs/waitress/waitress/__init__.pyi +16 -5
- package/dist/typeshed-fallback/stubs/waitress/waitress/adjustments.pyi +12 -9
- package/dist/typeshed-fallback/stubs/waitress/waitress/buffers.pyi +8 -9
- package/dist/typeshed-fallback/stubs/waitress/waitress/channel.pyi +14 -11
- package/dist/typeshed-fallback/stubs/waitress/waitress/compat.pyi +6 -28
- package/dist/typeshed-fallback/stubs/waitress/waitress/parser.pyi +3 -2
- package/dist/typeshed-fallback/stubs/waitress/waitress/proxy_headers.pyi +12 -11
- package/dist/typeshed-fallback/stubs/waitress/waitress/rfc7230.pyi +27 -12
- package/dist/typeshed-fallback/stubs/waitress/waitress/runner.pyi +6 -5
- package/dist/typeshed-fallback/stubs/waitress/waitress/server.pyi +40 -37
- package/dist/typeshed-fallback/stubs/waitress/waitress/task.pyi +11 -10
- package/dist/typeshed-fallback/stubs/waitress/waitress/trigger.pyi +4 -3
- package/dist/typeshed-fallback/stubs/waitress/waitress/utilities.pyi +11 -11
- package/dist/typeshed-fallback/stubs/waitress/waitress/wasyncore.pyi +31 -34
- package/package.json +1 -1
- package/dist/typeshed-fallback/stubs/tzlocal/METADATA.toml +0 -4
- package/dist/typeshed-fallback/stubs/tzlocal/tzlocal/__init__.pyi +0 -8
- package/dist/typeshed-fallback/stubs/tzlocal/tzlocal/utils.pyi +0 -4
- package/dist/typeshed-fallback/stubs/tzlocal/tzlocal/windows_tz.pyi +0 -4
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
|
-
from collections.abc import Generator
|
|
2
|
+
from collections.abc import Callable, Generator
|
|
3
|
+
from typing import Final, Literal, overload
|
|
4
|
+
from typing_extensions import TypeAlias
|
|
3
5
|
|
|
4
6
|
from qrcode.base import RSBlock as RSBlock
|
|
5
7
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
_MaskPattern: TypeAlias = Literal[0, 1, 2, 3, 4, 5, 6, 7]
|
|
9
|
+
|
|
10
|
+
MODE_NUMBER: Final = 1
|
|
11
|
+
MODE_ALPHA_NUM: Final = 2
|
|
12
|
+
MODE_8BIT_BYTE: Final = 4
|
|
13
|
+
MODE_KANJI: Final = 8
|
|
14
|
+
|
|
10
15
|
MODE_SIZE_SMALL: Incomplete
|
|
11
16
|
MODE_SIZE_MEDIUM: Incomplete
|
|
12
17
|
MODE_SIZE_LARGE: Incomplete
|
|
18
|
+
|
|
13
19
|
ALPHA_NUM: bytes
|
|
14
20
|
RE_ALPHA_NUM: Incomplete
|
|
15
21
|
NUMBER_LENGTH: Incomplete
|
|
@@ -25,21 +31,26 @@ def BCH_type_info(data): ...
|
|
|
25
31
|
def BCH_type_number(data): ...
|
|
26
32
|
def BCH_digit(data): ...
|
|
27
33
|
def pattern_position(version): ...
|
|
28
|
-
def mask_func(pattern): ...
|
|
34
|
+
def mask_func(pattern: _MaskPattern) -> Callable[[int, int], bool]: ...
|
|
29
35
|
def mode_sizes_for_version(version): ...
|
|
30
36
|
def length_in_bits(mode, version): ...
|
|
31
37
|
def check_version(version) -> None: ...
|
|
32
38
|
def lost_point(modules): ...
|
|
33
|
-
def optimal_data_chunks(data, minimum: int = 4) -> Generator[
|
|
34
|
-
def to_bytestring(data): ...
|
|
35
|
-
def optimal_mode(data): ...
|
|
39
|
+
def optimal_data_chunks(data: str | bytes, minimum: int = 4) -> Generator[QRData, None, None]: ...
|
|
40
|
+
def to_bytestring(data: str | bytes) -> bytes: ...
|
|
41
|
+
def optimal_mode(data) -> Literal[1, 2, 4]: ...
|
|
36
42
|
|
|
37
43
|
class QRData:
|
|
38
|
-
mode:
|
|
39
|
-
data:
|
|
40
|
-
|
|
44
|
+
mode: Literal[1, 2, 4]
|
|
45
|
+
data: bytes
|
|
46
|
+
@overload
|
|
47
|
+
def __init__(self, data: bytes | str, mode: Literal[1, 2, 4] | None = None, check_data: Literal[True] = True) -> None: ...
|
|
48
|
+
@overload
|
|
49
|
+
def __init__(self, data: bytes, mode: Literal[1, 2, 4] | None = None, *, check_data: Literal[False]) -> None: ...
|
|
50
|
+
@overload
|
|
51
|
+
def __init__(self, data: bytes, mode: Literal[1, 2, 4] | None, check_data: Literal[False]) -> None: ...
|
|
41
52
|
def __len__(self) -> int: ...
|
|
42
|
-
def write(self, buffer) -> None: ...
|
|
53
|
+
def write(self, buffer: BitBuffer) -> None: ...
|
|
43
54
|
|
|
44
55
|
class BitBuffer:
|
|
45
56
|
buffer: Incomplete
|
|
@@ -44,7 +44,7 @@ class Redis(AbstractRedis, RedisModuleCommands, AsyncCoreCommands[_StrType], Asy
|
|
|
44
44
|
socket_connect_timeout: float | None = None,
|
|
45
45
|
socket_keepalive: bool | None = None,
|
|
46
46
|
socket_keepalive_options: Mapping[int, int | bytes] | None = None,
|
|
47
|
-
connection_pool: ConnectionPool | None = None,
|
|
47
|
+
connection_pool: ConnectionPool[Any] | None = None,
|
|
48
48
|
unix_socket_path: str | None = None,
|
|
49
49
|
encoding: str = "utf-8",
|
|
50
50
|
encoding_errors: str = "strict",
|
|
@@ -82,7 +82,7 @@ class Redis(AbstractRedis, RedisModuleCommands, AsyncCoreCommands[_StrType], Asy
|
|
|
82
82
|
socket_connect_timeout: float | None = None,
|
|
83
83
|
socket_keepalive: bool | None = None,
|
|
84
84
|
socket_keepalive_options: Mapping[int, int | bytes] | None = None,
|
|
85
|
-
connection_pool: ConnectionPool | None = None,
|
|
85
|
+
connection_pool: ConnectionPool[Any] | None = None,
|
|
86
86
|
unix_socket_path: str | None = None,
|
|
87
87
|
encoding: str = "utf-8",
|
|
88
88
|
encoding_errors: str = "strict",
|
|
@@ -118,7 +118,7 @@ class Redis(AbstractRedis, RedisModuleCommands, AsyncCoreCommands[_StrType], Asy
|
|
|
118
118
|
socket_connect_timeout: float | None = None,
|
|
119
119
|
socket_keepalive: bool | None = None,
|
|
120
120
|
socket_keepalive_options: Mapping[int, int | bytes] | None = None,
|
|
121
|
-
connection_pool: ConnectionPool | None = None,
|
|
121
|
+
connection_pool: ConnectionPool[Any] | None = None,
|
|
122
122
|
unix_socket_path: str | None = None,
|
|
123
123
|
encoding: str = "utf-8",
|
|
124
124
|
encoding_errors: str = "strict",
|
|
@@ -154,7 +154,7 @@ class Redis(AbstractRedis, RedisModuleCommands, AsyncCoreCommands[_StrType], Asy
|
|
|
154
154
|
socket_connect_timeout: float | None = None,
|
|
155
155
|
socket_keepalive: bool | None = None,
|
|
156
156
|
socket_keepalive_options: Mapping[int, int | bytes] | None = None,
|
|
157
|
-
connection_pool: ConnectionPool | None = None,
|
|
157
|
+
connection_pool: ConnectionPool[Any] | None = None,
|
|
158
158
|
unix_socket_path: str | None = None,
|
|
159
159
|
encoding: str = "utf-8",
|
|
160
160
|
encoding_errors: str = "strict",
|
|
@@ -228,7 +228,7 @@ class Monitor:
|
|
|
228
228
|
command_re: Any
|
|
229
229
|
connection_pool: Any
|
|
230
230
|
connection: Any
|
|
231
|
-
def __init__(self, connection_pool: ConnectionPool) -> None: ...
|
|
231
|
+
def __init__(self, connection_pool: ConnectionPool[Any]) -> None: ...
|
|
232
232
|
async def connect(self) -> None: ...
|
|
233
233
|
async def __aenter__(self) -> Self: ...
|
|
234
234
|
async def __aexit__(self, *args: Unused) -> None: ...
|
|
@@ -251,7 +251,7 @@ class PubSub:
|
|
|
251
251
|
pending_unsubscribe_patterns: Any
|
|
252
252
|
def __init__(
|
|
253
253
|
self,
|
|
254
|
-
connection_pool: ConnectionPool,
|
|
254
|
+
connection_pool: ConnectionPool[Any],
|
|
255
255
|
shard_hint: str | None = None,
|
|
256
256
|
ignore_subscribe_messages: bool = False,
|
|
257
257
|
encoder: Incomplete | None = None,
|
|
@@ -302,7 +302,7 @@ class Pipeline(Redis[_StrType]):
|
|
|
302
302
|
explicit_transaction: bool
|
|
303
303
|
def __init__(
|
|
304
304
|
self,
|
|
305
|
-
connection_pool: ConnectionPool,
|
|
305
|
+
connection_pool: ConnectionPool[Any],
|
|
306
306
|
response_callbacks: MutableMapping[str | bytes, ResponseCallbackT],
|
|
307
307
|
transaction: bool,
|
|
308
308
|
shard_hint: str | None,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
2
|
from collections.abc import Awaitable, Callable, Mapping
|
|
3
3
|
from types import TracebackType
|
|
4
|
-
from typing import Any, Generic
|
|
4
|
+
from typing import Any, Generic, TypeVar
|
|
5
5
|
from typing_extensions import Self
|
|
6
6
|
|
|
7
7
|
from redis.asyncio.client import ResponseCallbackT
|
|
8
|
-
from redis.asyncio.connection import BaseParser, Connection, Encoder
|
|
8
|
+
from redis.asyncio.connection import AbstractConnection, BaseParser, Connection, Encoder
|
|
9
9
|
from redis.asyncio.parser import CommandsParser
|
|
10
10
|
from redis.client import AbstractRedis
|
|
11
11
|
from redis.cluster import AbstractRedisCluster, LoadBalancer
|
|
@@ -14,13 +14,65 @@ from redis.cluster import AbstractRedisCluster, LoadBalancer
|
|
|
14
14
|
# from redis.commands import AsyncRedisClusterCommands
|
|
15
15
|
from redis.commands.core import _StrType
|
|
16
16
|
from redis.credentials import CredentialProvider
|
|
17
|
+
from redis.exceptions import ResponseError
|
|
17
18
|
from redis.retry import Retry
|
|
18
19
|
from redis.typing import AnyKeyT, EncodableT, KeyT
|
|
19
20
|
|
|
21
|
+
TargetNodesT = TypeVar("TargetNodesT", str, ClusterNode, list[ClusterNode], dict[Any, ClusterNode]) # noqa: Y001
|
|
22
|
+
|
|
20
23
|
# It uses `DefaultParser` in real life, but it is a dynamic base class.
|
|
21
|
-
class ClusterParser(BaseParser):
|
|
24
|
+
class ClusterParser(BaseParser):
|
|
25
|
+
def on_disconnect(self) -> None: ...
|
|
26
|
+
def on_connect(self, connection: AbstractConnection) -> None: ...
|
|
27
|
+
async def can_read_destructive(self) -> bool: ...
|
|
28
|
+
async def read_response(self, disable_decoding: bool = False) -> EncodableT | ResponseError | list[EncodableT] | None: ...
|
|
22
29
|
|
|
23
30
|
class RedisCluster(AbstractRedis, AbstractRedisCluster, Generic[_StrType]): # TODO: AsyncRedisClusterCommands
|
|
31
|
+
@classmethod
|
|
32
|
+
def from_url(
|
|
33
|
+
cls,
|
|
34
|
+
url: str,
|
|
35
|
+
*,
|
|
36
|
+
host: str | None = None,
|
|
37
|
+
port: str | int = 6379,
|
|
38
|
+
# Cluster related kwargs
|
|
39
|
+
startup_nodes: list[ClusterNode] | None = None,
|
|
40
|
+
require_full_coverage: bool = True,
|
|
41
|
+
read_from_replicas: bool = False,
|
|
42
|
+
reinitialize_steps: int = 5,
|
|
43
|
+
cluster_error_retry_attempts: int = 3,
|
|
44
|
+
connection_error_retry_attempts: int = 3,
|
|
45
|
+
max_connections: int = 2147483648,
|
|
46
|
+
# Client related kwargs
|
|
47
|
+
db: str | int = 0,
|
|
48
|
+
path: str | None = None,
|
|
49
|
+
credential_provider: CredentialProvider | None = None,
|
|
50
|
+
username: str | None = None,
|
|
51
|
+
password: str | None = None,
|
|
52
|
+
client_name: str | None = None,
|
|
53
|
+
# Encoding related kwargs
|
|
54
|
+
encoding: str = "utf-8",
|
|
55
|
+
encoding_errors: str = "strict",
|
|
56
|
+
decode_responses: bool = False,
|
|
57
|
+
# Connection related kwargs
|
|
58
|
+
health_check_interval: float = 0,
|
|
59
|
+
socket_connect_timeout: float | None = None,
|
|
60
|
+
socket_keepalive: bool = False,
|
|
61
|
+
socket_keepalive_options: Mapping[int, int | bytes] | None = None,
|
|
62
|
+
socket_timeout: float | None = None,
|
|
63
|
+
retry: Retry | None = None,
|
|
64
|
+
retry_on_error: list[Exception] | None = None,
|
|
65
|
+
# SSL related kwargs
|
|
66
|
+
ssl: bool = False,
|
|
67
|
+
ssl_ca_certs: str | None = None,
|
|
68
|
+
ssl_ca_data: str | None = None,
|
|
69
|
+
ssl_cert_reqs: str = "required",
|
|
70
|
+
ssl_certfile: str | None = None,
|
|
71
|
+
ssl_check_hostname: bool = False,
|
|
72
|
+
ssl_keyfile: str | None = None,
|
|
73
|
+
address_remap: Callable[[str, int], tuple[str, int]] | None = None,
|
|
74
|
+
) -> Self: ...
|
|
75
|
+
|
|
24
76
|
retry: Retry | None
|
|
25
77
|
connection_kwargs: dict[str, Any]
|
|
26
78
|
nodes_manager: NodesManager
|
|
@@ -34,6 +86,7 @@ class RedisCluster(AbstractRedis, AbstractRedisCluster, Generic[_StrType]): # T
|
|
|
34
86
|
command_flags: dict[str, str]
|
|
35
87
|
response_callbacks: Incomplete
|
|
36
88
|
result_callbacks: dict[str, Callable[[Incomplete, Incomplete], Incomplete]]
|
|
89
|
+
|
|
37
90
|
def __init__(
|
|
38
91
|
self,
|
|
39
92
|
host: str | None = None,
|
|
@@ -98,8 +151,6 @@ class RedisCluster(AbstractRedis, AbstractRedisCluster, Generic[_StrType]): # T
|
|
|
98
151
|
def set_response_callback(self, command: str, callback: ResponseCallbackT) -> None: ...
|
|
99
152
|
async def execute_command(self, *args: EncodableT, **kwargs: Any) -> Any: ...
|
|
100
153
|
def pipeline(self, transaction: Any | None = None, shard_hint: Any | None = None) -> ClusterPipeline[_StrType]: ...
|
|
101
|
-
@classmethod
|
|
102
|
-
def from_url(cls, url: str, **kwargs) -> Self: ...
|
|
103
154
|
|
|
104
155
|
class ClusterNode:
|
|
105
156
|
host: str
|