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.
Files changed (278) hide show
  1. package/dist/pyright-langserver.js +1 -1
  2. package/dist/pyright-langserver.js.map +1 -1
  3. package/dist/pyright.js +1 -1
  4. package/dist/pyright.js.map +1 -1
  5. package/dist/typeshed-fallback/commit.txt +1 -1
  6. package/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi +7 -2
  7. package/dist/typeshed-fallback/stdlib/asyncio/constants.pyi +3 -3
  8. package/dist/typeshed-fallback/stdlib/asyncio/locks.pyi +4 -4
  9. package/dist/typeshed-fallback/stdlib/asyncio/sslproto.pyi +9 -9
  10. package/dist/typeshed-fallback/stdlib/asyncio/streams.pyi +10 -5
  11. package/dist/typeshed-fallback/stdlib/contextlib.pyi +23 -22
  12. package/dist/typeshed-fallback/stdlib/email/message.pyi +26 -27
  13. package/dist/typeshed-fallback/stdlib/email/parser.pyi +25 -15
  14. package/dist/typeshed-fallback/stdlib/http/__init__.pyi +68 -68
  15. package/dist/typeshed-fallback/stdlib/http/client.pyi +7 -21
  16. package/dist/typeshed-fallback/stdlib/inspect.pyi +24 -24
  17. package/dist/typeshed-fallback/stdlib/multiprocessing/synchronize.pyi +2 -2
  18. package/dist/typeshed-fallback/stdlib/os/__init__.pyi +2 -2
  19. package/dist/typeshed-fallback/stdlib/plistlib.pyi +2 -2
  20. package/dist/typeshed-fallback/stdlib/pstats.pyi +9 -9
  21. package/dist/typeshed-fallback/stdlib/py_compile.pyi +3 -3
  22. package/dist/typeshed-fallback/stdlib/signal.pyi +46 -46
  23. package/dist/typeshed-fallback/stdlib/socket.pyi +75 -75
  24. package/dist/typeshed-fallback/stdlib/ssl.pyi +81 -81
  25. package/dist/typeshed-fallback/stdlib/tkinter/__init__.pyi +38 -38
  26. package/dist/typeshed-fallback/stdlib/typing.pyi +22 -14
  27. package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +1 -1
  28. package/dist/typeshed-fallback/stdlib/uuid.pyi +3 -3
  29. package/dist/typeshed-fallback/stdlib/winreg.pyi +75 -46
  30. package/dist/typeshed-fallback/stubs/Pillow/METADATA.toml +1 -0
  31. package/dist/typeshed-fallback/stubs/Pillow/PIL/BlpImagePlugin.pyi +7 -7
  32. package/dist/typeshed-fallback/stubs/Pillow/PIL/ExifTags.pyi +331 -331
  33. package/dist/typeshed-fallback/stubs/Pillow/PIL/FtexImagePlugin.pyi +2 -2
  34. package/dist/typeshed-fallback/stubs/Pillow/PIL/Image.pyi +28 -28
  35. package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageCms.pyi +7 -7
  36. package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageFont.pyi +2 -2
  37. package/dist/typeshed-fallback/stubs/Pillow/PIL/PngImagePlugin.pyi +5 -5
  38. package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/sampling/reservoir.pyi +3 -3
  39. package/dist/typeshed-fallback/stubs/boltons/METADATA.toml +1 -1
  40. package/dist/typeshed-fallback/stubs/boltons/boltons/ecoutils.pyi +0 -1
  41. package/dist/typeshed-fallback/stubs/boltons/boltons/funcutils.pyi +15 -0
  42. package/dist/typeshed-fallback/stubs/boltons/boltons/ioutils.pyi +0 -2
  43. package/dist/typeshed-fallback/stubs/boltons/boltons/strutils.pyi +4 -6
  44. package/dist/typeshed-fallback/stubs/boltons/boltons/urlutils.pyi +2 -0
  45. package/dist/typeshed-fallback/stubs/capturer/METADATA.toml +2 -0
  46. package/dist/typeshed-fallback/stubs/capturer/capturer.pyi +122 -0
  47. package/dist/typeshed-fallback/stubs/croniter/croniter/croniter.pyi +1 -1
  48. package/dist/typeshed-fallback/stubs/dateparser/METADATA.toml +1 -1
  49. package/dist/typeshed-fallback/stubs/dateparser/dateparser/utils/__init__.pyi +1 -0
  50. package/dist/typeshed-fallback/stubs/docker/METADATA.toml +3 -0
  51. package/dist/typeshed-fallback/stubs/docker/docker/__init__.pyi +7 -0
  52. package/dist/typeshed-fallback/stubs/docker/docker/api/__init__.pyi +1 -0
  53. package/dist/typeshed-fallback/stubs/docker/docker/api/build.pyi +55 -0
  54. package/dist/typeshed-fallback/stubs/docker/docker/api/client.pyi +55 -0
  55. package/dist/typeshed-fallback/stubs/docker/docker/api/config.pyi +7 -0
  56. package/dist/typeshed-fallback/stubs/docker/docker/api/container.pyi +109 -0
  57. package/dist/typeshed-fallback/stubs/docker/docker/api/daemon.pyi +23 -0
  58. package/dist/typeshed-fallback/stubs/docker/docker/api/exec_api.pyi +22 -0
  59. package/dist/typeshed-fallback/stubs/docker/docker/api/image.pyi +59 -0
  60. package/dist/typeshed-fallback/stubs/docker/docker/api/network.pyi +34 -0
  61. package/dist/typeshed-fallback/stubs/docker/docker/api/plugin.pyi +14 -0
  62. package/dist/typeshed-fallback/stubs/docker/docker/api/secret.pyi +7 -0
  63. package/dist/typeshed-fallback/stubs/docker/docker/api/service.pyi +47 -0
  64. package/dist/typeshed-fallback/stubs/docker/docker/api/swarm.pyi +41 -0
  65. package/dist/typeshed-fallback/stubs/docker/docker/api/volume.pyi +14 -0
  66. package/dist/typeshed-fallback/stubs/docker/docker/auth.pyi +40 -0
  67. package/dist/typeshed-fallback/stubs/docker/docker/client.pyi +49 -0
  68. package/dist/typeshed-fallback/stubs/docker/docker/constants.pyi +22 -0
  69. package/dist/typeshed-fallback/stubs/docker/docker/context/__init__.pyi +2 -0
  70. package/dist/typeshed-fallback/stubs/docker/docker/context/api.pyi +30 -0
  71. package/dist/typeshed-fallback/stubs/docker/docker/context/config.pyi +10 -0
  72. package/dist/typeshed-fallback/stubs/docker/docker/context/context.pyi +47 -0
  73. package/dist/typeshed-fallback/stubs/docker/docker/credentials/__init__.pyi +8 -0
  74. package/dist/typeshed-fallback/stubs/docker/docker/credentials/constants.pyi +4 -0
  75. package/dist/typeshed-fallback/stubs/docker/docker/credentials/errors.pyi +7 -0
  76. package/dist/typeshed-fallback/stubs/docker/docker/credentials/store.pyi +11 -0
  77. package/dist/typeshed-fallback/stubs/docker/docker/credentials/utils.pyi +1 -0
  78. package/dist/typeshed-fallback/stubs/docker/docker/errors.pyi +71 -0
  79. package/dist/typeshed-fallback/stubs/docker/docker/models/__init__.pyi +0 -0
  80. package/dist/typeshed-fallback/stubs/docker/docker/models/configs.pyi +13 -0
  81. package/dist/typeshed-fallback/stubs/docker/docker/models/containers.pyi +81 -0
  82. package/dist/typeshed-fallback/stubs/docker/docker/models/images.pyi +43 -0
  83. package/dist/typeshed-fallback/stubs/docker/docker/models/networks.pyi +19 -0
  84. package/dist/typeshed-fallback/stubs/docker/docker/models/nodes.pyi +13 -0
  85. package/dist/typeshed-fallback/stubs/docker/docker/models/plugins.pyi +25 -0
  86. package/dist/typeshed-fallback/stubs/docker/docker/models/resource.pyi +27 -0
  87. package/dist/typeshed-fallback/stubs/docker/docker/models/secrets.pyi +13 -0
  88. package/dist/typeshed-fallback/stubs/docker/docker/models/services.pyi +27 -0
  89. package/dist/typeshed-fallback/stubs/docker/docker/models/swarm.pyi +33 -0
  90. package/dist/typeshed-fallback/stubs/docker/docker/models/volumes.pyi +16 -0
  91. package/dist/typeshed-fallback/stubs/docker/docker/tls.pyi +10 -0
  92. package/dist/typeshed-fallback/stubs/docker/docker/transport/__init__.pyi +4 -0
  93. package/dist/typeshed-fallback/stubs/docker/docker/transport/basehttpadapter.pyi +4 -0
  94. package/dist/typeshed-fallback/stubs/docker/docker/transport/npipeconn.pyi +29 -0
  95. package/dist/typeshed-fallback/stubs/docker/docker/transport/npipesocket.pyi +49 -0
  96. package/dist/typeshed-fallback/stubs/docker/docker/transport/sshconn.pyi +49 -0
  97. package/dist/typeshed-fallback/stubs/docker/docker/transport/unixconn.pyi +31 -0
  98. package/dist/typeshed-fallback/stubs/docker/docker/types/__init__.pyi +35 -0
  99. package/dist/typeshed-fallback/stubs/docker/docker/types/base.pyi +5 -0
  100. package/dist/typeshed-fallback/stubs/docker/docker/types/containers.pyi +164 -0
  101. package/dist/typeshed-fallback/stubs/docker/docker/types/daemon.pyi +6 -0
  102. package/dist/typeshed-fallback/stubs/docker/docker/types/healthcheck.pyi +24 -0
  103. package/dist/typeshed-fallback/stubs/docker/docker/types/networks.pyi +31 -0
  104. package/dist/typeshed-fallback/stubs/docker/docker/types/services.pyi +170 -0
  105. package/dist/typeshed-fallback/stubs/docker/docker/types/swarm.pyi +29 -0
  106. package/dist/typeshed-fallback/stubs/docker/docker/utils/__init__.pyi +32 -0
  107. package/dist/typeshed-fallback/stubs/docker/docker/utils/build.pyi +38 -0
  108. package/dist/typeshed-fallback/stubs/docker/docker/utils/config.pyi +10 -0
  109. package/dist/typeshed-fallback/stubs/docker/docker/utils/decorators.pyi +3 -0
  110. package/dist/typeshed-fallback/stubs/docker/docker/utils/fnmatch.pyi +5 -0
  111. package/dist/typeshed-fallback/stubs/docker/docker/utils/json_stream.pyi +10 -0
  112. package/dist/typeshed-fallback/stubs/docker/docker/utils/ports.pyi +9 -0
  113. package/dist/typeshed-fallback/stubs/docker/docker/utils/proxy.pyi +33 -0
  114. package/dist/typeshed-fallback/stubs/docker/docker/utils/socket.pyi +18 -0
  115. package/dist/typeshed-fallback/stubs/docker/docker/utils/utils.pyi +34 -0
  116. package/dist/typeshed-fallback/stubs/docker/docker/version.pyi +1 -0
  117. package/dist/typeshed-fallback/stubs/docutils/METADATA.toml +1 -1
  118. package/dist/typeshed-fallback/stubs/docutils/docutils/frontend.pyi +55 -11
  119. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/states.pyi +1 -1
  120. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/tableparser.pyi +1 -1
  121. package/dist/typeshed-fallback/stubs/docutils/docutils/statemachine.pyi +3 -2
  122. package/dist/typeshed-fallback/stubs/editdistance/METADATA.toml +1 -1
  123. package/dist/typeshed-fallback/stubs/editdistance/editdistance/__init__.pyi +2 -0
  124. package/dist/typeshed-fallback/stubs/flake8-bugbear/METADATA.toml +1 -1
  125. package/dist/typeshed-fallback/stubs/flake8-builtins/METADATA.toml +1 -1
  126. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/enums.pyi +163 -163
  127. package/dist/typeshed-fallback/stubs/gdb/gdb/__init__.pyi +5 -0
  128. package/dist/typeshed-fallback/stubs/hdbcli/hdbcli/dbapi.pyi +2 -1
  129. package/dist/typeshed-fallback/stubs/icalendar/METADATA.toml +3 -0
  130. package/dist/typeshed-fallback/stubs/icalendar/icalendar/__init__.pyi +40 -0
  131. package/dist/typeshed-fallback/stubs/icalendar/icalendar/cal.pyi +86 -0
  132. package/dist/typeshed-fallback/stubs/icalendar/icalendar/caselessdict.pyi +43 -0
  133. package/dist/typeshed-fallback/stubs/icalendar/icalendar/parser.pyi +58 -0
  134. package/dist/typeshed-fallback/stubs/icalendar/icalendar/parser_tools.pyi +17 -0
  135. package/dist/typeshed-fallback/stubs/icalendar/icalendar/prop.pyi +225 -0
  136. package/dist/typeshed-fallback/stubs/icalendar/icalendar/timezone_cache.pyi +0 -0
  137. package/dist/typeshed-fallback/stubs/icalendar/icalendar/tools.pyi +10 -0
  138. package/dist/typeshed-fallback/stubs/icalendar/icalendar/windows_to_olson.pyi +3 -0
  139. package/dist/typeshed-fallback/stubs/influxdb-client/METADATA.toml +1 -1
  140. package/dist/typeshed-fallback/stubs/influxdb-client/influxdb_client/client/flux_csv_parser.pyi +5 -5
  141. package/dist/typeshed-fallback/stubs/influxdb-client/influxdb_client/client/write_api.pyi +3 -3
  142. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/betweenness.pyi +9 -7
  143. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/betweenness_subset.pyi +8 -3
  144. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/closeness.pyi +11 -4
  145. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/degree_alg.pyi +4 -3
  146. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/dispersion.pyi +5 -6
  147. package/dist/typeshed-fallback/stubs/networkx/networkx/convert.pyi +5 -5
  148. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/worksheet.pyi +7 -2
  149. package/dist/typeshed-fallback/stubs/paramiko/paramiko/client.pyi +4 -3
  150. package/dist/typeshed-fallback/stubs/paramiko/paramiko/config.pyi +2 -1
  151. package/dist/typeshed-fallback/stubs/paramiko/paramiko/dsskey.pyi +3 -3
  152. package/dist/typeshed-fallback/stubs/paramiko/paramiko/ecdsakey.pyi +3 -3
  153. package/dist/typeshed-fallback/stubs/paramiko/paramiko/ed25519key.pyi +2 -2
  154. package/dist/typeshed-fallback/stubs/paramiko/paramiko/hostkeys.pyi +4 -3
  155. package/dist/typeshed-fallback/stubs/paramiko/paramiko/pkey.pyi +4 -3
  156. package/dist/typeshed-fallback/stubs/paramiko/paramiko/primes.pyi +3 -1
  157. package/dist/typeshed-fallback/stubs/paramiko/paramiko/rsakey.pyi +3 -3
  158. package/dist/typeshed-fallback/stubs/paramiko/paramiko/sftp_server.pyi +2 -1
  159. package/dist/typeshed-fallback/stubs/paramiko/paramiko/transport.pyi +2 -1
  160. package/dist/typeshed-fallback/stubs/paramiko/paramiko/util.pyi +3 -3
  161. package/dist/typeshed-fallback/stubs/peewee/METADATA.toml +9 -1
  162. package/dist/typeshed-fallback/stubs/peewee/peewee.pyi +53 -22
  163. package/dist/typeshed-fallback/stubs/peewee/playhouse/__init__.pyi +0 -0
  164. package/dist/typeshed-fallback/stubs/peewee/playhouse/flask_utils.pyi +28 -0
  165. package/dist/typeshed-fallback/stubs/pika/pika/delivery_mode.pyi +2 -2
  166. package/dist/typeshed-fallback/stubs/pika/pika/exchange_type.pyi +4 -4
  167. package/dist/typeshed-fallback/stubs/protobuf/METADATA.toml +4 -2
  168. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/any_pb2.pyi +13 -8
  169. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/api_pb2.pyi +25 -19
  170. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/compiler/plugin_pb2.pyi +51 -17
  171. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/descriptor.pyi +84 -82
  172. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/descriptor_pb2.pyi +743 -161
  173. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/descriptor_pool.pyi +3 -7
  174. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/duration_pb2.pyi +4 -3
  175. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/empty_pb2.pyi +2 -2
  176. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/field_mask_pb2.pyi +5 -3
  177. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/internal/builder.pyi +2 -3
  178. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/internal/containers.pyi +6 -5
  179. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/internal/decoder.pyi +3 -3
  180. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/internal/well_known_types.pyi +5 -7
  181. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/json_format.pyi +19 -19
  182. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/message.pyi +3 -3
  183. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/message_factory.pyi +2 -2
  184. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/source_context_pb2.pyi +4 -3
  185. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/struct_pb2.pyi +17 -12
  186. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/text_format.pyi +94 -92
  187. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/timestamp_pb2.pyi +5 -6
  188. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/type_pb2.pyi +43 -20
  189. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/wrappers_pb2.pyi +50 -19
  190. package/dist/typeshed-fallback/stubs/psutil/psutil/_common.pyi +5 -5
  191. package/dist/typeshed-fallback/stubs/psutil/psutil/_pslinux.pyi +4 -4
  192. package/dist/typeshed-fallback/stubs/psutil/psutil/_psutil_windows.pyi +8 -6
  193. package/dist/typeshed-fallback/stubs/psutil/psutil/_pswindows.pyi +10 -10
  194. package/dist/typeshed-fallback/stubs/psycopg2/psycopg2/_psycopg.pyi +3 -3
  195. package/dist/typeshed-fallback/stubs/psycopg2/psycopg2/pool.pyi +2 -2
  196. package/dist/typeshed-fallback/stubs/pyOpenSSL/METADATA.toml +1 -1
  197. package/dist/typeshed-fallback/stubs/pyOpenSSL/OpenSSL/SSL.pyi +2 -3
  198. package/dist/typeshed-fallback/stubs/pycurl/METADATA.toml +2 -13
  199. package/dist/typeshed-fallback/stubs/pycurl/pycurl.pyi +669 -639
  200. package/dist/typeshed-fallback/stubs/pyinstaller/METADATA.toml +1 -1
  201. package/dist/typeshed-fallback/stubs/pyinstaller/PyInstaller/building/build_main.pyi +2 -1
  202. package/dist/typeshed-fallback/stubs/pyinstaller/PyInstaller/building/splash.pyi +19 -1
  203. package/dist/typeshed-fallback/stubs/pynput/pynput/keyboard/_base.pyi +64 -64
  204. package/dist/typeshed-fallback/stubs/pynput/pynput/mouse/_base.pyi +33 -33
  205. package/dist/typeshed-fallback/stubs/python-crontab/crontab.pyi +4 -4
  206. package/dist/typeshed-fallback/stubs/pytz/pytz/lazy.pyi +11 -7
  207. package/dist/typeshed-fallback/stubs/pywin32/win32comext/propsys/propsys.pyi +1 -1
  208. package/dist/typeshed-fallback/stubs/qrbill/METADATA.toml +3 -0
  209. package/dist/typeshed-fallback/stubs/qrbill/qrbill/__init__.pyi +1 -0
  210. package/dist/typeshed-fallback/stubs/qrbill/qrbill/bill.pyi +180 -0
  211. package/dist/typeshed-fallback/stubs/qrcode/qrcode/constants.pyi +6 -4
  212. package/dist/typeshed-fallback/stubs/qrcode/qrcode/main.pyi +68 -18
  213. package/dist/typeshed-fallback/stubs/qrcode/qrcode/util.pyi +24 -13
  214. package/dist/typeshed-fallback/stubs/redis/redis/asyncio/client.pyi +7 -7
  215. package/dist/typeshed-fallback/stubs/redis/redis/asyncio/cluster.pyi +56 -5
  216. package/dist/typeshed-fallback/stubs/redis/redis/asyncio/connection.pyi +210 -128
  217. package/dist/typeshed-fallback/stubs/redis/redis/asyncio/sentinel.pyi +141 -48
  218. package/dist/typeshed-fallback/stubs/redis/redis/cluster.pyi +1 -1
  219. package/dist/typeshed-fallback/stubs/redis/redis/commands/cluster.pyi +1 -1
  220. package/dist/typeshed-fallback/stubs/redis/redis/typing.pyi +2 -2
  221. package/dist/typeshed-fallback/stubs/regex/METADATA.toml +1 -1
  222. package/dist/typeshed-fallback/stubs/regex/regex/_regex_core.pyi +34 -34
  223. package/dist/typeshed-fallback/stubs/requests-oauthlib/requests_oauthlib/oauth2_session.pyi +1 -3
  224. package/dist/typeshed-fallback/stubs/s2clientprotocol/METADATA.toml +3 -0
  225. package/dist/typeshed-fallback/stubs/s2clientprotocol/s2clientprotocol/common_pb2.pyi +25 -23
  226. package/dist/typeshed-fallback/stubs/s2clientprotocol/s2clientprotocol/data_pb2.pyi +31 -28
  227. package/dist/typeshed-fallback/stubs/s2clientprotocol/s2clientprotocol/debug_pb2.pyi +53 -48
  228. package/dist/typeshed-fallback/stubs/s2clientprotocol/s2clientprotocol/error_pb2.pyi +1 -0
  229. package/dist/typeshed-fallback/stubs/s2clientprotocol/s2clientprotocol/query_pb2.pyi +33 -32
  230. package/dist/typeshed-fallback/stubs/s2clientprotocol/s2clientprotocol/raw_pb2.pyi +85 -71
  231. package/dist/typeshed-fallback/stubs/s2clientprotocol/s2clientprotocol/sc2api_pb2.pyi +246 -197
  232. package/dist/typeshed-fallback/stubs/s2clientprotocol/s2clientprotocol/score_pb2.pyi +31 -16
  233. package/dist/typeshed-fallback/stubs/s2clientprotocol/s2clientprotocol/spatial_pb2.pyi +75 -34
  234. package/dist/typeshed-fallback/stubs/s2clientprotocol/s2clientprotocol/ui_pb2.pyi +61 -59
  235. package/dist/typeshed-fallback/stubs/seaborn/seaborn/_core/groupby.pyi +2 -2
  236. package/dist/typeshed-fallback/stubs/seaborn/seaborn/_core/plot.pyi +1 -1
  237. package/dist/typeshed-fallback/stubs/seaborn/seaborn/_core/scales.pyi +3 -3
  238. package/dist/typeshed-fallback/stubs/seaborn/seaborn/_core/typing.pyi +1 -1
  239. package/dist/typeshed-fallback/stubs/seaborn/seaborn/axisgrid.pyi +1 -1
  240. package/dist/typeshed-fallback/stubs/seaborn/seaborn/categorical.pyi +12 -13
  241. package/dist/typeshed-fallback/stubs/seaborn/seaborn/matrix.pyi +5 -7
  242. package/dist/typeshed-fallback/stubs/seaborn/seaborn/utils.pyi +1 -3
  243. package/dist/typeshed-fallback/stubs/setuptools/METADATA.toml +1 -1
  244. package/dist/typeshed-fallback/stubs/setuptools/distutils/_modified.pyi +1 -0
  245. package/dist/typeshed-fallback/stubs/setuptools/distutils/command/bdist.pyi +1 -0
  246. package/dist/typeshed-fallback/stubs/setuptools/distutils/command/install_lib.pyi +1 -0
  247. package/dist/typeshed-fallback/stubs/setuptools/distutils/compat/__init__.pyi +1 -0
  248. package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/ccompiler.pyi +1 -1
  249. package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/bdist.pyi +25 -0
  250. package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/register.pyi +13 -0
  251. package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/sdist.pyi +10 -1
  252. package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/upload.pyi +13 -1
  253. package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/compat/__init__.pyi +1 -0
  254. package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/editable_wheel.pyi +3 -3
  255. package/dist/typeshed-fallback/stubs/tqdm/tqdm/contrib/discord.pyi +1 -6
  256. package/dist/typeshed-fallback/stubs/tqdm/tqdm/contrib/slack.pyi +3 -1
  257. package/dist/typeshed-fallback/stubs/tqdm/tqdm/contrib/telegram.pyi +3 -1
  258. package/dist/typeshed-fallback/stubs/tqdm/tqdm/rich.pyi +3 -3
  259. package/dist/typeshed-fallback/stubs/waitress/METADATA.toml +1 -4
  260. package/dist/typeshed-fallback/stubs/waitress/waitress/__init__.pyi +16 -5
  261. package/dist/typeshed-fallback/stubs/waitress/waitress/adjustments.pyi +12 -9
  262. package/dist/typeshed-fallback/stubs/waitress/waitress/buffers.pyi +8 -9
  263. package/dist/typeshed-fallback/stubs/waitress/waitress/channel.pyi +14 -11
  264. package/dist/typeshed-fallback/stubs/waitress/waitress/compat.pyi +6 -28
  265. package/dist/typeshed-fallback/stubs/waitress/waitress/parser.pyi +3 -2
  266. package/dist/typeshed-fallback/stubs/waitress/waitress/proxy_headers.pyi +12 -11
  267. package/dist/typeshed-fallback/stubs/waitress/waitress/rfc7230.pyi +27 -12
  268. package/dist/typeshed-fallback/stubs/waitress/waitress/runner.pyi +6 -5
  269. package/dist/typeshed-fallback/stubs/waitress/waitress/server.pyi +40 -37
  270. package/dist/typeshed-fallback/stubs/waitress/waitress/task.pyi +11 -10
  271. package/dist/typeshed-fallback/stubs/waitress/waitress/trigger.pyi +4 -3
  272. package/dist/typeshed-fallback/stubs/waitress/waitress/utilities.pyi +11 -11
  273. package/dist/typeshed-fallback/stubs/waitress/waitress/wasyncore.pyi +31 -34
  274. package/package.json +1 -1
  275. package/dist/typeshed-fallback/stubs/tzlocal/METADATA.toml +0 -4
  276. package/dist/typeshed-fallback/stubs/tzlocal/tzlocal/__init__.pyi +0 -8
  277. package/dist/typeshed-fallback/stubs/tzlocal/tzlocal/utils.pyi +0 -4
  278. package/dist/typeshed-fallback/stubs/tzlocal/tzlocal/windows_tz.pyi +0 -4
