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,6 +1,36 @@
1
1
  """
2
2
  @generated by mypy-protobuf. Do not edit manually!
3
3
  isort:skip_file
4
+ Protocol Buffers - Google's data interchange format
5
+ Copyright 2008 Google Inc. All rights reserved.
6
+ https://developers.google.com/protocol-buffers/
7
+
8
+ Redistribution and use in source and binary forms, with or without
9
+ modification, are permitted provided that the following conditions are
10
+ met:
11
+
12
+ * Redistributions of source code must retain the above copyright
13
+ notice, this list of conditions and the following disclaimer.
14
+ * Redistributions in binary form must reproduce the above
15
+ copyright notice, this list of conditions and the following disclaimer
16
+ in the documentation and/or other materials provided with the
17
+ distribution.
18
+ * Neither the name of Google Inc. nor the names of its
19
+ contributors may be used to endorse or promote products derived from
20
+ this software without specific prior written permission.
21
+
22
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
23
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
24
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
25
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
26
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
27
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
28
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
29
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
30
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
32
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33
+
4
34
  Wrappers for primitive (non-message) types. These types are useful
5
35
  for embedding primitives in the `google.protobuf.Any` type and for places
6
36
  where we need to distinguish between the absence of a primitive
@@ -11,15 +41,16 @@ the ability to detect presence on individual elements.
11
41
  These wrappers have no meaningful use within a map or a oneof since
12
42
  individual entries of a map or fields of a oneof can already detect presence.
13
43
  """
44
+
14
45
  import builtins
15
- import typing as typing_extensions
46
+ import typing
16
47
 
17
48
  import google.protobuf.descriptor
18
49
  import google.protobuf.message
19
50
 
20
51
  DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
21
52
 
22
- @typing_extensions.final
53
+ @typing.final
23
54
  class DoubleValue(google.protobuf.message.Message):
24
55
  """Wrapper message for `double`.
25
56
 
@@ -36,11 +67,11 @@ class DoubleValue(google.protobuf.message.Message):
36
67
  *,
37
68
  value: builtins.float | None = ...,
38
69
  ) -> None: ...
39
- def ClearField(self, field_name: typing_extensions.Literal["value", b"value"]) -> None: ...
70
+ def ClearField(self, field_name: typing.Literal["value", b"value"]) -> None: ...
40
71
 
41
72
  global___DoubleValue = DoubleValue
42
73
 
43
- @typing_extensions.final
74
+ @typing.final
44
75
  class FloatValue(google.protobuf.message.Message):
45
76
  """Wrapper message for `float`.
46
77
 
@@ -57,11 +88,11 @@ class FloatValue(google.protobuf.message.Message):
57
88
  *,
58
89
  value: builtins.float | None = ...,
59
90
  ) -> None: ...
60
- def ClearField(self, field_name: typing_extensions.Literal["value", b"value"]) -> None: ...
91
+ def ClearField(self, field_name: typing.Literal["value", b"value"]) -> None: ...
61
92
 
62
93
  global___FloatValue = FloatValue
63
94
 
64
- @typing_extensions.final
95
+ @typing.final
65
96
  class Int64Value(google.protobuf.message.Message):
66
97
  """Wrapper message for `int64`.
67
98
 
@@ -78,11 +109,11 @@ class Int64Value(google.protobuf.message.Message):
78
109
  *,
79
110
  value: builtins.int | None = ...,
80
111
  ) -> None: ...
81
- def ClearField(self, field_name: typing_extensions.Literal["value", b"value"]) -> None: ...
112
+ def ClearField(self, field_name: typing.Literal["value", b"value"]) -> None: ...
82
113
 
83
114
  global___Int64Value = Int64Value
84
115
 
85
- @typing_extensions.final
116
+ @typing.final
86
117
  class UInt64Value(google.protobuf.message.Message):
87
118
  """Wrapper message for `uint64`.
88
119
 
@@ -99,11 +130,11 @@ class UInt64Value(google.protobuf.message.Message):
99
130
  *,
100
131
  value: builtins.int | None = ...,
101
132
  ) -> None: ...
102
- def ClearField(self, field_name: typing_extensions.Literal["value", b"value"]) -> None: ...
133
+ def ClearField(self, field_name: typing.Literal["value", b"value"]) -> None: ...
103
134
 
104
135
  global___UInt64Value = UInt64Value
105
136
 
106
- @typing_extensions.final
137
+ @typing.final
107
138
  class Int32Value(google.protobuf.message.Message):
