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,69 +1,162 @@
|
|
|
1
|
-
from
|
|
2
|
-
from
|
|
3
|
-
from typing import Any, overload
|
|
1
|
+
from collections.abc import AsyncIterator, Iterable, Mapping
|
|
2
|
+
from typing import Any, Literal, TypedDict, TypeVar, overload
|
|
4
3
|
|
|
5
4
|
from redis.asyncio.client import Redis
|
|
6
|
-
from redis.asyncio.connection import
|
|
5
|
+
from redis.asyncio.connection import (
|
|
6
|
+
BaseParser,
|
|
7
|
+
ConnectCallbackT,
|
|
8
|
+
Connection,
|
|
9
|
+
ConnectionPool,
|
|
10
|
+
Encoder,
|
|
11
|
+
SSLConnection,
|
|
12
|
+
_ConnectionT,
|
|
13
|
+
_Sentinel,
|
|
14
|
+
)
|
|
15
|
+
from redis.asyncio.retry import Retry
|
|
7
16
|
from redis.commands import AsyncSentinelCommands
|
|
8
|
-
from redis.
|
|
9
|
-
from redis.
|
|
17
|
+
from redis.credentials import CredentialProvider
|
|
18
|
+
from redis.exceptions import ConnectionError, RedisError
|
|
19
|
+
|
|
20
|
+
_RedisT = TypeVar("_RedisT", bound=Redis[Any])
|
|
10
21
|
|
|
11
22
|
class MasterNotFoundError(ConnectionError): ...
|
|
12
23
|
class SlaveNotFoundError(ConnectionError): ...
|
|
13
24
|
|
|
14
25
|
class SentinelManagedConnection(Connection):
|
|
15
|
-
connection_pool: Any
|
|
16
|
-
def __init__(
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
connection_pool: ConnectionPool[Any] | None
|
|
27
|
+
def __init__(
|
|
28
|
+
self,
|
|
29
|
+
*,
|
|
30
|
+
connection_pool: ConnectionPool[Any] | None,
|
|
31
|
+
# **kwargs forwarded to Connection.
|
|
32
|
+
host: str = "localhost",
|
|
33
|
+
port: str | int = 6379,
|
|
34
|
+
socket_keepalive: bool = False,
|
|
35
|
+
socket_keepalive_options: Mapping[int, int | bytes] | None = None,
|
|
36
|
+
socket_type: int = 0,
|
|
37
|
+
db: str | int = 0,
|
|
38
|
+
password: str | None = None,
|
|
39
|
+
socket_timeout: float | None = None,
|
|
40
|
+
socket_connect_timeout: float | None = None,
|
|
41
|
+
retry_on_timeout: bool = False,
|
|
42
|
+
retry_on_error: list[type[RedisError]] | _Sentinel = ...,
|
|
43
|
+
encoding: str = "utf-8",
|
|
44
|
+
encoding_errors: str = "strict",
|
|
45
|
+
decode_responses: bool = False,
|
|
46
|
+
parser_class: type[BaseParser] = ...,
|
|
47
|
+
socket_read_size: int = 65536,
|
|
48
|
+
health_check_interval: float = 0,
|
|
49
|
+
client_name: str | None = None,
|
|
50
|
+
username: str | None = None,
|
|
51
|
+
retry: Retry | None = None,
|
|
52
|
+
redis_connect_func: ConnectCallbackT | None = None,
|
|
53
|
+
encoder_class: type[Encoder] = ...,
|
|
54
|
+
credential_provider: CredentialProvider | None = None,
|
|
55
|
+
) -> None: ...
|
|
56
|
+
async def connect_to(self, address: tuple[str, int]) -> None: ...
|
|
57
|
+
async def connect(self) -> None: ...
|
|
27
58
|
|
|
28
59
|
class SentinelManagedSSLConnection(SentinelManagedConnection, SSLConnection): ...
|
|
29
60
|
|
|
30
|
-
class SentinelConnectionPool(ConnectionPool):
|
|
31
|
-
is_master:
|
|
32
|
-
check_connection:
|
|
33
|
-
service_name:
|
|
34
|
-
sentinel_manager:
|
|
35
|
-
master_address:
|
|
36
|
-
slave_rr_counter:
|
|
37
|
-
|
|
38
|
-
def
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
61
|
+
class SentinelConnectionPool(ConnectionPool[_ConnectionT]):
|
|
62
|
+
is_master: bool
|
|
63
|
+
check_connection: bool
|
|
64
|
+
service_name: str
|
|
65
|
+
sentinel_manager: Sentinel
|
|
66
|
+
master_address: tuple[str, int] | None
|
|
67
|
+
slave_rr_counter: int | None
|
|
68
|
+
|
|
69
|
+
def __init__(
|
|
70
|
+
self,
|
|
71
|
+
service_name: str,
|
|
72
|
+
sentinel_manager: Sentinel,
|
|
73
|
+
*,
|
|
74
|
+
ssl: bool = False,
|
|
75
|
+
connection_class: type[SentinelManagedConnection] = ...,
|
|
76
|
+
is_master: bool = True,
|
|
77
|
+
check_connection: bool = False,
|
|
78
|
+
# **kwargs ultimately forwarded to construction Connection instances.
|
|
79
|
+
host: str = "localhost",
|
|
80
|
+
port: str | int = 6379,
|
|
81
|
+
socket_keepalive: bool = False,
|
|
82
|
+
socket_keepalive_options: Mapping[int, int | bytes] | None = None,
|
|
83
|
+
socket_type: int = 0,
|
|
84
|
+
db: str | int = 0,
|
|
85
|
+
password: str | None = None,
|
|
86
|
+
socket_timeout: float | None = None,
|
|
87
|
+
socket_connect_timeout: float | None = None,
|
|
88
|
+
retry_on_timeout: bool = False,
|
|
89
|
+
retry_on_error: list[type[RedisError]] | _Sentinel = ...,
|
|
90
|
+
encoding: str = "utf-8",
|
|
91
|
+
encoding_errors: str = "strict",
|
|
92
|
+
decode_responses: bool = False,
|
|
93
|
+
parser_class: type[BaseParser] = ...,
|
|
94
|
+
socket_read_size: int = 65536,
|
|
95
|
+
health_check_interval: float = 0,
|
|
96
|
+
client_name: str | None = None,
|
|
97
|
+
username: str | None = None,
|
|
98
|
+
retry: Retry | None = None,
|
|
99
|
+
redis_connect_func: ConnectCallbackT | None = None,
|
|
100
|
+
encoder_class: type[Encoder] = ...,
|
|
101
|
+
credential_provider: CredentialProvider | None = None,
|
|
102
|
+
) -> None: ...
|
|
103
|
+
async def get_master_address(self) -> tuple[str, int]: ...
|
|
104
|
+
async def rotate_slaves(self) -> AsyncIterator[tuple[str, int]]: ...
|
|
105
|
+
|
|
106
|
+
_State = TypedDict(
|
|
107
|
+
"_State", {"ip": str, "port": int, "is_master": bool, "is_sdown": bool, "is_odown": bool, "num-other-sentinels": int}
|
|
108
|
+
)
|
|
42
109
|
|
|
43
110
|
class Sentinel(AsyncSentinelCommands):
|
|
44
|
-
sentinel_kwargs: Any
|
|
45
|
-
sentinels: Any
|
|
46
|
-
min_other_sentinels:
|
|
47
|
-
connection_kwargs: Any
|
|
111
|
+
sentinel_kwargs: Mapping[str, Any]
|
|
112
|
+
sentinels: list[Redis[Any]]
|
|
113
|
+
min_other_sentinels: int
|
|
114
|
+
connection_kwargs: Mapping[str, Any]
|
|
48
115
|
def __init__(
|
|
49
|
-
self,
|
|
116
|
+
self,
|
|
117
|
+
sentinels: Iterable[tuple[str, int]],
|
|
118
|
+
min_other_sentinels: int = 0,
|
|
119
|
+
sentinel_kwargs: Mapping[str, Any] | None = None,
|
|
120
|
+
**connection_kwargs: Any,
|
|
50
121
|
) -> None: ...
|
|
51
|
-
async def execute_command(self, *args, **kwargs): ...
|
|
52
|
-
def check_master_state(self, state:
|
|
53
|
-
async def discover_master(self, service_name: str): ...
|
|
54
|
-
def filter_slaves(self, slaves: Iterable[
|
|
55
|
-
async def discover_slaves(self, service_name: str) ->
|
|
122
|
+
async def execute_command(self, *args: Any, once: bool = False, **kwargs: Any) -> Literal[True]: ...
|
|
123
|
+
def check_master_state(self, state: _State, service_name: str) -> bool: ...
|
|
124
|
+
async def discover_master(self, service_name: str) -> tuple[str, int]: ...
|
|
125
|
+
def filter_slaves(self, slaves: Iterable[_State]) -> list[tuple[str, int]]: ...
|
|
126
|
+
async def discover_slaves(self, service_name: str) -> list[tuple[str, int]]: ...
|
|
127
|
+
@overload
|
|
128
|
+
def master_for(
|
|
129
|
+
self,
|
|
130
|
+
service_name: str,
|
|
131
|
+
redis_class: type[_RedisT],
|
|
132
|
+
connection_pool_class: type[SentinelConnectionPool[Any]] = ...,
|
|
133
|
+
# Forwarded to the connection pool constructor.
|
|
134
|
+
**kwargs: Any,
|
|
135
|
+
) -> _RedisT: ...
|
|
136
|
+
@overload
|
|
56
137
|
def master_for(
|
|
57
138
|
self,
|
|
58
139
|
service_name: str,
|
|
59
|
-
|
|
60
|
-
connection_pool_class: type[SentinelConnectionPool] = ...,
|
|
61
|
-
|
|
62
|
-
|
|
140
|
+
*,
|
|
141
|
+
connection_pool_class: type[SentinelConnectionPool[Any]] = ...,
|
|
142
|
+
# Forwarded to the connection pool constructor.
|
|
143
|
+
**kwargs: Any,
|
|
144
|
+
) -> Redis[Any]: ...
|
|
145
|
+
@overload
|
|
146
|
+
def slave_for(
|
|
147
|
+
self,
|
|
148
|
+
service_name: str,
|
|
149
|
+
redis_class: type[_RedisT],
|
|
150
|
+
connection_pool_class: type[SentinelConnectionPool[Any]] = ...,
|
|
151
|
+
# Forwarded to the connection pool constructor.
|
|
152
|
+
**kwargs: Any,
|
|
153
|
+
) -> _RedisT: ...
|
|
154
|
+
@overload
|
|
63
155
|
def slave_for(
|
|
64
156
|
self,
|
|
65
157
|
service_name: str,
|
|
66
|
-
|
|
67
|
-
connection_pool_class: type[SentinelConnectionPool] = ...,
|
|
68
|
-
|
|
69
|
-
|
|
158
|
+
*,
|
|
159
|
+
connection_pool_class: type[SentinelConnectionPool[Any]] = ...,
|
|
160
|
+
# Forwarded to the connection pool constructor.
|
|
161
|
+
**kwargs: Any,
|
|
162
|
+
) -> Redis[Any]: ...
|
|
@@ -250,7 +250,7 @@ class PipelineCommand:
|
|
|
250
250
|
) -> None: ...
|
|
251
251
|
|
|
252
252
|
class _ParseResponseCallback(Protocol):
|
|
253
|
-
def __call__(self, connection: Connection, command: EncodableT, /, **kwargs
|
|
253
|
+
def __call__(self, connection: Connection, command: EncodableT, /, **kwargs) -> Any: ...
|
|
254
254
|
|
|
255
255
|
class NodeCommands:
|
|
256
256
|
parse_response: _ParseResponseCallback
|
|
@@ -52,7 +52,7 @@ class RedisClusterCommands(
|
|
|
52
52
|
def cluster_replicas(self, node_id, target_nodes: Incomplete | None = None): ...
|
|
53
53
|
def cluster_slots(self, target_nodes: Incomplete | None = None): ...
|
|
54
54
|
def cluster_myshardid(self, target_nodes: Incomplete | None = None): ...
|
|
55
|
-
def cluster_links(self, target_node
|
|
55
|
+
def cluster_links(self, target_node): ...
|
|
56
56
|
def cluster_flushslots(self, target_nodes: Incomplete | None = None) -> NoReturn: ...
|
|
57
57
|
def cluster_bumpepoch(self, target_nodes: Incomplete | None = None) -> NoReturn: ...
|
|
58
58
|
read_from_replicas: bool
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from collections.abc import Iterable
|
|
2
2
|
from datetime import datetime, timedelta
|
|
3
|
-
from typing import Protocol, TypeVar
|
|
3
|
+
from typing import Any, Protocol, TypeVar
|
|
4
4
|
from typing_extensions import TypeAlias
|
|
5
5
|
|
|
6
6
|
from redis.asyncio.connection import ConnectionPool as AsyncConnectionPool
|
|
@@ -30,5 +30,5 @@ AnyFieldT = TypeVar("AnyFieldT", bytes, str, memoryview) # noqa: Y001
|
|
|
30
30
|
AnyChannelT = TypeVar("AnyChannelT", bytes, str, memoryview) # noqa: Y001
|
|
31
31
|
|
|
32
32
|
class CommandsProtocol(Protocol):
|
|
33
|
-
connection_pool: AsyncConnectionPool | ConnectionPool
|
|
33
|
+
connection_pool: AsyncConnectionPool[Any] | ConnectionPool
|
|
34
34
|
def execute_command(self, *args, **options): ...
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
version = "
|
|
1
|
+
version = "2024.4.16"
|
|
2
2
|
upstream_repository = "https://github.com/mrabarnett/mrab-regex"
|
|
@@ -9,40 +9,40 @@ class error(Exception):
|
|
|
9
9
|
def __init__(self, message: str, pattern: AnyStr | None = None, pos: int | None = None) -> None: ...
|
|
10
10
|
|
|
11
11
|
class RegexFlag(enum.IntFlag):
|
|
12
|
-
A
|
|
13
|
-
ASCII
|
|
14
|
-
B
|
|
15
|
-
BESTMATCH
|
|
16
|
-
D
|
|
17
|
-
DEBUG
|
|
18
|
-
E
|
|
19
|
-
ENHANCEMATCH
|
|
20
|
-
F
|
|
21
|
-
FULLCASE
|
|
22
|
-
I
|
|
23
|
-
IGNORECASE
|
|
24
|
-
L
|
|
25
|
-
LOCALE
|
|
26
|
-
M
|
|
27
|
-
MULTILINE
|
|
28
|
-
P
|
|
29
|
-
POSIX
|
|
30
|
-
R
|
|
31
|
-
REVERSE
|
|
32
|
-
T
|
|
33
|
-
TEMPLATE
|
|
34
|
-
S
|
|
35
|
-
DOTALL
|
|
36
|
-
U
|
|
37
|
-
UNICODE
|
|
38
|
-
V0
|
|
39
|
-
VERSION0
|
|
40
|
-
V1
|
|
41
|
-
VERSION1
|
|
42
|
-
W
|
|
43
|
-
WORD
|
|
44
|
-
X
|
|
45
|
-
VERBOSE
|
|
12
|
+
A = 0x80
|
|
13
|
+
ASCII = A
|
|
14
|
+
B = 0x1000
|
|
15
|
+
BESTMATCH = B
|
|
16
|
+
D = 0x200
|
|
17
|
+
DEBUG = D
|
|
18
|
+
E = 0x8000
|
|
19
|
+
ENHANCEMATCH = E
|
|
20
|
+
F = 0x4000
|
|
21
|
+
FULLCASE = F
|
|
22
|
+
I = 0x2
|
|
23
|
+
IGNORECASE = I
|
|
24
|
+
L = 0x4
|
|
25
|
+
LOCALE = L
|
|
26
|
+
M = 0x8
|
|
27
|
+
MULTILINE = M
|
|
28
|
+
P = 0x10000
|
|
29
|
+
POSIX = P
|
|
30
|
+
R = 0x400
|
|
31
|
+
REVERSE = R
|
|
32
|
+
T = 0x1
|
|
33
|
+
TEMPLATE = T
|
|
34
|
+
S = 0x10
|
|
35
|
+
DOTALL = S
|
|
36
|
+
U = 0x20
|
|
37
|
+
UNICODE = U
|
|
38
|
+
V0 = 0x2000
|
|
39
|
+
VERSION0 = V0
|
|
40
|
+
V1 = 0x100
|
|
41
|
+
VERSION1 = V1
|
|
42
|
+
W = 0x800
|
|
43
|
+
WORD = W
|
|
44
|
+
X = 0x40
|
|
45
|
+
VERBOSE = X
|
|
46
46
|
|
|
47
47
|
A: int
|
|
48
48
|
ASCII: int
|
|
@@ -16,9 +16,7 @@ class _RefreshTokenResponseHook(Protocol):
|
|
|
16
16
|
def __call__(self, response: requests.Response, /) -> requests.Response: ...
|
|
17
17
|
|
|
18
18
|
class _ProtectedRequestHook(Protocol):
|
|
19
|
-
def __call__(
|
|
20
|
-
self, url: Incomplete, headers: Incomplete, data: Incomplete, /
|
|
21
|
-
) -> tuple[Incomplete, Incomplete, Incomplete]: ...
|
|
19
|
+
def __call__(self, url, headers, data, /) -> tuple[Incomplete, Incomplete, Incomplete]: ...
|
|
22
20
|
|
|
23
21
|
class _ComplianceHooks(TypedDict):
|
|
24
22
|
access_token_response: set[_AccessTokenResponseHook]
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
# Whenever you update version here, S2CLIENT_PROTO_VERSION should be updated
|
|
2
|
+
# in scripts/sync_s2clientprotocol_protobuf_stubs.sh and vice-versa.
|
|
1
3
|
version = "5.*"
|
|
2
4
|
upstream_repository = "https://github.com/Blizzard/s2client-proto"
|
|
3
5
|
requires = ["types-protobuf"]
|
|
6
|
+
extra_description = "Partially generated using [mypy-protobuf==3.6.0](https://github.com/nipunn1313/mypy-protobuf/tree/v3.6.0) and libprotoc 3.6.1 on [s2client-proto 5.0.12.91115.0](https://github.com/Blizzard/s2client-proto/tree/c04df4adbe274858a4eb8417175ee32ad02fd609)"
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
@generated by mypy-protobuf. Do not edit manually!
|
|
3
3
|
isort:skip_file
|
|
4
4
|
"""
|
|
5
|
+
|
|
5
6
|
import builtins
|
|
6
7
|
import sys
|
|
7
8
|
import typing
|
|
@@ -38,7 +39,7 @@ Protoss: Race.ValueType # 3
|
|
|
38
39
|
Random: Race.ValueType # 4
|
|
39
40
|
global___Race = Race
|
|
40
41
|
|
|
41
|
-
@
|
|
42
|
+
@typing.final
|
|
42
43
|
class AvailableAbility(google.protobuf.message.Message):
|
|
43
44
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
44
45
|
|
|
@@ -52,12 +53,12 @@ class AvailableAbility(google.protobuf.message.Message):
|
|
|
52
53
|
ability_id: builtins.int | None = ...,
|
|
53
54
|
requires_point: builtins.bool | None = ...,
|
|
54
55
|
) -> None: ...
|
|
55
|
-
def HasField(self, field_name:
|
|
56
|
-
def ClearField(self, field_name:
|
|
56
|
+
def HasField(self, field_name: typing.Literal["ability_id", b"ability_id", "requires_point", b"requires_point"]) -> builtins.bool: ...
|
|
57
|
+
def ClearField(self, field_name: typing.Literal["ability_id", b"ability_id", "requires_point", b"requires_point"]) -> None: ...
|
|
57
58
|
|
|
58
59
|
global___AvailableAbility = AvailableAbility
|
|
59
60
|
|
|
60
|
-
@
|
|
61
|
+
@typing.final
|
|
61
62
|
class ImageData(google.protobuf.message.Message):
|
|
62
63
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
63
64
|
|
|
@@ -66,11 +67,12 @@ class ImageData(google.protobuf.message.Message):
|
|
|
66
67
|
DATA_FIELD_NUMBER: builtins.int
|
|
67
68
|
bits_per_pixel: builtins.int
|
|
68
69
|
"""Number of bits per pixel; 8 bits for a byte etc."""
|
|
70
|
+
data: builtins.bytes
|
|
71
|
+
"""Binary data; the size of this buffer in bytes is width * height * bits_per_pixel / 8."""
|
|
69
72
|
@property
|
|
70
73
|
def size(self) -> global___Size2DI:
|
|
71
74
|
"""Dimension in pixels."""
|
|
72
|
-
|
|
73
|
-
"""Binary data; the size of this buffer in bytes is width * height * bits_per_pixel / 8."""
|
|
75
|
+
|
|
74
76
|
def __init__(
|
|
75
77
|
self,
|
|
76
78
|
*,
|
|
@@ -78,12 +80,12 @@ class ImageData(google.protobuf.message.Message):
|
|
|
78
80
|
size: global___Size2DI | None = ...,
|
|
79
81
|
data: builtins.bytes | None = ...,
|
|
80
82
|
) -> None: ...
|
|
81
|
-
def HasField(self, field_name:
|
|
82
|
-
def ClearField(self, field_name:
|
|
83
|
+
def HasField(self, field_name: typing.Literal["bits_per_pixel", b"bits_per_pixel", "data", b"data", "size", b"size"]) -> builtins.bool: ...
|
|
84
|
+
def ClearField(self, field_name: typing.Literal["bits_per_pixel", b"bits_per_pixel", "data", b"data", "size", b"size"]) -> None: ...
|
|
83
85
|
|
|
84
86
|
global___ImageData = ImageData
|
|
85
87
|
|
|
86
|
-
@
|
|
88
|
+
@typing.final
|
|
87
89
|
class PointI(google.protobuf.message.Message):
|
|
88
90
|
"""Point on the screen/minimap (e.g., 0..64).
|
|
89
91
|
Note: bottom left of the screen is 0, 0.
|
|
@@ -101,12 +103,12 @@ class PointI(google.protobuf.message.Message):
|
|
|
101
103
|
x: builtins.int | None = ...,
|
|
102
104
|
y: builtins.int | None = ...,
|
|
103
105
|
) -> None: ...
|
|
104
|
-
def HasField(self, field_name:
|
|
105
|
-
def ClearField(self, field_name:
|
|
106
|
+
def HasField(self, field_name: typing.Literal["x", b"x", "y", b"y"]) -> builtins.bool: ...
|
|
107
|
+
def ClearField(self, field_name: typing.Literal["x", b"x", "y", b"y"]) -> None: ...
|
|
106
108
|
|
|
107
109
|
global___PointI = PointI
|
|
108
110
|
|
|
109
|
-
@
|
|
111
|
+
@typing.final
|
|
110
112
|
class RectangleI(google.protobuf.message.Message):
|
|
111
113
|
"""Screen space rectangular area."""
|
|
112
114
|
|
|
@@ -124,12 +126,12 @@ class RectangleI(google.protobuf.message.Message):
|
|
|
124
126
|
p0: global___PointI | None = ...,
|
|
125
127
|
p1: global___PointI | None = ...,
|
|
126
128
|
) -> None: ...
|
|
127
|
-
def HasField(self, field_name:
|
|
128
|
-
def ClearField(self, field_name:
|
|
129
|
+
def HasField(self, field_name: typing.Literal["p0", b"p0", "p1", b"p1"]) -> builtins.bool: ...
|
|
130
|
+
def ClearField(self, field_name: typing.Literal["p0", b"p0", "p1", b"p1"]) -> None: ...
|
|
129
131
|
|
|
130
132
|
global___RectangleI = RectangleI
|
|
131
133
|
|
|
132
|
-
@
|
|
134
|
+
@typing.final
|
|
133
135
|
class Point2D(google.protobuf.message.Message):
|
|
134
136
|
"""Point on the game board, 0..255.
|
|
135
137
|
Note: bottom left of the screen is 0, 0.
|
|
@@ -147,12 +149,12 @@ class Point2D(google.protobuf.message.Message):
|
|
|
147
149
|
x: builtins.float | None = ...,
|
|
148
150
|
y: builtins.float | None = ...,
|
|
149
151
|
) -> None: ...
|
|
150
|
-
def HasField(self, field_name:
|
|
151
|
-
def ClearField(self, field_name:
|
|
152
|
+
def HasField(self, field_name: typing.Literal["x", b"x", "y", b"y"]) -> builtins.bool: ...
|
|
153
|
+
def ClearField(self, field_name: typing.Literal["x", b"x", "y", b"y"]) -> None: ...
|
|
152
154
|
|
|
153
155
|
global___Point2D = Point2D
|
|
154
156
|
|
|
155
|
-
@
|
|
157
|
+
@typing.final
|
|
156
158
|
class Point(google.protobuf.message.Message):
|
|
157
159
|
"""Point on the game board, 0..255.
|
|
158
160
|
Note: bottom left of the screen is 0, 0.
|
|
@@ -173,12 +175,12 @@ class Point(google.protobuf.message.Message):
|
|
|
173
175
|
y: builtins.float | None = ...,
|
|
174
176
|
z: builtins.float | None = ...,
|
|
175
177
|
) -> None: ...
|
|
176
|
-
def HasField(self, field_name:
|
|
177
|
-
def ClearField(self, field_name:
|
|
178
|
+
def HasField(self, field_name: typing.Literal["x", b"x", "y", b"y", "z", b"z"]) -> builtins.bool: ...
|
|
179
|
+
def ClearField(self, field_name: typing.Literal["x", b"x", "y", b"y", "z", b"z"]) -> None: ...
|
|
178
180
|
|
|
179
181
|
global___Point = Point
|
|
180
182
|
|
|
181
|
-
@
|
|
183
|
+
@typing.final
|
|
182
184
|
class Size2DI(google.protobuf.message.Message):
|
|
183
185
|
"""Screen dimensions."""
|
|
184
186
|
|
|
@@ -194,7 +196,7 @@ class Size2DI(google.protobuf.message.Message):
|
|
|
194
196
|
x: builtins.int | None = ...,
|
|
195
197
|
y: builtins.int | None = ...,
|
|
196
198
|
) -> None: ...
|
|
197
|
-
def HasField(self, field_name:
|
|
198
|
-
def ClearField(self, field_name:
|
|
199
|
+
def HasField(self, field_name: typing.Literal["x", b"x", "y", b"y"]) -> builtins.bool: ...
|
|
200
|
+
def ClearField(self, field_name: typing.Literal["x", b"x", "y", b"y"]) -> None: ...
|
|
199
201
|
|
|
200
202
|
global___Size2DI = Size2DI
|