@@ -1,69 +1,162 @@
1
- from _typeshed import Incomplete
2
- from collections.abc import AsyncIterator, Iterable, Mapping, Sequence
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 Connection, ConnectionPool, SSLConnection
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.exceptions import ConnectionError
9
- from redis.typing import EncodableT
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__(self, **kwargs) -> None: ...
17
- async def connect_to(self, address) -> None: ...
18
- async def connect(self): ...
19
- @overload
20
- async def read_response(self, *, timeout: float, disconnect_on_error: bool = True) -> Incomplete | None: ...
21
- @overload
22
- async def read_response(
23
- self, disable_decoding: bool, timeout: float, *, disconnect_on_error: bool = True
24
- ) -> Incomplete | None: ...
25
- @overload
26
- async def read_response(self, disable_decoding: bool = False, timeout: None = None, *, disconnect_on_error: bool = True): ...
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: Any
32
- check_connection: Any
33
- service_name: Any
34
- sentinel_manager: Any
35
- master_address: Any
36
- slave_rr_counter: Any
37
- def __init__(self, service_name, sentinel_manager, **kwargs) -> None: ...
38
- def reset(self) -> None: ...
39
- def owns_connection(self, connection: Connection): ...
40
- async def get_master_address(self): ...
41
- async def rotate_slaves(self) -> AsyncIterator[Any]: ...
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: Any
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, sentinels, min_other_sentinels: int = 0, sentinel_kwargs: Incomplete | None = None, **connection_kwargs
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: dict[Any, Any], service_name: str) -> bool: ...
53
- async def discover_master(self, service_name: str): ...
54
- def filter_slaves(self, slaves: Iterable[Mapping[Any, Any]]) -> Sequence[tuple[EncodableT, EncodableT]]: ...
55
- async def discover_slaves(self, service_name: str) -> Sequence[tuple[EncodableT, EncodableT]]: ...
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
- redis_class: type[Redis[Any]] = ...,
60
- connection_pool_class: type[SentinelConnectionPool] = ...,
61
- **kwargs,
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
- redis_class: type[Redis[Any]] = ...,
67
- connection_pool_class: type[SentinelConnectionPool] = ...,
68
- **kwargs,
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: Incomplete) -> Any: ...
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: Incomplete): ...
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 = "2023.12.25"
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: int
13
- ASCII: int
14
- B: int
15
- BESTMATCH: int
16
- D: int
17
- DEBUG: int
18
- E: int
19
- ENHANCEMATCH: int
20
- F: int
21
- FULLCASE: int
22
- I: int
23
- IGNORECASE: int
24
- L: int
25
- LOCALE: int
26
- M: int
27
- MULTILINE: int
28
- P: int
29
- POSIX: int
30
- R: int
31
- REVERSE: int
32
- T: int
33
- TEMPLATE: int
34
- S: int
35
- DOTALL: int
36
- U: int
37
- UNICODE: int
38
- V0: int
39
- VERSION0: int
40
- V1: int
41
- VERSION1: int
42
- W: int
43
- WORD: int
44
- X: int
45
- VERBOSE: int
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
- @typing_extensions.final
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: typing_extensions.Literal["ability_id", b"ability_id", "requires_point", b"requires_point"]) -> builtins.bool: ...
56
- def ClearField(self, field_name: typing_extensions.Literal["ability_id", b"ability_id", "requires_point", b"requires_point"]) -> None: ...
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
- @typing_extensions.final
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
- data: builtins.bytes
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: typing_extensions.Literal["bits_per_pixel", b"bits_per_pixel", "data", b"data", "size", b"size"]) -> builtins.bool: ...
82
- def ClearField(self, field_name: typing_extensions.Literal["bits_per_pixel", b"bits_per_pixel", "data", b"data", "size", b"size"]) -> None: ...
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
- @typing_extensions.final
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: typing_extensions.Literal["x", b"x", "y", b"y"]) -> builtins.bool: ...
105
- def ClearField(self, field_name: typing_extensions.Literal["x", b"x", "y", b"y"]) -> None: ...
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
- @typing_extensions.final
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: typing_extensions.Literal["p0", b"p0", "p1", b"p1"]) -> builtins.bool: ...
128
- def ClearField(self, field_name: typing_extensions.Literal["p0", b"p0", "p1", b"p1"]) -> None: ...
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
- @typing_extensions.final
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: typing_extensions.Literal["x", b"x", "y", b"y"]) -> builtins.bool: ...
151
- def ClearField(self, field_name: typing_extensions.Literal["x", b"x", "y", b"y"]) -> None: ...
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
- @typing_extensions.final
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: typing_extensions.Literal["x", b"x", "y", b"y", "z", b"z"]) -> builtins.bool: ...
177
- def ClearField(self, field_name: typing_extensions.Literal["x", b"x", "y", b"y", "z", b"z"]) -> None: ...
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
- @typing_extensions.final
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: typing_extensions.Literal["x", b"x", "y", b"y"]) -> builtins.bool: ...
198
- def ClearField(self, field_name: typing_extensions.Literal["x", b"x", "y", b"y"]) -> None: ...
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