108
139
  """Wrapper message for `int32`.
109
140
 
@@ -120,11 +151,11 @@ class Int32Value(google.protobuf.message.Message):
120
151
  *,
121
152
  value: builtins.int | None = ...,
122
153
  ) -> None: ...
123
- def ClearField(self, field_name: typing_extensions.Literal["value", b"value"]) -> None: ...
154
+ def ClearField(self, field_name: typing.Literal["value", b"value"]) -> None: ...
124
155
 
125
156
  global___Int32Value = Int32Value
126
157
 
127
- @typing_extensions.final
158
+ @typing.final
128
159
  class UInt32Value(google.protobuf.message.Message):
129
160
  """Wrapper message for `uint32`.
130
161
 
@@ -141,11 +172,11 @@ class UInt32Value(google.protobuf.message.Message):
141
172
  *,
142
173
  value: builtins.int | None = ...,
143
174
  ) -> None: ...
144
- def ClearField(self, field_name: typing_extensions.Literal["value", b"value"]) -> None: ...
175
+ def ClearField(self, field_name: typing.Literal["value", b"value"]) -> None: ...
145
176
 
146
177
  global___UInt32Value = UInt32Value
147
178
 
148
- @typing_extensions.final
179
+ @typing.final
149
180
  class BoolValue(google.protobuf.message.Message):
150
181
  """Wrapper message for `bool`.
151
182
 
@@ -162,11 +193,11 @@ class BoolValue(google.protobuf.message.Message):
162
193
  *,
163
194
  value: builtins.bool | None = ...,
164
195
  ) -> None: ...
165
- def ClearField(self, field_name: typing_extensions.Literal["value", b"value"]) -> None: ...
196
+ def ClearField(self, field_name: typing.Literal["value", b"value"]) -> None: ...
166
197
 
167
198
  global___BoolValue = BoolValue
168
199
 
169
- @typing_extensions.final
200
+ @typing.final
170
201
  class StringValue(google.protobuf.message.Message):
171
202
  """Wrapper message for `string`.
172
203
 
@@ -183,11 +214,11 @@ class StringValue(google.protobuf.message.Message):
183
214
  *,
184
215
  value: builtins.str | None = ...,
185
216
  ) -> None: ...
186
- def ClearField(self, field_name: typing_extensions.Literal["value", b"value"]) -> None: ...
217
+ def ClearField(self, field_name: typing.Literal["value", b"value"]) -> None: ...
187
218
 
188
219
  global___StringValue = StringValue
189
220
 
190
- @typing_extensions.final
221
+ @typing.final
191
222
  class BytesValue(google.protobuf.message.Message):
192
223
  """Wrapper message for `bytes`.
193
224
 
@@ -204,6 +235,6 @@ class BytesValue(google.protobuf.message.Message):
204
235
  *,
205
236
  value: builtins.bytes | None = ...,
206
237
  ) -> None: ...
207
- def ClearField(self, field_name: typing_extensions.Literal["value", b"value"]) -> None: ...
238
+ def ClearField(self, field_name: typing.Literal["value", b"value"]) -> None: ...
208
239
 
209
240
  global___BytesValue = BytesValue
@@ -48,16 +48,16 @@ NIC_DUPLEX_HALF: int
48
48
  NIC_DUPLEX_UNKNOWN: int
49
49
 
50
50
  class NicDuplex(enum.IntEnum):
51
- NIC_DUPLEX_FULL: int
52
- NIC_DUPLEX_HALF: int
53
- NIC_DUPLEX_UNKNOWN: int
51
+ NIC_DUPLEX_FULL = 2
52
+ NIC_DUPLEX_HALF = 1
53
+ NIC_DUPLEX_UNKNOWN = 0
54
54
 
55
55
  POWER_TIME_UNKNOWN: int
56
56
  POWER_TIME_UNLIMITED: int
57
57
 
58
58
  class BatteryTime(enum.IntEnum):
59
- POWER_TIME_UNKNOWN: int
60
- POWER_TIME_UNLIMITED: int
59
+ POWER_TIME_UNKNOWN = -1
60
+ POWER_TIME_UNLIMITED = -2
61
61
 
62
62
  ENCODING: str
63
63
  ENCODING_ERRS: str
@@ -36,10 +36,10 @@ IOPRIO_CLASS_BE: int
36
36
  IOPRIO_CLASS_IDLE: int
37
37
 
38
38
  class IOPriority(enum.IntEnum):
39
- IOPRIO_CLASS_NONE: int
40
- IOPRIO_CLASS_RT: int
41
- IOPRIO_CLASS_BE: int
42
- IOPRIO_CLASS_IDLE: int
39
+ IOPRIO_CLASS_NONE = 0
40
+ IOPRIO_CLASS_RT = 1
41
+ IOPRIO_CLASS_BE = 2
42
+ IOPRIO_CLASS_IDLE = 3
43
43
 
44
44
  PROC_STATUSES: Any
45
45
  TCP_STATUSES: Any
@@ -1,11 +1,13 @@
1
- ABOVE_NORMAL_PRIORITY_CLASS: int
2
- BELOW_NORMAL_PRIORITY_CLASS: int
1
+ from typing import Final
2
+
3
+ ABOVE_NORMAL_PRIORITY_CLASS: Final = 32768
4
+ BELOW_NORMAL_PRIORITY_CLASS: Final = 16384
3
5
  ERROR_ACCESS_DENIED: int
4
6
  ERROR_INVALID_NAME: int
5
7
  ERROR_PRIVILEGE_NOT_HELD: int
6
8
  ERROR_SERVICE_DOES_NOT_EXIST: int
7
- HIGH_PRIORITY_CLASS: int
8
- IDLE_PRIORITY_CLASS: int
9
+ HIGH_PRIORITY_CLASS: Final = 128
10
+ IDLE_PRIORITY_CLASS: Final = 64
9
11
  INFINITE: int
10
12
  MIB_TCP_STATE_CLOSED: int
11
13
  MIB_TCP_STATE_CLOSE_WAIT: int
@@ -19,9 +21,9 @@ MIB_TCP_STATE_LISTEN: int
19
21
  MIB_TCP_STATE_SYN_RCVD: int
20
22
  MIB_TCP_STATE_SYN_SENT: int
21
23
  MIB_TCP_STATE_TIME_WAIT: int
22
- NORMAL_PRIORITY_CLASS: int
24
+ NORMAL_PRIORITY_CLASS: Final = 32
23
25
  PSUTIL_CONN_NONE: int
24
- REALTIME_PRIORITY_CLASS: int
26
+ REALTIME_PRIORITY_CLASS: Final = 256
25
27
  WINDOWS_10: int
26
28
  WINDOWS_7: int
27
29
  WINDOWS_8: int
@@ -36,12 +36,12 @@ AddressFamily: Any
36
36
  TCP_STATUSES: Any
37
37
 
38
38
  class Priority(enum.IntEnum):
39
- ABOVE_NORMAL_PRIORITY_CLASS: Any
40
- BELOW_NORMAL_PRIORITY_CLASS: Any
41
- HIGH_PRIORITY_CLASS: Any
42
- IDLE_PRIORITY_CLASS: Any
43
- NORMAL_PRIORITY_CLASS: Any
44
- REALTIME_PRIORITY_CLASS: Any
39
+ ABOVE_NORMAL_PRIORITY_CLASS = ABOVE_NORMAL_PRIORITY_CLASS
40
+ BELOW_NORMAL_PRIORITY_CLASS = BELOW_NORMAL_PRIORITY_CLASS
41
+ HIGH_PRIORITY_CLASS = HIGH_PRIORITY_CLASS
42
+ IDLE_PRIORITY_CLASS = IDLE_PRIORITY_CLASS
43
+ NORMAL_PRIORITY_CLASS = NORMAL_PRIORITY_CLASS
44
+ REALTIME_PRIORITY_CLASS = REALTIME_PRIORITY_CLASS
45
45
 
46
46
  IOPRIO_VERYLOW: int
47
47
  IOPRIO_LOW: int
@@ -49,10 +49,10 @@ IOPRIO_NORMAL: int
49
49
  IOPRIO_HIGH: int
50
50
 
51
51
  class IOPriority(enum.IntEnum):
52
- IOPRIO_VERYLOW: int
53
- IOPRIO_LOW: int
54
- IOPRIO_NORMAL: int
55
- IOPRIO_HIGH: int
52
+ IOPRIO_VERYLOW = 0
53
+ IOPRIO_LOW = 1
54
+ IOPRIO_NORMAL = 2
55
+ IOPRIO_HIGH = 3
56
56
 
57
57
  pinfo_map: Any
58
58
 
@@ -282,8 +282,8 @@ class Warning(Exception): ...
282
282
  class ISQLQuote:
283
283
  _wrapped: Any
284
284
  def __init__(self, wrapped: object, /, **kwargs) -> None: ...
285
- def getbinary(self) -> Incomplete: ...
286
- def getbuffer(self) -> Incomplete: ...
285
+ def getbinary(self): ...
286
+ def getbuffer(self): ...
287
287
  def getquoted(self) -> bytes: ...
288
288
 
289
289
  class Decimal:
@@ -582,7 +582,7 @@ def Timestamp(
582
582
  def TimestampFromPy(datetime: dt.datetime, /) -> _datetime: ...
583
583
  def TimestampFromTicks(ticks: float, /) -> _datetime: ...
584
584
  def _connect(*args, **kwargs): ...
585
- def adapt(obj: object, protocol: Incomplete = ..., alternate: Incomplete = ..., /) -> Any: ...
585
+ def adapt(obj: object, protocol=..., alternate=..., /) -> Any: ...
586
586
  def encrypt_password(
587
587
  password: str | bytes, user: str | bytes, scope: connection | cursor | None = None, algorithm: str | None = None
588
588
  ) -> str: ...
@@ -12,8 +12,8 @@ class AbstractConnectionPool:
12
12
  def __init__(self, minconn: ConvertibleToInt, maxconn: ConvertibleToInt, *args, **kwargs) -> None: ...
13
13
  # getconn, putconn and closeall are officially documented as methods of the
14
14
  # abstract base class, but in reality, they only exist on the children classes
15
- def getconn(self, key: Hashable | None = None) -> Incomplete: ...
16
- def putconn(self, conn: Incomplete, key: Hashable | None = None, close: bool = False) -> None: ...
15
+ def getconn(self, key: Hashable | None = None): ...
16
+ def putconn(self, conn, key: Hashable | None = None, close: bool = False) -> None: ...
17
17
  def closeall(self) -> None: ...
18
18
 
19
19
  class SimpleConnectionPool(AbstractConnectionPool): ...
@@ -1,7 +1,7 @@
1
1
  version = "24.0.*"
2
2
  upstream_repository = "https://github.com/pyca/pyopenssl"
3
3
  # Requires a version of cryptography with a `py.typed` file
4
- requires = ["cryptography>=35.0.0"]
4
+ requires = ["cryptography>=35.0.0", "types-cffi"]
5
5
  partial_stub = true
6
6
 
7
7
  [tool.stubtest]
@@ -4,6 +4,7 @@ from _typeshed import Incomplete, ReadableBuffer
4
4
  from collections.abc import Callable, MutableSequence, Sequence
5
5
  from typing import Any, TypeVar
6
6
 
7
+ import _cffi_backend as cffi
7
8
  from OpenSSL.crypto import X509, PKey, X509Name
8
9
 
9
10
  OPENSSL_VERSION_NUMBER: int
@@ -164,9 +165,7 @@ class Connection:
164
165
  def server_random(self) -> bytes | None: ...
165
166
  def client_random(self) -> bytes | None: ...
166
167
  def master_key(self) -> bytes | None: ...
167
- def export_keying_material(
168
- self, label: Incomplete, olen: Incomplete, context: Incomplete = None
169
- ) -> Incomplete: ... # TODO: type, see RFC-5705
168
+ def export_keying_material(self, label: bytes, olen: int, context: bytes | None = None) -> cffi.buffer: ...
170
169
  def get_app_data(self) -> Any: ...
171
170
  def set_app_data(self, data: Any) -> None: ...
172
171
  def sock_shutdown(self, how: int, /) -> None: ... # alias to `_socket.socket.shutdown`
@@ -1,16 +1,5 @@
1
- version = "7.45.2"
1
+ version = "7.45.3"
2
2
  upstream_repository = "https://github.com/pycurl/pycurl"
3
3
 
4
4
  [tool.stubtest]
5
- # Install on Windows requires building PycURL from source
6
- #
7
- # Install on MacOS is too complicated for the CI and does not work with stubtest:
8
- # % brew install openssl
9
- # % export LDFLAGS="-L/usr/local/opt/openssl@3/lib"
10
- # % export CPPFLAGS="-I/usr/local/opt/openssl@3/include"
11
- # % pip install --compile --install-option="--with-openssl" pycurl
12
- # TODO: Test on Windows and/or MacOS once wheels are available.
13
- platforms = ["linux"]
14
- apt_dependencies = ["libcurl4-openssl-dev", "libssl-dev"]
15
- # No need to install on the CI. Leaving here as information for MacOS contributors.
16
- # brew_dependencies = ["openssl"]
5
+ platforms = ["darwin", "linux", "win32"]