basedpyright 1.31.5 → 1.31.6

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 (771) 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/_ast.pyi +5 -5
  7. package/dist/typeshed-fallback/stdlib/_asyncio.pyi +7 -5
  8. package/dist/typeshed-fallback/stdlib/_blake2.pyi +88 -45
  9. package/dist/typeshed-fallback/stdlib/_collections_abc.pyi +4 -6
  10. package/dist/typeshed-fallback/stdlib/_compat_pickle.pyi +10 -8
  11. package/dist/typeshed-fallback/stdlib/_csv.pyi +5 -2
  12. package/dist/typeshed-fallback/stdlib/_ctypes.pyi +11 -11
  13. package/dist/typeshed-fallback/stdlib/_curses.pyi +270 -270
  14. package/dist/typeshed-fallback/stdlib/_curses_panel.pyi +3 -3
  15. package/dist/typeshed-fallback/stdlib/_dbm.pyi +3 -3
  16. package/dist/typeshed-fallback/stdlib/_decimal.pyi +8 -8
  17. package/dist/typeshed-fallback/stdlib/_frozen_importlib_external.pyi +12 -11
  18. package/dist/typeshed-fallback/stdlib/_hashlib.pyi +2 -1
  19. package/dist/typeshed-fallback/stdlib/_interpreters.pyi +25 -19
  20. package/dist/typeshed-fallback/stdlib/_io.pyi +222 -164
  21. package/dist/typeshed-fallback/stdlib/_lsprof.pyi +2 -0
  22. package/dist/typeshed-fallback/stdlib/_lzma.pyi +6 -6
  23. package/dist/typeshed-fallback/stdlib/_msi.pyi +39 -39
  24. package/dist/typeshed-fallback/stdlib/_multibytecodec.pyi +5 -0
  25. package/dist/typeshed-fallback/stdlib/_pickle.pyi +3 -1
  26. package/dist/typeshed-fallback/stdlib/_queue.pyi +2 -0
  27. package/dist/typeshed-fallback/stdlib/_random.pyi +8 -2
  28. package/dist/typeshed-fallback/stdlib/_socket.pyi +2 -1
  29. package/dist/typeshed-fallback/stdlib/_ssl.pyi +2 -2
  30. package/dist/typeshed-fallback/stdlib/_struct.pyi +2 -1
  31. package/dist/typeshed-fallback/stdlib/_thread.pyi +3 -2
  32. package/dist/typeshed-fallback/stdlib/_threading_local.pyi +2 -0
  33. package/dist/typeshed-fallback/stdlib/_tkinter.pyi +20 -20
  34. package/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi +13 -2
  35. package/dist/typeshed-fallback/stdlib/_warnings.pyi +7 -7
  36. package/dist/typeshed-fallback/stdlib/_winapi.pyi +14 -14
  37. package/dist/typeshed-fallback/stdlib/_zstd.pyi +5 -5
  38. package/dist/typeshed-fallback/stdlib/abc.pyi +3 -3
  39. package/dist/typeshed-fallback/stdlib/annotationlib.pyi +15 -1
  40. package/dist/typeshed-fallback/stdlib/argparse.pyi +2 -2
  41. package/dist/typeshed-fallback/stdlib/array.pyi +2 -1
  42. package/dist/typeshed-fallback/stdlib/ast.pyi +32 -24
  43. package/dist/typeshed-fallback/stdlib/asyncio/base_events.pyi +13 -13
  44. package/dist/typeshed-fallback/stdlib/asyncio/events.pyi +41 -33
  45. package/dist/typeshed-fallback/stdlib/asyncio/graph.pyi +19 -17
  46. package/dist/typeshed-fallback/stdlib/asyncio/protocols.pyi +6 -0
  47. package/dist/typeshed-fallback/stdlib/asyncio/runners.pyi +1 -1
  48. package/dist/typeshed-fallback/stdlib/asyncio/streams.pyi +4 -4
  49. package/dist/typeshed-fallback/stdlib/asyncio/subprocess.pyi +6 -6
  50. package/dist/typeshed-fallback/stdlib/asyncio/tasks.pyi +4 -4
  51. package/dist/typeshed-fallback/stdlib/asyncio/tools.pyi +5 -0
  52. package/dist/typeshed-fallback/stdlib/asyncio/transports.pyi +8 -1
  53. package/dist/typeshed-fallback/stdlib/asyncio/trsock.pyi +18 -12
  54. package/dist/typeshed-fallback/stdlib/asyncio/unix_events.pyi +6 -6
  55. package/dist/typeshed-fallback/stdlib/asyncio/windows_events.pyi +1 -1
  56. package/dist/typeshed-fallback/stdlib/asyncio/windows_utils.pyi +5 -5
  57. package/dist/typeshed-fallback/stdlib/binascii.pyi +2 -2
  58. package/dist/typeshed-fallback/stdlib/builtins.pyi +48 -11
  59. package/dist/typeshed-fallback/stdlib/calendar.pyi +19 -19
  60. package/dist/typeshed-fallback/stdlib/cgi.pyi +5 -4
  61. package/dist/typeshed-fallback/stdlib/codecs.pyi +60 -28
  62. package/dist/typeshed-fallback/stdlib/collections/__init__.pyi +13 -4
  63. package/dist/typeshed-fallback/stdlib/colorsys.pyi +5 -3
  64. package/dist/typeshed-fallback/stdlib/compression/zstd/__init__.pyi +1 -0
  65. package/dist/typeshed-fallback/stdlib/concurrent/futures/_base.pyi +1 -2
  66. package/dist/typeshed-fallback/stdlib/concurrent/futures/process.pyi +3 -3
  67. package/dist/typeshed-fallback/stdlib/concurrent/interpreters/_crossinterp.pyi +1 -0
  68. package/dist/typeshed-fallback/stdlib/concurrent/interpreters/_queues.pyi +25 -9
  69. package/dist/typeshed-fallback/stdlib/configparser.pyi +8 -5
  70. package/dist/typeshed-fallback/stdlib/contextlib.pyi +2 -0
  71. package/dist/typeshed-fallback/stdlib/crypt.pyi +7 -1
  72. package/dist/typeshed-fallback/stdlib/ctypes/__init__.pyi +10 -4
  73. package/dist/typeshed-fallback/stdlib/ctypes/_endian.pyi +6 -2
  74. package/dist/typeshed-fallback/stdlib/ctypes/macholib/__init__.pyi +3 -1
  75. package/dist/typeshed-fallback/stdlib/ctypes/wintypes.pyi +2 -2
  76. package/dist/typeshed-fallback/stdlib/curses/__init__.pyi +3 -2
  77. package/dist/typeshed-fallback/stdlib/curses/ascii.pyi +38 -38
  78. package/dist/typeshed-fallback/stdlib/dataclasses.pyi +34 -2
  79. package/dist/typeshed-fallback/stdlib/datetime.pyi +5 -1
  80. package/dist/typeshed-fallback/stdlib/dbm/sqlite3.pyi +1 -1
  81. package/dist/typeshed-fallback/stdlib/decimal.pyi +3 -1
  82. package/dist/typeshed-fallback/stdlib/dis.pyi +65 -59
  83. package/dist/typeshed-fallback/stdlib/distutils/file_util.pyi +2 -2
  84. package/dist/typeshed-fallback/stdlib/doctest.pyi +17 -17
  85. package/dist/typeshed-fallback/stdlib/email/_header_value_parser.pyi +1 -1
  86. package/dist/typeshed-fallback/stdlib/email/charset.pyi +10 -3
  87. package/dist/typeshed-fallback/stdlib/enum.pyi +41 -18
  88. package/dist/typeshed-fallback/stdlib/errno.pyi +204 -202
  89. package/dist/typeshed-fallback/stdlib/faulthandler.pyi +9 -3
  90. package/dist/typeshed-fallback/stdlib/filecmp.pyi +1 -1
  91. package/dist/typeshed-fallback/stdlib/fractions.pyi +1 -0
  92. package/dist/typeshed-fallback/stdlib/functools.pyi +14 -7
  93. package/dist/typeshed-fallback/stdlib/gettext.pyi +9 -9
  94. package/dist/typeshed-fallback/stdlib/glob.pyi +6 -2
  95. package/dist/typeshed-fallback/stdlib/hmac.pyi +1 -0
  96. package/dist/typeshed-fallback/stdlib/html/entities.pyi +6 -4
  97. package/dist/typeshed-fallback/stdlib/http/client.pyi +69 -69
  98. package/dist/typeshed-fallback/stdlib/http/server.pyi +21 -9
  99. package/dist/typeshed-fallback/stdlib/imp.pyi +11 -11
  100. package/dist/typeshed-fallback/stdlib/importlib/abc.pyi +2 -2
  101. package/dist/typeshed-fallback/stdlib/importlib/metadata/__init__.pyi +46 -19
  102. package/dist/typeshed-fallback/stdlib/importlib/resources/_common.pyi +1 -1
  103. package/dist/typeshed-fallback/stdlib/inspect.pyi +61 -27
  104. package/dist/typeshed-fallback/stdlib/io.pyi +2 -0
  105. package/dist/typeshed-fallback/stdlib/ipaddress.pyi +7 -1
  106. package/dist/typeshed-fallback/stdlib/itertools.pyi +20 -2
  107. package/dist/typeshed-fallback/stdlib/lib2to3/fixes/fix_tuple_params.pyi +1 -2
  108. package/dist/typeshed-fallback/stdlib/logging/__init__.pyi +4 -4
  109. package/dist/typeshed-fallback/stdlib/logging/config.pyi +19 -8
  110. package/dist/typeshed-fallback/stdlib/logging/handlers.pyi +6 -6
  111. package/dist/typeshed-fallback/stdlib/mmap.pyi +3 -2
  112. package/dist/typeshed-fallback/stdlib/msilib/__init__.pyi +14 -14
  113. package/dist/typeshed-fallback/stdlib/msilib/schema.pyi +2 -1
  114. package/dist/typeshed-fallback/stdlib/msilib/sequence.pyi +7 -6
  115. package/dist/typeshed-fallback/stdlib/msilib/text.pyi +4 -3
  116. package/dist/typeshed-fallback/stdlib/msvcrt.pyi +4 -4
  117. package/dist/typeshed-fallback/stdlib/multiprocessing/managers.pyi +1 -0
  118. package/dist/typeshed-fallback/stdlib/multiprocessing/shared_memory.pyi +1 -1
  119. package/dist/typeshed-fallback/stdlib/multiprocessing/util.pyi +1 -1
  120. package/dist/typeshed-fallback/stdlib/nturl2path.pyi +2 -2
  121. package/dist/typeshed-fallback/stdlib/numbers.pyi +5 -0
  122. package/dist/typeshed-fallback/stdlib/opcode.pyi +16 -16
  123. package/dist/typeshed-fallback/stdlib/os/__init__.pyi +187 -186
  124. package/dist/typeshed-fallback/stdlib/ossaudiodev.pyi +114 -113
  125. package/dist/typeshed-fallback/stdlib/pathlib/__init__.pyi +43 -5
  126. package/dist/typeshed-fallback/stdlib/pdb.pyi +6 -2
  127. package/dist/typeshed-fallback/stdlib/pickle.pyi +73 -73
  128. package/dist/typeshed-fallback/stdlib/pickletools.pyi +9 -6
  129. package/dist/typeshed-fallback/stdlib/platform.pyi +19 -9
  130. package/dist/typeshed-fallback/stdlib/plistlib.pyi +3 -3
  131. package/dist/typeshed-fallback/stdlib/poplib.pyi +1 -1
  132. package/dist/typeshed-fallback/stdlib/pydoc.pyi +3 -3
  133. package/dist/typeshed-fallback/stdlib/pydoc_data/topics.pyi +3 -1
  134. package/dist/typeshed-fallback/stdlib/random.pyi +5 -0
  135. package/dist/typeshed-fallback/stdlib/resource.pyi +21 -20
  136. package/dist/typeshed-fallback/stdlib/select.pyi +68 -68
  137. package/dist/typeshed-fallback/stdlib/selectors.pyi +3 -3
  138. package/dist/typeshed-fallback/stdlib/smtplib.pyi +7 -7
  139. package/dist/typeshed-fallback/stdlib/socket.pyi +78 -77
  140. package/dist/typeshed-fallback/stdlib/sqlite3/__init__.pyi +4 -1
  141. package/dist/typeshed-fallback/stdlib/sqlite3/dbapi2.pyi +11 -6
  142. package/dist/typeshed-fallback/stdlib/sre_compile.pyi +2 -2
  143. package/dist/typeshed-fallback/stdlib/sre_constants.pyi +11 -4
  144. package/dist/typeshed-fallback/stdlib/sre_parse.pyi +15 -15
  145. package/dist/typeshed-fallback/stdlib/ssl.pyi +2 -2
  146. package/dist/typeshed-fallback/stdlib/statistics.pyi +1 -0
  147. package/dist/typeshed-fallback/stdlib/string/__init__.pyi +10 -10
  148. package/dist/typeshed-fallback/stdlib/stringprep.pyi +9 -7
  149. package/dist/typeshed-fallback/stdlib/subprocess.pyi +63 -63
  150. package/dist/typeshed-fallback/stdlib/sunau.pyi +15 -15
  151. package/dist/typeshed-fallback/stdlib/symbol.pyi +95 -93
  152. package/dist/typeshed-fallback/stdlib/symtable.pyi +5 -2
  153. package/dist/typeshed-fallback/stdlib/sys/__init__.pyi +9 -1
  154. package/dist/typeshed-fallback/stdlib/sys/_monitoring.pyi +5 -5
  155. package/dist/typeshed-fallback/stdlib/tarfile.pyi +26 -4
  156. package/dist/typeshed-fallback/stdlib/telnetlib.pyi +75 -75
  157. package/dist/typeshed-fallback/stdlib/tempfile.pyi +2 -2
  158. package/dist/typeshed-fallback/stdlib/threading.pyi +10 -10
  159. package/dist/typeshed-fallback/stdlib/time.pyi +13 -13
  160. package/dist/typeshed-fallback/stdlib/tkinter/__init__.pyi +704 -711
  161. package/dist/typeshed-fallback/stdlib/tkinter/messagebox.pyi +3 -3
  162. package/dist/typeshed-fallback/stdlib/tkinter/ttk.pyi +300 -167
  163. package/dist/typeshed-fallback/stdlib/tokenize.pyi +48 -41
  164. package/dist/typeshed-fallback/stdlib/tomllib.pyi +1 -1
  165. package/dist/typeshed-fallback/stdlib/traceback.pyi +18 -1
  166. package/dist/typeshed-fallback/stdlib/tracemalloc.pyi +5 -0
  167. package/dist/typeshed-fallback/stdlib/turtle.pyi +41 -15
  168. package/dist/typeshed-fallback/stdlib/types.pyi +60 -31
  169. package/dist/typeshed-fallback/stdlib/typing.pyi +50 -17
  170. package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +14 -1
  171. package/dist/typeshed-fallback/stdlib/unicodedata.pyi +2 -2
  172. package/dist/typeshed-fallback/stdlib/unittest/loader.pyi +35 -18
  173. package/dist/typeshed-fallback/stdlib/unittest/main.pyi +5 -2
  174. package/dist/typeshed-fallback/stdlib/unittest/mock.pyi +153 -67
  175. package/dist/typeshed-fallback/stdlib/unittest/util.pyi +6 -6
  176. package/dist/typeshed-fallback/stdlib/urllib/parse.pyi +17 -11
  177. package/dist/typeshed-fallback/stdlib/uuid.pyi +1 -0
  178. package/dist/typeshed-fallback/stdlib/venv/__init__.pyi +2 -1
  179. package/dist/typeshed-fallback/stdlib/wave.pyi +23 -11
  180. package/dist/typeshed-fallback/stdlib/weakref.pyi +5 -1
  181. package/dist/typeshed-fallback/stdlib/webbrowser.pyi +10 -4
  182. package/dist/typeshed-fallback/stdlib/winreg.pyi +7 -7
  183. package/dist/typeshed-fallback/stdlib/wsgiref/headers.pyi +2 -2
  184. package/dist/typeshed-fallback/stdlib/wsgiref/simple_server.pyi +4 -4
  185. package/dist/typeshed-fallback/stdlib/xml/dom/NodeFilter.pyi +17 -17
  186. package/dist/typeshed-fallback/stdlib/xml/dom/__init__.pyi +17 -16
  187. package/dist/typeshed-fallback/stdlib/xml/dom/expatbuilder.pyi +13 -8
  188. package/dist/typeshed-fallback/stdlib/xml/dom/minicompat.pyi +2 -0
  189. package/dist/typeshed-fallback/stdlib/xml/dom/minidom.pyi +26 -0
  190. package/dist/typeshed-fallback/stdlib/xml/dom/pulldom.pyi +1 -1
  191. package/dist/typeshed-fallback/stdlib/xml/dom/xmlbuilder.pyi +13 -11
  192. package/dist/typeshed-fallback/stdlib/xml/etree/ElementInclude.pyi +4 -3
  193. package/dist/typeshed-fallback/stdlib/xml/etree/ElementPath.pyi +3 -3
  194. package/dist/typeshed-fallback/stdlib/xml/etree/ElementTree.pyi +9 -8
  195. package/dist/typeshed-fallback/stdlib/xml/sax/__init__.pyi +2 -2
  196. package/dist/typeshed-fallback/stdlib/xml/sax/expatreader.pyi +2 -2
  197. package/dist/typeshed-fallback/stdlib/xml/sax/handler.pyi +16 -16
  198. package/dist/typeshed-fallback/stdlib/zipfile/__init__.pyi +27 -4
  199. package/dist/typeshed-fallback/stdlib/zipfile/_path/glob.pyi +5 -1
  200. package/dist/typeshed-fallback/stdlib/zoneinfo/__init__.pyi +2 -1
  201. package/dist/typeshed-fallback/stubs/Authlib/METADATA.toml +1 -1
  202. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/errors.pyi +4 -0
  203. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/key_set.pyi +1 -1
  204. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/client.pyi +2 -1
  205. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/requests.pyi +9 -1
  206. package/dist/typeshed-fallback/stubs/Jetson.GPIO/Jetson/GPIO/gpio.pyi +2 -2
  207. package/dist/typeshed-fallback/stubs/Jetson.GPIO/Jetson/GPIO/gpio_event.pyi +1 -1
  208. package/dist/typeshed-fallback/stubs/Jetson.GPIO/Jetson/GPIO/gpio_pin_data.pyi +26 -22
  209. package/dist/typeshed-fallback/stubs/Jetson.GPIO/METADATA.toml +1 -1
  210. package/dist/typeshed-fallback/stubs/Markdown/METADATA.toml +1 -1
  211. package/dist/typeshed-fallback/stubs/Markdown/markdown/extensions/footnotes.pyi +11 -0
  212. package/dist/typeshed-fallback/stubs/PyMeeus/METADATA.toml +2 -0
  213. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Angle.pyi +95 -0
  214. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Coordinates.pyi +192 -0
  215. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/CurveFitting.pyi +43 -0
  216. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Earth.pyi +64 -0
  217. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Epoch.pyi +129 -0
  218. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Interpolation.pyi +42 -0
  219. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Jupiter.pyi +38 -0
  220. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/JupiterMoons.pyi +78 -0
  221. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Mars.pyi +38 -0
  222. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Mercury.pyi +42 -0
  223. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Minor.pyi +10 -0
  224. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Moon.pyi +39 -0
  225. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Neptune.pyi +30 -0
  226. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Pluto.pyi +17 -0
  227. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Saturn.pyi +44 -0
  228. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Sun.pyi +35 -0
  229. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Uranus.pyi +34 -0
  230. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/Venus.pyi +44 -0
  231. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/__init__.pyi +0 -0
  232. package/dist/typeshed-fallback/stubs/PyMeeus/pymeeus/base.pyi +8 -0
  233. package/dist/typeshed-fallback/stubs/PyMySQL/pymysql/connections.pyi +131 -116
  234. package/dist/typeshed-fallback/stubs/PyMySQL/pymysql/cursors.pyi +2 -1
  235. package/dist/typeshed-fallback/stubs/PyMySQL/pymysql/protocol.pyi +1 -0
  236. package/dist/typeshed-fallback/stubs/PySocks/METADATA.toml +2 -0
  237. package/dist/typeshed-fallback/stubs/PySocks/socks.pyi +143 -0
  238. package/dist/typeshed-fallback/stubs/PySocks/sockshandler.pyi +102 -0
  239. package/dist/typeshed-fallback/stubs/PyYAML/yaml/__init__.pyi +1 -0
  240. package/dist/typeshed-fallback/stubs/PyYAML/yaml/_yaml.pyi +4 -1
  241. package/dist/typeshed-fallback/stubs/PyYAML/yaml/emitter.pyi +18 -14
  242. package/dist/typeshed-fallback/stubs/WebOb/webob/cachecontrol.pyi +5 -2
  243. package/dist/typeshed-fallback/stubs/WebOb/webob/cookies.pyi +1 -0
  244. package/dist/typeshed-fallback/stubs/WebOb/webob/multidict.pyi +3 -3
  245. package/dist/typeshed-fallback/stubs/aiofiles/aiofiles/base.pyi +1 -0
  246. package/dist/typeshed-fallback/stubs/aiofiles/aiofiles/os.pyi +10 -10
  247. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/BufferedTokenStream.pyi +1 -0
  248. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/CommonTokenFactory.pyi +1 -0
  249. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/CommonTokenStream.pyi +1 -0
  250. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/FileStream.pyi +1 -0
  251. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/InputStream.pyi +1 -0
  252. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/IntervalSet.pyi +1 -0
  253. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/LL1Analyzer.pyi +1 -0
  254. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/Lexer.pyi +16 -0
  255. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/ListTokenSource.pyi +1 -0
  256. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/Parser.pyi +12 -0
  257. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/ParserInterpreter.pyi +10 -0
  258. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/ParserRuleContext.pyi +1 -0
  259. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/Recognizer.pyi +1 -0
  260. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/RuleContext.pyi +1 -0
  261. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/Token.pyi +1 -0
  262. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/TokenStreamRewriter.pyi +3 -0
  263. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/ATN.pyi +12 -0
  264. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/ATNConfig.pyi +2 -0
  265. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/ATNConfigSet.pyi +11 -0
  266. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/ATNDeserializationOptions.pyi +1 -0
  267. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/ATNDeserializer.pyi +1 -0
  268. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/ATNSimulator.pyi +1 -0
  269. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/ATNState.pyi +8 -0
  270. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/LexerATNSimulator.pyi +2 -0
  271. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/LexerAction.pyi +7 -0
  272. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/LexerActionExecutor.pyi +1 -0
  273. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/ParserATNSimulator.pyi +1 -0
  274. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/SemanticContext.pyi +3 -0
  275. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/atn/Transition.pyi +10 -0
  276. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/dfa/DFA.pyi +1 -0
  277. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/dfa/DFASerializer.pyi +1 -0
  278. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/dfa/DFAState.pyi +11 -0
  279. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/tree/Chunk.pyi +2 -0
  280. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/tree/ParseTreeMatch.pyi +1 -0
  281. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/tree/ParseTreePattern.pyi +1 -0
  282. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/tree/ParseTreePatternMatcher.pyi +1 -0
  283. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/tree/RuleTagToken.pyi +1 -0
  284. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/tree/TokenTagToken.pyi +1 -0
  285. package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/tree/Tree.pyi +1 -0
  286. package/dist/typeshed-fallback/stubs/auth0-python/auth0/authentication/token_verifier.pyi +2 -2
  287. package/dist/typeshed-fallback/stubs/boltons/boltons/dictutils.pyi +3 -1
  288. package/dist/typeshed-fallback/stubs/boltons/boltons/mathutils.pyi +1 -0
  289. package/dist/typeshed-fallback/stubs/boltons/boltons/setutils.pyi +1 -0
  290. package/dist/typeshed-fallback/stubs/boltons/boltons/strutils.pyi +1 -1
  291. package/dist/typeshed-fallback/stubs/boltons/boltons/tbutils.pyi +1 -0
  292. package/dist/typeshed-fallback/stubs/cachetools/METADATA.toml +1 -1
  293. package/dist/typeshed-fallback/stubs/cachetools/cachetools/__init__.pyi +3 -1
  294. package/dist/typeshed-fallback/stubs/cffi/_cffi_backend.pyi +3 -2
  295. package/dist/typeshed-fallback/stubs/cffi/cffi/api.pyi +1 -1
  296. package/dist/typeshed-fallback/stubs/cffi/cffi/backend_ctypes.pyi +6 -1
  297. package/dist/typeshed-fallback/stubs/cffi/cffi/pkgconfig.pyi +1 -1
  298. package/dist/typeshed-fallback/stubs/channels/channels/layers.pyi +2 -2
  299. package/dist/typeshed-fallback/stubs/click-shell/METADATA.toml +3 -0
  300. package/dist/typeshed-fallback/stubs/click-shell/click_shell/__init__.pyi +7 -0
  301. package/dist/typeshed-fallback/stubs/click-shell/click_shell/_cmd.pyi +28 -0
  302. package/dist/typeshed-fallback/stubs/click-shell/click_shell/_compat.pyi +10 -0
  303. package/dist/typeshed-fallback/stubs/click-shell/click_shell/core.pyi +35 -0
  304. package/dist/typeshed-fallback/stubs/click-shell/click_shell/decorators.pyi +8 -0
  305. package/dist/typeshed-fallback/stubs/convertdate/METADATA.toml +2 -0
  306. package/dist/typeshed-fallback/stubs/convertdate/convertdate/__init__.pyi +48 -0
  307. package/dist/typeshed-fallback/stubs/convertdate/convertdate/armenian.pyi +24 -0
  308. package/dist/typeshed-fallback/stubs/convertdate/convertdate/bahai.pyi +37 -0
  309. package/dist/typeshed-fallback/stubs/convertdate/convertdate/coptic.pyi +14 -0
  310. package/dist/typeshed-fallback/stubs/convertdate/convertdate/data/__init__.pyi +0 -0
  311. package/dist/typeshed-fallback/stubs/convertdate/convertdate/data/french_republican_days.pyi +3 -0
  312. package/dist/typeshed-fallback/stubs/convertdate/convertdate/data/positivist.pyi +6 -0
  313. package/dist/typeshed-fallback/stubs/convertdate/convertdate/daycount.pyi +13 -0
  314. package/dist/typeshed-fallback/stubs/convertdate/convertdate/dublin.pyi +13 -0
  315. package/dist/typeshed-fallback/stubs/convertdate/convertdate/french_republican.pyi +27 -0
  316. package/dist/typeshed-fallback/stubs/convertdate/convertdate/gregorian.pyi +20 -0
  317. package/dist/typeshed-fallback/stubs/convertdate/convertdate/hebrew.pyi +34 -0
  318. package/dist/typeshed-fallback/stubs/convertdate/convertdate/holidays.pyi +161 -0
  319. package/dist/typeshed-fallback/stubs/convertdate/convertdate/indian_civil.pyi +15 -0
  320. package/dist/typeshed-fallback/stubs/convertdate/convertdate/islamic.pyi +17 -0
  321. package/dist/typeshed-fallback/stubs/convertdate/convertdate/iso.pyi +17 -0
  322. package/dist/typeshed-fallback/stubs/convertdate/convertdate/julian.pyi +20 -0
  323. package/dist/typeshed-fallback/stubs/convertdate/convertdate/julianday.pyi +8 -0
  324. package/dist/typeshed-fallback/stubs/convertdate/convertdate/mayan.pyi +40 -0
  325. package/dist/typeshed-fallback/stubs/convertdate/convertdate/ordinal.pyi +4 -0
  326. package/dist/typeshed-fallback/stubs/convertdate/convertdate/persian.pyi +19 -0
  327. package/dist/typeshed-fallback/stubs/convertdate/convertdate/positivist.pyi +15 -0
  328. package/dist/typeshed-fallback/stubs/convertdate/convertdate/utils.pyi +43 -0
  329. package/dist/typeshed-fallback/stubs/defusedxml/defusedxml/lxml.pyi +8 -15
  330. package/dist/typeshed-fallback/stubs/django-filter/django_filters/fields.pyi +71 -14
  331. package/dist/typeshed-fallback/stubs/django-filter/django_filters/filters.pyi +116 -22
  332. package/dist/typeshed-fallback/stubs/django-filter/django_filters/filterset.pyi +4 -3
  333. package/dist/typeshed-fallback/stubs/django-filter/django_filters/rest_framework/__init__.pyi +32 -1
  334. package/dist/typeshed-fallback/stubs/django-filter/django_filters/rest_framework/filters.pyi +1 -4
  335. package/dist/typeshed-fallback/stubs/django-filter/django_filters/widgets.pyi +1 -6
  336. package/dist/typeshed-fallback/stubs/django-import-export/import_export/resources.pyi +1 -1
  337. package/dist/typeshed-fallback/stubs/docker/docker/models/containers.pyi +1 -1
  338. package/dist/typeshed-fallback/stubs/docker/docker/transport/sshconn.pyi +1 -1
  339. package/dist/typeshed-fallback/stubs/docker/docker/types/services.pyi +1 -1
  340. package/dist/typeshed-fallback/stubs/docutils/METADATA.toml +1 -1
  341. package/dist/typeshed-fallback/stubs/docutils/docutils/__main__.pyi +3 -1
  342. package/dist/typeshed-fallback/stubs/docutils/docutils/core.pyi +21 -29
  343. package/dist/typeshed-fallback/stubs/docutils/docutils/examples.pyi +12 -14
  344. package/dist/typeshed-fallback/stubs/docutils/docutils/frontend.pyi +155 -53
  345. package/dist/typeshed-fallback/stubs/docutils/docutils/io.pyi +12 -7
  346. package/dist/typeshed-fallback/stubs/docutils/docutils/languages/__init__.pyi +2 -0
  347. package/dist/typeshed-fallback/stubs/docutils/docutils/nodes.pyi +57 -10
  348. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/__init__.pyi +1 -1
  349. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/docutils_xml.pyi +16 -0
  350. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/null.pyi +3 -1
  351. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/recommonmark_wrapper.pyi +5 -1
  352. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/__init__.pyi +1 -0
  353. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/misc.pyi +7 -1
  354. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/tables.pyi +3 -4
  355. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/roles.pyi +4 -1
  356. package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/states.pyi +11 -17
  357. package/dist/typeshed-fallback/stubs/docutils/docutils/readers/doctree.pyi +3 -1
  358. package/dist/typeshed-fallback/stubs/docutils/docutils/transforms/references.pyi +4 -0
  359. package/dist/typeshed-fallback/stubs/docutils/docutils/transforms/universal.pyi +5 -1
  360. package/dist/typeshed-fallback/stubs/docutils/docutils/transforms/writer_aux.pyi +0 -8
  361. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/__init__.pyi +13 -22
  362. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/_roman_numerals.pyi +30 -0
  363. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/code_analyzer.pyi +2 -1
  364. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/__init__.pyi +3 -1
  365. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/math2html.pyi +2 -1
  366. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/mathml_elements.pyi +1 -0
  367. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/math/tex2mathml_extern.pyi +1 -0
  368. package/dist/typeshed-fallback/stubs/docutils/docutils/writers/__init__.pyi +10 -0
  369. package/dist/typeshed-fallback/stubs/docutils/docutils/writers/_html_base.pyi +5 -3
  370. package/dist/typeshed-fallback/stubs/docutils/docutils/writers/latex2e/__init__.pyi +17 -8
  371. package/dist/typeshed-fallback/stubs/docutils/docutils/writers/manpage.pyi +7 -2
  372. package/dist/typeshed-fallback/stubs/docutils/docutils/writers/null.pyi +3 -1
  373. package/dist/typeshed-fallback/stubs/docutils/docutils/writers/odf_odt/__init__.pyi +3 -1
  374. package/dist/typeshed-fallback/stubs/docutils/docutils/writers/xetex/__init__.pyi +1 -0
  375. package/dist/typeshed-fallback/stubs/fanstatic/fanstatic/core.pyi +1 -1
  376. package/dist/typeshed-fallback/stubs/fanstatic/fanstatic/publisher.pyi +1 -1
  377. package/dist/typeshed-fallback/stubs/fanstatic/fanstatic/wsgi.pyi +1 -1
  378. package/dist/typeshed-fallback/stubs/flake8-builtins/METADATA.toml +1 -1
  379. package/dist/typeshed-fallback/stubs/flake8-builtins/flake8_builtins.pyi +3 -0
  380. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/annotations.pyi +20 -0
  381. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/bidi.pyi +4 -0
  382. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/fonts.pyi +24 -0
  383. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/outline.pyi +3 -0
  384. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/output.pyi +36 -0
  385. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/structure_tree.pyi +3 -0
  386. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/table.pyi +1 -0
  387. package/dist/typeshed-fallback/stubs/gdb/gdb/__init__.pyi +10 -2
  388. package/dist/typeshed-fallback/stubs/gdb/gdb/disassembler.pyi +2 -0
  389. package/dist/typeshed-fallback/stubs/geopandas/geopandas/geodataframe.pyi +3 -3
  390. package/dist/typeshed-fallback/stubs/geopandas/geopandas/geoseries.pyi +3 -3
  391. package/dist/typeshed-fallback/stubs/gevent/gevent/_abstract_linkable.pyi +1 -0
  392. package/dist/typeshed-fallback/stubs/gevent/gevent/_ffi/loop.pyi +4 -4
  393. package/dist/typeshed-fallback/stubs/gevent/gevent/_ffi/watcher.pyi +1 -1
  394. package/dist/typeshed-fallback/stubs/gevent/gevent/_fileobjectcommon.pyi +2 -1
  395. package/dist/typeshed-fallback/stubs/gevent/gevent/_greenlet_primitives.pyi +2 -0
  396. package/dist/typeshed-fallback/stubs/gevent/gevent/_hub_primitives.pyi +2 -1
  397. package/dist/typeshed-fallback/stubs/gevent/gevent/_ident.pyi +1 -0
  398. package/dist/typeshed-fallback/stubs/gevent/gevent/_imap.pyi +3 -1
  399. package/dist/typeshed-fallback/stubs/gevent/gevent/_monitor.pyi +1 -0
  400. package/dist/typeshed-fallback/stubs/gevent/gevent/_threading.pyi +1 -0
  401. package/dist/typeshed-fallback/stubs/gevent/gevent/_util.pyi +8 -3
  402. package/dist/typeshed-fallback/stubs/gevent/gevent/_waiter.pyi +3 -1
  403. package/dist/typeshed-fallback/stubs/gevent/gevent/event.pyi +2 -0
  404. package/dist/typeshed-fallback/stubs/gevent/gevent/greenlet.pyi +2 -1
  405. package/dist/typeshed-fallback/stubs/gevent/gevent/hub.pyi +1 -0
  406. package/dist/typeshed-fallback/stubs/gevent/gevent/libev/corecext.pyi +3 -3
  407. package/dist/typeshed-fallback/stubs/gevent/gevent/local.pyi +10 -1
  408. package/dist/typeshed-fallback/stubs/gevent/gevent/lock.pyi +4 -1
  409. package/dist/typeshed-fallback/stubs/gevent/gevent/pool.pyi +1 -0
  410. package/dist/typeshed-fallback/stubs/gevent/gevent/pywsgi.pyi +14 -1
  411. package/dist/typeshed-fallback/stubs/gevent/gevent/queue.pyi +9 -2
  412. package/dist/typeshed-fallback/stubs/gevent/gevent/resolver/cares.pyi +4 -2
  413. package/dist/typeshed-fallback/stubs/gevent/gevent/threadpool.pyi +12 -0
  414. package/dist/typeshed-fallback/stubs/greenlet/greenlet/_greenlet.pyi +2 -1
  415. package/dist/typeshed-fallback/stubs/grpcio/grpc/aio/__init__.pyi +3 -3
  416. package/dist/typeshed-fallback/stubs/gunicorn/METADATA.toml +8 -0
  417. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/__init__.pyi +4 -0
  418. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/_types.pyi +23 -0
  419. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/app/__init__.pyi +0 -0
  420. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/app/base.pyi +36 -0
  421. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/app/pasterapp.pyi +7 -0
  422. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/app/wsgiapp.pyi +20 -0
  423. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/arbiter.pyi +68 -0
  424. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/config.pyi +1065 -0
  425. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/debug.pyi +18 -0
  426. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/errors.pyi +8 -0
  427. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/glogging.pyi +158 -0
  428. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/http/__init__.pyi +4 -0
  429. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/http/body.pyi +48 -0
  430. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/http/errors.pyi +89 -0
  431. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/http/message.pyi +62 -0
  432. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/http/parser.pyi +26 -0
  433. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/http/unreader.pyi +28 -0
  434. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/http/wsgi.pyi +70 -0
  435. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/instrument/__init__.pyi +0 -0
  436. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/instrument/statsd.pyi +105 -0
  437. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/pidfile.pyi +8 -0
  438. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/reloader.pyi +50 -0
  439. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/sock.pyi +41 -0
  440. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/systemd.pyi +6 -0
  441. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/util.pyi +48 -0
  442. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/workers/__init__.pyi +13 -0
  443. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/workers/base.pyi +48 -0
  444. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/workers/base_async.pyi +17 -0
  445. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/workers/geventlet.pyi +31 -0
  446. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/workers/ggevent.pyi +54 -0
  447. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/workers/gthread.pyi +50 -0
  448. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/workers/gtornado.pyi +28 -0
  449. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/workers/sync.pyi +22 -0
  450. package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/workers/workertmp.pyi +11 -0
  451. package/dist/typeshed-fallback/stubs/hdbcli/hdbcli/dbapi.pyi +4 -1
  452. package/dist/typeshed-fallback/stubs/hdbcli/hdbcli/resultrow.pyi +2 -0
  453. package/dist/typeshed-fallback/stubs/html5lib/html5lib/html5parser.pyi +4 -2
  454. package/dist/typeshed-fallback/stubs/httplib2/METADATA.toml +1 -1
  455. package/dist/typeshed-fallback/stubs/icalendar/icalendar/parser.pyi +1 -1
  456. package/dist/typeshed-fallback/stubs/icalendar/icalendar/parser_tools.pyi +4 -4
  457. package/dist/typeshed-fallback/stubs/jsonschema/METADATA.toml +1 -1
  458. package/dist/typeshed-fallback/stubs/jsonschema/jsonschema/_types.pyi +1 -0
  459. package/dist/typeshed-fallback/stubs/jsonschema/jsonschema/cli.pyi +3 -0
  460. package/dist/typeshed-fallback/stubs/jsonschema/jsonschema/protocols.pyi +6 -4
  461. package/dist/typeshed-fallback/stubs/jsonschema/jsonschema/validators.pyi +20 -10
  462. package/dist/typeshed-fallback/stubs/lunardate/METADATA.toml +2 -0
  463. package/dist/typeshed-fallback/stubs/lunardate/lunardate.pyi +40 -0
  464. package/dist/typeshed-fallback/stubs/lupa/lupa/lua51.pyi +23 -14
  465. package/dist/typeshed-fallback/stubs/lupa/lupa/lua52.pyi +23 -14
  466. package/dist/typeshed-fallback/stubs/lupa/lupa/lua53.pyi +23 -14
  467. package/dist/typeshed-fallback/stubs/lupa/lupa/lua54.pyi +23 -14
  468. package/dist/typeshed-fallback/stubs/lupa/lupa/luajit20.pyi +3 -0
  469. package/dist/typeshed-fallback/stubs/lupa/lupa/luajit21.pyi +3 -0
  470. package/dist/typeshed-fallback/stubs/mock/mock/mock.pyi +2 -2
  471. package/dist/typeshed-fallback/stubs/mysqlclient/MySQLdb/_mysql.pyi +3 -0
  472. package/dist/typeshed-fallback/stubs/netaddr/netaddr/eui/__init__.pyi +4 -0
  473. package/dist/typeshed-fallback/stubs/netaddr/netaddr/ip/__init__.pyi +5 -0
  474. package/dist/typeshed-fallback/stubs/netaddr/netaddr/ip/glob.pyi +1 -0
  475. package/dist/typeshed-fallback/stubs/netaddr/netaddr/ip/sets.pyi +1 -0
  476. package/dist/typeshed-fallback/stubs/networkx/networkx/_typing.pyi +21 -5
  477. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/clique.pyi +4 -6
  478. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/connectivity.pyi +4 -5
  479. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/traveling_salesman.pyi +3 -3
  480. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/assortativity/connectivity.pyi +6 -1
  481. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/connectivity.pyi +18 -12
  482. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/flow/utils.pyi +2 -0
  483. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/link_analysis/hits_alg.pyi +3 -3
  484. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/link_analysis/pagerank_alg.pyi +10 -9
  485. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/planarity.pyi +20 -0
  486. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/simple_paths.pyi +5 -3
  487. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/beamsearch.pyi +2 -3
  488. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/breadth_first_search.pyi +33 -17
  489. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/depth_first_search.pyi +45 -16
  490. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/edgebfs.pyi +7 -3
  491. package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/edgedfs.pyi +7 -3
  492. package/dist/typeshed-fallback/stubs/networkx/networkx/classes/coreviews.pyi +13 -4
  493. package/dist/typeshed-fallback/stubs/networkx/networkx/classes/digraph.pyi +23 -9
  494. package/dist/typeshed-fallback/stubs/networkx/networkx/classes/multidigraph.pyi +13 -6
  495. package/dist/typeshed-fallback/stubs/networkx/networkx/classes/reportviews.pyi +32 -10
  496. package/dist/typeshed-fallback/stubs/networkx/networkx/drawing/layout.pyi +96 -56
  497. package/dist/typeshed-fallback/stubs/networkx/networkx/drawing/nx_agraph.pyi +3 -5
  498. package/dist/typeshed-fallback/stubs/networkx/networkx/drawing/nx_latex.pyi +53 -19
  499. package/dist/typeshed-fallback/stubs/networkx/networkx/drawing/nx_pydot.pyi +11 -9
  500. package/dist/typeshed-fallback/stubs/networkx/networkx/drawing/nx_pylab.pyi +292 -85
  501. package/dist/typeshed-fallback/stubs/networkx/networkx/readwrite/gexf.pyi +2 -1
  502. package/dist/typeshed-fallback/stubs/networkx/networkx/readwrite/graphml.pyi +2 -2
  503. package/dist/typeshed-fallback/stubs/networkx/networkx/utils/heaps.pyi +2 -0
  504. package/dist/typeshed-fallback/stubs/networkx/networkx/utils/mapped_queue.pyi +1 -0
  505. package/dist/typeshed-fallback/stubs/networkx/networkx/utils/misc.pyi +6 -1
  506. package/dist/typeshed-fallback/stubs/oauthlib/oauthlib/oauth2/rfc6749/endpoints/token.pyi +1 -1
  507. package/dist/typeshed-fallback/stubs/oauthlib/oauthlib/oauth2/rfc6749/tokens.pyi +2 -0
  508. package/dist/typeshed-fallback/stubs/oauthlib/oauthlib/openid/connect/core/tokens.pyi +1 -0
  509. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/cell/cell.pyi +2 -0
  510. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/cell/read_only.pyi +2 -0
  511. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/descriptors/sequence.pyi +1 -1
  512. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/formula/tokenizer.pyi +1 -0
  513. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/pivot/table.pyi +1 -1
  514. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/styles/cell_style.pyi +1 -1
  515. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/styles/proxy.pyi +1 -0
  516. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/styles/styleable.pyi +1 -0
  517. package/dist/typeshed-fallback/stubs/paramiko/paramiko/packet.pyi +1 -1
  518. package/dist/typeshed-fallback/stubs/paramiko/paramiko/transport.pyi +2 -1
  519. package/dist/typeshed-fallback/stubs/parsimonious/parsimonious/expressions.pyi +6 -0
  520. package/dist/typeshed-fallback/stubs/parsimonious/parsimonious/nodes.pyi +2 -0
  521. package/dist/typeshed-fallback/stubs/parsimonious/parsimonious/utils.pyi +1 -0
  522. package/dist/typeshed-fallback/stubs/pexpect/pexpect/spawnbase.pyi +1 -1
  523. package/dist/typeshed-fallback/stubs/pika/pika/adapters/blocking_connection.pyi +9 -0
  524. package/dist/typeshed-fallback/stubs/pika/pika/adapters/gevent_connection.pyi +10 -12
  525. package/dist/typeshed-fallback/stubs/pika/pika/adapters/select_connection.pyi +1 -0
  526. package/dist/typeshed-fallback/stubs/pika/pika/adapters/utils/selector_ioloop_adapter.pyi +1 -0
  527. package/dist/typeshed-fallback/stubs/pika/pika/connection.pyi +21 -0
  528. package/dist/typeshed-fallback/stubs/pony/pony/orm/core.pyi +95 -1
  529. package/dist/typeshed-fallback/stubs/pony/pony/orm/dbproviders/mysql.pyi +2 -1
  530. package/dist/typeshed-fallback/stubs/pony/pony/orm/dbproviders/sqlite.pyi +2 -1
  531. package/dist/typeshed-fallback/stubs/pony/pony/orm/examples/alessandro_bug.pyi +3 -0
  532. package/dist/typeshed-fallback/stubs/pony/pony/orm/examples/compositekeys.pyi +11 -0
  533. package/dist/typeshed-fallback/stubs/pony/pony/orm/examples/demo.pyi +4 -0
  534. package/dist/typeshed-fallback/stubs/pony/pony/orm/examples/estore.pyi +6 -0
  535. package/dist/typeshed-fallback/stubs/pony/pony/orm/examples/inheritance1.pyi +8 -1
  536. package/dist/typeshed-fallback/stubs/pony/pony/orm/examples/numbers.pyi +1 -0
  537. package/dist/typeshed-fallback/stubs/pony/pony/orm/examples/university1.pyi +4 -0
  538. package/dist/typeshed-fallback/stubs/pony/pony/orm/examples/university2.pyi +12 -0
  539. package/dist/typeshed-fallback/stubs/pony/pony/orm/ormtypes.pyi +3 -0
  540. package/dist/typeshed-fallback/stubs/pony/pony/orm/sqlbuilding.pyi +3 -0
  541. package/dist/typeshed-fallback/stubs/protobuf/METADATA.toml +2 -2
  542. package/dist/typeshed-fallback/stubs/protobuf/google/_upb/_message.pyi +14 -13
  543. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/api_pb2.pyi +33 -2
  544. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/descriptor.pyi +4 -0
  545. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/descriptor_pb2.pyi +107 -3
  546. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/internal/api_implementation.pyi +0 -1
  547. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/internal/containers.pyi +5 -0
  548. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/internal/well_known_types.pyi +6 -0
  549. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/message.pyi +2 -1
  550. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/type_pb2.pyi +32 -4
  551. package/dist/typeshed-fallback/stubs/psutil/psutil/__init__.pyi +2 -2
  552. package/dist/typeshed-fallback/stubs/psutil/psutil/_psosx.pyi +5 -4
  553. package/dist/typeshed-fallback/stubs/psycopg2/psycopg2/_psycopg.pyi +22 -1
  554. package/dist/typeshed-fallback/stubs/pyRFC3339/METADATA.toml +1 -0
  555. package/dist/typeshed-fallback/stubs/pycocotools/pycocotools/mask.pyi +1 -1
  556. package/dist/typeshed-fallback/stubs/pycurl/METADATA.toml +1 -1
  557. package/dist/typeshed-fallback/stubs/pycurl/pycurl.pyi +4 -0
  558. package/dist/typeshed-fallback/stubs/pyinstaller/METADATA.toml +1 -1
  559. package/dist/typeshed-fallback/stubs/pyinstaller/PyInstaller/compat.pyi +0 -1
  560. package/dist/typeshed-fallback/stubs/pyinstaller/PyInstaller/lib/modulegraph/modulegraph.pyi +11 -0
  561. package/dist/typeshed-fallback/stubs/pyluach/METADATA.toml +2 -0
  562. package/dist/typeshed-fallback/stubs/pyluach/pyluach/__init__.pyi +3 -0
  563. package/dist/typeshed-fallback/stubs/pyluach/pyluach/dates.pyi +106 -0
  564. package/dist/typeshed-fallback/stubs/pyluach/pyluach/hebrewcal.pyi +141 -0
  565. package/dist/typeshed-fallback/stubs/pyluach/pyluach/parshios.pyi +14 -0
  566. package/dist/typeshed-fallback/stubs/pyluach/pyluach/utils.pyi +32 -0
  567. package/dist/typeshed-fallback/stubs/pyserial/serial/serialposix.pyi +3 -3
  568. package/dist/typeshed-fallback/stubs/pyserial/serial/tools/list_ports_osx.pyi +1 -1
  569. package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/_common.pyi +1 -0
  570. package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/parser/_parser.pyi +2 -0
  571. package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/rrule.pyi +17 -0
  572. package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/tz/tz.pyi +1 -0
  573. package/dist/typeshed-fallback/stubs/pywin32/_win32typing.pyi +26 -11
  574. package/dist/typeshed-fallback/stubs/pywin32/pythoncom.pyi +2 -1
  575. package/dist/typeshed-fallback/stubs/pywin32/win32/lib/pywintypes.pyi +4 -3
  576. package/dist/typeshed-fallback/stubs/pywin32/win32/win32console.pyi +1 -1
  577. package/dist/typeshed-fallback/stubs/pywin32/win32comext/shell/shell.pyi +1 -1
  578. package/dist/typeshed-fallback/stubs/regex/METADATA.toml +1 -1
  579. package/dist/typeshed-fallback/stubs/reportlab/METADATA.toml +1 -1
  580. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/charts/textlabels.pyi +10 -4
  581. package/dist/typeshed-fallback/stubs/reportlab/reportlab/graphics/widgetbase.pyi +2 -3
  582. package/dist/typeshed-fallback/stubs/reportlab/reportlab/pdfbase/ttfonts.pyi +1 -1
  583. package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/doctemplate.pyi +3 -1
  584. package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/tables.pyi +9 -1
  585. package/dist/typeshed-fallback/stubs/requests/requests/sessions.pyi +1 -1
  586. package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/filelist.pyi +1 -1
  587. package/dist/typeshed-fallback/stubs/shapely/shapely/_geometry.pyi +8 -8
  588. package/dist/typeshed-fallback/stubs/shapely/shapely/_ragged_array.pyi +1 -1
  589. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/base.pyi +2 -0
  590. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/collection.pyi +1 -0
  591. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/linestring.pyi +1 -0
  592. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/multilinestring.pyi +1 -0
  593. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/multipoint.pyi +1 -0
  594. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/multipolygon.pyi +1 -0
  595. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/point.pyi +1 -0
  596. package/dist/typeshed-fallback/stubs/shapely/shapely/geometry/polygon.pyi +2 -0
  597. package/dist/typeshed-fallback/stubs/shapely/shapely/lib.pyi +3 -2
  598. package/dist/typeshed-fallback/stubs/simplejson/simplejson/__init__.pyi +108 -108
  599. package/dist/typeshed-fallback/stubs/simplejson/simplejson/decoder.pyi +10 -10
  600. package/dist/typeshed-fallback/stubs/simplejson/simplejson/encoder.pyi +19 -19
  601. package/dist/typeshed-fallback/stubs/translationstring/translationstring/__init__.pyi +1 -0
  602. package/dist/typeshed-fallback/stubs/ttkthemes/ttkthemes/themed_tk.pyi +22 -21
  603. package/dist/typeshed-fallback/stubs/ujson/METADATA.toml +1 -0
  604. package/dist/typeshed-fallback/stubs/watchpoints/watchpoints/watch.pyi +1 -1
  605. package/dist/typeshed-fallback/stubs/watchpoints/watchpoints/watch_print.pyi +2 -2
  606. package/dist/typeshed-fallback/stubs/workalendar/workalendar/africa/algeria.pyi +1 -11
  607. package/dist/typeshed-fallback/stubs/workalendar/workalendar/africa/angola.pyi +0 -9
  608. package/dist/typeshed-fallback/stubs/workalendar/workalendar/africa/benin.pyi +0 -12
  609. package/dist/typeshed-fallback/stubs/workalendar/workalendar/africa/ivory_coast.pyi +0 -12
  610. package/dist/typeshed-fallback/stubs/workalendar/workalendar/africa/kenya.pyi +3 -13
  611. package/dist/typeshed-fallback/stubs/workalendar/workalendar/africa/madagascar.pyi +1 -11
  612. package/dist/typeshed-fallback/stubs/workalendar/workalendar/africa/mozambique.pyi +1 -8
  613. package/dist/typeshed-fallback/stubs/workalendar/workalendar/africa/nigeria.pyi +0 -12
  614. package/dist/typeshed-fallback/stubs/workalendar/workalendar/africa/sao_tome.pyi +1 -7
  615. package/dist/typeshed-fallback/stubs/workalendar/workalendar/africa/south_africa.pyi +2 -8
  616. package/dist/typeshed-fallback/stubs/workalendar/workalendar/africa/tunisia.pyi +1 -14
  617. package/dist/typeshed-fallback/stubs/workalendar/workalendar/america/argentina.pyi +6 -17
  618. package/dist/typeshed-fallback/stubs/workalendar/workalendar/america/barbados.pyi +6 -14
  619. package/dist/typeshed-fallback/stubs/workalendar/workalendar/america/brazil.pyi +62 -237
  620. package/dist/typeshed-fallback/stubs/workalendar/workalendar/america/canada.pyi +22 -66
  621. package/dist/typeshed-fallback/stubs/workalendar/workalendar/america/chile.pyi +1 -12
  622. package/dist/typeshed-fallback/stubs/workalendar/workalendar/america/colombia.pyi +10 -21
  623. package/dist/typeshed-fallback/stubs/workalendar/workalendar/america/el_salvador.pyi +1 -9
  624. package/dist/typeshed-fallback/stubs/workalendar/workalendar/america/mexico.pyi +1 -8
  625. package/dist/typeshed-fallback/stubs/workalendar/workalendar/america/panama.pyi +1 -10
  626. package/dist/typeshed-fallback/stubs/workalendar/workalendar/america/paraguay.pyi +4 -13
  627. package/dist/typeshed-fallback/stubs/workalendar/workalendar/asia/china.pyi +5 -12
  628. package/dist/typeshed-fallback/stubs/workalendar/workalendar/asia/hong_kong.pyi +2 -22
  629. package/dist/typeshed-fallback/stubs/workalendar/workalendar/asia/israel.pyi +6 -6
  630. package/dist/typeshed-fallback/stubs/workalendar/workalendar/asia/japan.pyi +2 -10
  631. package/dist/typeshed-fallback/stubs/workalendar/workalendar/asia/kazakhstan.pyi +1 -28
  632. package/dist/typeshed-fallback/stubs/workalendar/workalendar/asia/malaysia.pyi +3 -20
  633. package/dist/typeshed-fallback/stubs/workalendar/workalendar/asia/philippines.pyi +1 -22
  634. package/dist/typeshed-fallback/stubs/workalendar/workalendar/asia/qatar.pyi +1 -11
  635. package/dist/typeshed-fallback/stubs/workalendar/workalendar/asia/singapore.pyi +2 -15
  636. package/dist/typeshed-fallback/stubs/workalendar/workalendar/asia/south_korea.pyi +1 -11
  637. package/dist/typeshed-fallback/stubs/workalendar/workalendar/asia/taiwan.pyi +8 -7
  638. package/dist/typeshed-fallback/stubs/workalendar/workalendar/core.pyi +119 -80
  639. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/austria.pyi +1 -18
  640. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/belarus.pyi +2 -9
  641. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/belgium.pyi +1 -11
  642. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/bulgaria.pyi +3 -21
  643. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/cayman_islands.pyi +8 -14
  644. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/croatia.pyi +1 -17
  645. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/cyprus.pyi +0 -14
  646. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/czech_republic.pyi +1 -9
  647. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/denmark.pyi +2 -15
  648. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/estonia.pyi +1 -13
  649. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/european_central_bank.pyi +1 -8
  650. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/finland.pyi +4 -18
  651. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/france.pyi +2 -15
  652. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/georgia.pyi +1 -14
  653. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/germany.pyi +21 -69
  654. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/greece.pyi +1 -19
  655. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/guernsey.pyi +5 -10
  656. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/hungary.pyi +1 -17
  657. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/iceland.pyi +3 -15
  658. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/ireland.pyi +3 -9
  659. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/italy.pyi +1 -14
  660. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/latvia.pyi +3 -13
  661. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/lithuania.pyi +3 -16
  662. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/luxembourg.pyi +1 -13
  663. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/malta.pyi +1 -11
  664. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/monaco.pyi +1 -13
  665. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/netherlands.pyi +24 -29
  666. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/norway.pyi +1 -15
  667. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/poland.pyi +1 -14
  668. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/portugal.pyi +1 -14
  669. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/romania.pyi +3 -17
  670. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/russia.pyi +3 -11
  671. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/scotland/__init__.pyi +30 -101
  672. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/scotland/mixins/__init__.pyi +5 -3
  673. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/scotland/mixins/autumn_holiday.pyi +5 -4
  674. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/scotland/mixins/fair_holiday.pyi +8 -7
  675. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/scotland/mixins/spring_holiday.pyi +6 -5
  676. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/scotland/mixins/victoria_day.pyi +4 -3
  677. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/serbia.pyi +1 -10
  678. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/slovakia.pyi +1 -13
  679. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/slovenia.pyi +1 -12
  680. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/spain.pyi +18 -84
  681. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/sweden.pyi +4 -18
  682. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/switzerland.pyi +30 -178
  683. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/turkey.pyi +2 -12
  684. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/ukraine.pyi +0 -11
  685. package/dist/typeshed-fallback/stubs/workalendar/workalendar/europe/united_kingdom.pyi +7 -15
  686. package/dist/typeshed-fallback/stubs/workalendar/workalendar/oceania/australia.pyi +22 -67
  687. package/dist/typeshed-fallback/stubs/workalendar/workalendar/oceania/marshall_islands.pyi +1 -7
  688. package/dist/typeshed-fallback/stubs/workalendar/workalendar/oceania/new_zealand.pyi +3 -9
  689. package/dist/typeshed-fallback/stubs/workalendar/workalendar/precomputed_astronomy.pyi +8 -7
  690. package/dist/typeshed-fallback/stubs/workalendar/workalendar/registry.pyi +12 -9
  691. package/dist/typeshed-fallback/stubs/workalendar/workalendar/registry_tools.pyi +6 -1
  692. package/dist/typeshed-fallback/stubs/workalendar/workalendar/skyfield_astronomy.pyi +9 -6
  693. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/alabama.pyi +5 -15
  694. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/alaska.pyi +1 -7
  695. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/american_samoa.pyi +2 -5
  696. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/arizona.pyi +1 -5
  697. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/arkansas.pyi +1 -6
  698. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/california.pyi +5 -24
  699. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/connecticut.pyi +1 -5
  700. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/core.pyi +21 -28
  701. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/delaware.pyi +1 -8
  702. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/district_columbia.pyi +1 -6
  703. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/florida.pyi +13 -32
  704. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/georgia.pyi +3 -7
  705. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/guam.pyi +1 -8
  706. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/hawaii.pyi +2 -8
  707. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/idaho.pyi +1 -4
  708. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/illinois.pyi +3 -8
  709. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/indiana.pyi +3 -9
  710. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/iowa.pyi +1 -6
  711. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/kansas.pyi +1 -5
  712. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/kentucky.pyi +1 -10
  713. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/louisiana.pyi +1 -7
  714. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/maine.pyi +1 -5
  715. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/maryland.pyi +1 -6
  716. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/massachusetts.pyi +2 -8
  717. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/michigan.pyi +1 -8
  718. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/minnesota.pyi +1 -5
  719. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/mississippi.pyi +1 -9
  720. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/missouri.pyi +1 -6
  721. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/montana.pyi +1 -5
  722. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/nebraska.pyi +1 -5
  723. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/nevada.pyi +1 -7
  724. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/new_hampshire.pyi +1 -5
  725. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/new_jersey.pyi +1 -5
  726. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/new_mexico.pyi +1 -6
  727. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/new_york.pyi +1 -5
  728. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/north_carolina.pyi +2 -9
  729. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/north_dakota.pyi +1 -5
  730. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/oklahoma.pyi +1 -6
  731. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/oregon.pyi +1 -4
  732. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/pennsylvania.pyi +1 -6
  733. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/rhode_island.pyi +1 -6
  734. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/south_carolina.pyi +1 -9
  735. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/south_dakota.pyi +1 -4
  736. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/tennessee.pyi +1 -6
  737. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/texas.pyi +1 -14
  738. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/utah.pyi +1 -4
  739. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/vermont.pyi +1 -7
  740. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/virginia.pyi +0 -5
  741. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/washington.pyi +1 -4
  742. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/west_virginia.pyi +0 -7
  743. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/wisconsin.pyi +1 -8
  744. package/dist/typeshed-fallback/stubs/workalendar/workalendar/usa/wyoming.pyi +1 -4
  745. package/dist/typeshed-fallback/stubs/xlrd/xlrd/formula.pyi +3 -3
  746. package/dist/typeshed-fallback/stubs/xlrd/xlrd/sheet.pyi +13 -0
  747. package/dist/typeshed-fallback/stubs/xmltodict/METADATA.toml +1 -1
  748. package/dist/typeshed-fallback/stubs/xmltodict/xmltodict.pyi +106 -22
  749. package/dist/typeshed-fallback/stubs/yt-dlp/METADATA.toml +1 -1
  750. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/YoutubeDL.pyi +1 -1
  751. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/__init__.pyi +3 -11
  752. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/compat/__init__.pyi +2 -0
  753. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/cookies.pyi +13 -13
  754. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/downloader/__init__.pyi +1 -1
  755. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/downloader/common.pyi +0 -1
  756. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/downloader/external.pyi +0 -2
  757. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/downloader/ism.pyi +16 -16
  758. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/extractor/common.pyi +114 -108
  759. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/minicurses.pyi +4 -4
  760. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/networking/common.pyi +2 -2
  761. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/networking/impersonate.pyi +1 -1
  762. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/plugins.pyi +3 -3
  763. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/socks.pyi +7 -7
  764. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/utils/__init__.pyi +7 -1
  765. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/utils/_deprecated.pyi +13 -0
  766. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/utils/_utils.pyi +33 -31
  767. package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/version.pyi +8 -6
  768. package/package.json +1 -1
  769. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/error_reporting.pyi +0 -41
  770. package/dist/typeshed-fallback/stubs/docutils/docutils/utils/roman.pyi +0 -23
  771. package/dist/typeshed-fallback/stubs/httplib2/httplib2/socks.pyi +0 -53
@@ -28,7 +28,8 @@ class FlushingBufferedWriter(io.BufferedWriter): ...
28
28
  class WriteallMixin:
29
29
  def writeall(self, b: ReadableBuffer, /) -> int: ...
30
30
 
31
- class FileIO(io.FileIO): ...
31
+ class FileIO(io.FileIO):
32
+ __slots__ = ()
32
33
 
33
34
  class WriteIsWriteallMixin(WriteallMixin):
34
35
  def write(self, b: ReadableBuffer, /) -> int: ...
@@ -1,11 +1,13 @@
1
1
  from abc import abstractmethod
2
2
  from typing import Any, NoReturn
3
+ from typing_extensions import disjoint_base
3
4
 
4
5
  from gevent._types import _Loop
5
6
  from greenlet import greenlet
6
7
 
7
8
  class TrackedRawGreenlet(greenlet): ...
8
9
 
10
+ @disjoint_base
9
11
  class SwitchOutGreenletWithLoop(TrackedRawGreenlet):
10
12
  @property
11
13
  @abstractmethod
@@ -2,7 +2,7 @@ from _typeshed import FileDescriptor
2
2
  from collections.abc import Callable, Collection, Iterable
3
3
  from types import TracebackType
4
4
  from typing import Any, Generic, Protocol, TypeVar, overload, type_check_only
5
- from typing_extensions import Self, TypeVarTuple, Unpack
5
+ from typing_extensions import Self, TypeVarTuple, Unpack, disjoint_base
6
6
 
7
7
  from gevent._greenlet_primitives import SwitchOutGreenletWithLoop
8
8
  from gevent._types import _Loop, _Watcher
@@ -32,6 +32,7 @@ class WaitOperationsGreenlet(SwitchOutGreenletWithLoop):
32
32
  ) -> None: ...
33
33
  def cancel_wait(self, watcher: _Watcher, error: type[BaseException] | BaseException, close_watcher: bool = False) -> None: ...
34
34
 
35
+ @disjoint_base
35
36
  class _WaitIterator(Generic[_T]):
36
37
  def __init__(self, objects: Collection[_T], hub: Hub, timeout: float, count: None | int) -> None: ...
37
38
  def __enter__(self) -> Self: ...
@@ -3,6 +3,7 @@ from weakref import ref
3
3
 
4
4
  @final
5
5
  class ValuedWeakRef(ref):
6
+ __slots__ = ("value",)
6
7
  value: Any
7
8
 
8
9
  @final
@@ -1,6 +1,6 @@
1
1
  from collections.abc import Callable, Iterable
2
2
  from typing import Any, TypeVar
3
- from typing_extensions import ParamSpec, Self
3
+ from typing_extensions import ParamSpec, Self, disjoint_base
4
4
 
5
5
  from gevent.greenlet import Greenlet
6
6
  from gevent.queue import UnboundQueue
@@ -12,6 +12,7 @@ _P = ParamSpec("_P")
12
12
  # returned by some public API functions, we don't bother adding a whole bunch of overloads to handle
13
13
  # the case of 1-n Iterables being passed in and just go for the fully unsafe signature
14
14
  # we do the crazy overloads instead in the functions that create these objects
15
+ @disjoint_base
15
16
  class IMapUnordered(Greenlet[_P, _T]):
16
17
  finished: bool
17
18
  # it may contain an undocumented Failure object
@@ -20,6 +21,7 @@ class IMapUnordered(Greenlet[_P, _T]):
20
21
  def __iter__(self) -> Self: ...
21
22
  def __next__(self) -> _T: ...
22
23
 
24
+ @disjoint_base
23
25
  class IMap(IMapUnordered[_P, _T]):
24
26
  index: int
25
27
 
@@ -19,6 +19,7 @@ def implementer(interface: Any, /) -> Callable[[_T], _T]: ...
19
19
  class MonitorWarning(RuntimeWarning): ...
20
20
 
21
21
  class _MonitorEntry:
22
+ __slots__ = ("function", "period", "last_run_time")
22
23
  function: Callable[[Hub], object]
23
24
  period: float
24
25
  last_run_time: float
@@ -9,6 +9,7 @@ _Cookie = NewType("_Cookie", LockType)
9
9
  class EmptyTimeout(Exception): ...
10
10
 
11
11
  class Queue(Generic[_T]):
12
+ __slots__ = ("_queue", "_mutex", "_not_empty", "unfinished_tasks")
12
13
  unfinished_tasks: int
13
14
  def __init__(self) -> None: ...
14
15
  def task_done(self) -> None: ...
@@ -8,14 +8,19 @@ _T = TypeVar("_T")
8
8
  WRAPPER_ASSIGNMENTS: tuple[str, ...]
9
9
  WRAPPER_UPDATES: tuple[str, ...]
10
10
 
11
- def update_wrapper(wrapper: _T, wrapped: object, assigned: Sequence[str] = ..., updated: Sequence[str] = ...) -> _T: ...
11
+ def update_wrapper(
12
+ wrapper: _T,
13
+ wrapped: object,
14
+ assigned: Sequence[str] = ("__module__", "__name__", "__qualname__", "__doc__", "__annotations__"),
15
+ updated: Sequence[str] = ("__dict__",),
16
+ ) -> _T: ...
12
17
  def copy_globals(
13
18
  source: ModuleType,
14
19
  globs: MutableMapping[str, Any],
15
20
  only_names: Iterable[str] | None = None,
16
21
  ignore_missing_names: bool = False,
17
- names_to_ignore: Sequence[str] = ...,
18
- dunder_names_to_keep: Sequence[str] = ...,
22
+ names_to_ignore: Sequence[str] = (),
23
+ dunder_names_to_keep: Sequence[str] = ("__implements__", "__all__", "__imports__"),
19
24
  cleanup_globs: bool = True,
20
25
  ) -> list[str]: ...
21
26
  def import_c_accel(globs: MutableMapping[str, Any], cname: str) -> None: ...
@@ -21,6 +21,7 @@ _ThrowArgs: TypeAlias = (
21
21
  )
22
22
 
23
23
  class Waiter(Generic[_T]):
24
+ __slots__ = ["hub", "greenlet", "value", "_exception"]
24
25
  @property
25
26
  def hub(self) -> Hub: ... # readonly in Cython
26
27
  @property
@@ -42,4 +43,5 @@ class Waiter(Generic[_T]):
42
43
  def __call__(self, source: _ValueSource[_T]) -> None: ...
43
44
 
44
45
  @final
45
- class MultipleWaiter(Waiter[_T]): ...
46
+ class MultipleWaiter(Waiter[_T]):
47
+ __slots__ = ["_values"]
@@ -20,6 +20,7 @@ class _ValueSource(Protocol[_T_co]):
20
20
  def exception(self) -> BaseException | None: ...
21
21
 
22
22
  class Event(AbstractLinkable):
23
+ __slots__ = ("_flag",)
23
24
  def __init__(self) -> None: ...
24
25
  def is_set(self) -> bool: ...
25
26
  def isSet(self) -> bool: ...
@@ -32,6 +33,7 @@ class Event(AbstractLinkable):
32
33
  def wait(self, timeout: float) -> bool: ...
33
34
 
34
35
  class AsyncResult(AbstractLinkable, Generic[_T]):
36
+ __slots__ = ("_value", "_exc_info", "_imap_task_index")
35
37
  def __init__(self) -> None: ...
36
38
  @property
37
39
  def value(self) -> _T | None: ...
@@ -2,7 +2,7 @@ import weakref
2
2
  from collections.abc import Callable, Iterable, Sequence
3
3
  from types import FrameType, TracebackType
4
4
  from typing import Any, ClassVar, Generic, TypeVar, overload
5
- from typing_extensions import ParamSpec, Self
5
+ from typing_extensions import ParamSpec, Self, disjoint_base
6
6
 
7
7
  import greenlet
8
8
  from gevent._types import _Loop
@@ -12,6 +12,7 @@ _T = TypeVar("_T")
12
12
  _G = TypeVar("_G", bound=greenlet.greenlet)
13
13
  _P = ParamSpec("_P")
14
14
 
15
+ @disjoint_base
15
16
  class Greenlet(greenlet.greenlet, Generic[_P, _T]):
16
17
  # we can't use _P.args/_P.kwargs here because pyright will complain
17
18
  # mypy doesn't seem to mind though
@@ -105,6 +105,7 @@ class Hub(WaitOperationsGreenlet):
105
105
  threadpool: _DefaultReturnProperty[ThreadPool]
106
106
 
107
107
  class linkproxy:
108
+ __slots__ = ["callback", "obj"]
108
109
  callback: Callable[[object], object]
109
110
  obj: object
110
111
  def __init__(self, callback: Callable[[_T], object], obj: _T) -> None: ...
@@ -3,7 +3,7 @@ from _typeshed import FileDescriptor
3
3
  from collections.abc import Callable, Sequence
4
4
  from types import TracebackType
5
5
  from typing import Any
6
- from typing_extensions import ParamSpec
6
+ from typing_extensions import ParamSpec, disjoint_base
7
7
 
8
8
  from gevent._ffi.loop import _ErrorHandler
9
9
  from gevent._types import _Callback
@@ -20,7 +20,7 @@ if sys.platform != "win32":
20
20
  def recommended_backends() -> list[str | int]: ...
21
21
  def supported_backends() -> list[str | int]: ...
22
22
  def time() -> float: ...
23
-
23
+ @disjoint_base
24
24
  class loop:
25
25
  starting_timer_may_update_loop_time: bool
26
26
  error_handler: _ErrorHandler
@@ -43,7 +43,7 @@ if sys.platform != "win32":
43
43
  def reinit(self) -> None: ...
44
44
  def ref(self) -> None: ...
45
45
  def unref(self) -> None: ...
46
- def break_(self, how: int = ...) -> None: ...
46
+ def break_(self, how: int = 1) -> None: ...
47
47
  def verify(self) -> None: ...
48
48
  def now(self) -> float: ...
49
49
  def update_now(self) -> None: ...
@@ -2,7 +2,16 @@ from typing import Any
2
2
  from typing_extensions import Self
3
3
 
4
4
  class local:
5
- def __init__(self, *args: object, **kwargs: object) -> None: ...
5
+ __slots__ = (
6
+ "_local__impl",
7
+ "_local_type_set_descriptors",
8
+ "_local_type_get_descriptors",
9
+ "_local_type_vars",
10
+ "_local_type_del_descriptors",
11
+ "_local_type",
12
+ "_local_type_set_or_del_descriptors",
13
+ )
14
+ def __new__(cls, *args: object, **kwargs: object) -> Self: ...
6
15
  def __copy__(self) -> Self: ...
7
16
  def __getattribute__(self, name: str, /) -> Any: ...
8
17
  def __delattr__(self, name: str, /) -> None: ...
@@ -8,6 +8,7 @@ from gevent.hub import Hub
8
8
  __all__ = ["Semaphore", "BoundedSemaphore", "DummySemaphore", "RLock"]
9
9
 
10
10
  class Semaphore(AbstractLinkable):
11
+ __slots__ = ("counter", "_multithreaded")
11
12
  counter: int
12
13
  def __init__(self, value: int = 1, hub: Hub | None = None) -> None: ...
13
14
  def acquire(self, blocking: bool = True, timeout: float | None = None) -> bool: ...
@@ -18,7 +19,8 @@ class Semaphore(AbstractLinkable):
18
19
  def __enter__(self) -> None: ...
19
20
  def __exit__(self, t: type[BaseException] | None, v: BaseException | None, tb: TracebackType | None) -> None: ...
20
21
 
21
- class BoundedSemaphore(Semaphore): ...
22
+ class BoundedSemaphore(Semaphore):
23
+ __slots__ = ("_initial_value",)
22
24
 
23
25
  class DummySemaphore:
24
26
  def __init__(self, value: int | None = None) -> None: ...
@@ -33,6 +35,7 @@ class DummySemaphore:
33
35
  def __exit__(self, typ: type[BaseException] | None, val: BaseException | None, tb: TracebackType | None) -> None: ...
34
36
 
35
37
  class RLock:
38
+ __slots__ = ("_block", "_owner", "_count", "__weakref__")
36
39
  def __init__(self, hub: Hub | None = None) -> None: ...
37
40
  def acquire(self, blocking: bool = True, timeout: float | None = None) -> bool: ...
38
41
  def __enter__(self) -> bool: ...
@@ -18,6 +18,7 @@ _S = TypeVar("_S")
18
18
  _P = ParamSpec("_P")
19
19
 
20
20
  class GroupMappingMixin:
21
+ __slots__ = ()
21
22
  def spawn(self, func: Callable[_P, _T], *args: _P.args, **kwargs: _P.kwargs) -> Greenlet[_P, _T]: ...
22
23
  # we would like to use ParamSpec for these, but since args and kwds are passed in as is
23
24
  # pyright will complain if we use _P.args/_P.kwargs, it appears to work on mypy though
@@ -23,6 +23,16 @@ class _LogOutputStream(SupportsWrite[str], Protocol):
23
23
  def flush(self) -> None: ...
24
24
 
25
25
  class Input:
26
+ __slots__ = (
27
+ "rfile",
28
+ "content_length",
29
+ "socket",
30
+ "position",
31
+ "chunked_input",
32
+ "chunk_length",
33
+ "_chunked_input_error",
34
+ "send_100_continue_enabled",
35
+ )
26
36
  rfile: BufferedReader
27
37
  content_length: int | None
28
38
  socket: _GeventSocket | None
@@ -103,6 +113,7 @@ class WSGIHandler:
103
113
  def get_environ(self) -> WSGIEnvironment: ...
104
114
 
105
115
  class LoggingLogAdapter:
116
+ __slots__ = ("_logger", "_level")
106
117
  def __init__(self, logger: Logger, level: int = 20) -> None: ...
107
118
  def write(self, msg: str) -> None: ...
108
119
  def flush(self) -> None: ...
@@ -111,9 +122,11 @@ class LoggingLogAdapter:
111
122
  def __setattr__(self, name: str, value: object) -> None: ...
112
123
  def __delattr__(self, name: str) -> None: ...
113
124
 
114
- class Environ(WSGIEnvironment): ...
125
+ class Environ(WSGIEnvironment):
126
+ __slots__ = ()
115
127
 
116
128
  class SecureEnviron(Environ):
129
+ __slots__ = ("secure_repr", "whitelist_keys", "print_masked_keys")
117
130
  default_secure_repr: ClassVar[bool]
118
131
  default_whitelist_keys: ClassVar[Container[str]]
119
132
  default_print_masked_keys: ClassVar[bool]
@@ -21,6 +21,7 @@ else:
21
21
  _T = TypeVar("_T")
22
22
 
23
23
  class SimpleQueue(Generic[_T]):
24
+ __slots__ = ("_maxsize", "getters", "putters", "hub", "_event_unlock", "queue", "__weakref__", "is_shutdown")
24
25
  @property
25
26
  def hub(self) -> Hub: ... # readonly in Cython
26
27
  @property
@@ -53,6 +54,7 @@ class SimpleQueue(Generic[_T]):
53
54
  next = __next__
54
55
 
55
56
  class Queue(SimpleQueue[_T]):
57
+ __slots__ = ("_cond", "unfinished_tasks")
56
58
  @property
57
59
  def unfinished_tasks(self) -> int: ... # readonly in Cython
58
60
  @overload
@@ -69,6 +71,7 @@ JoinableQueue = Queue
69
71
 
70
72
  @final
71
73
  class UnboundQueue(Queue[_T]):
74
+ __slots__ = ()
72
75
  @overload
73
76
  def __init__(self, maxsize: None = None) -> None: ...
74
77
  @overload
@@ -76,10 +79,14 @@ class UnboundQueue(Queue[_T]):
76
79
  @overload
77
80
  def __init__(self, maxsize: None = None, *, items: Iterable[_T]) -> None: ...
78
81
 
79
- class PriorityQueue(Queue[_T]): ...
80
- class LifoQueue(Queue[_T]): ...
82
+ class PriorityQueue(Queue[_T]):
83
+ __slots__ = ()
84
+
85
+ class LifoQueue(Queue[_T]):
86
+ __slots__ = ()
81
87
 
82
88
  class Channel(Generic[_T]):
89
+ __slots__ = ("getters", "putters", "hub", "_event_unlock", "__weakref__")
83
90
  @property
84
91
  def getters(self) -> deque[Waiter[Any]]: ... # readonly in Cython
85
92
  @property
@@ -1,6 +1,6 @@
1
1
  from collections.abc import Callable, Iterable, Sequence
2
2
  from typing import Any, Generic, TypeVar
3
- from typing_extensions import Self
3
+ from typing_extensions import Self, disjoint_base
4
4
 
5
5
  from gevent._types import _AddrinfoResult, _Loop, _NameinfoResult, _SockAddr
6
6
 
@@ -10,6 +10,7 @@ class ares_host_result(tuple[str, list[str], list[str]]):
10
10
  family: int
11
11
  def __new__(cls, family: int, iterable: Iterable[Any]) -> Self: ...
12
12
 
13
+ @disjoint_base
13
14
  class Result(Generic[_T]):
14
15
  exception: BaseException | None
15
16
  value: _T | None
@@ -17,6 +18,7 @@ class Result(Generic[_T]):
17
18
  def get(self) -> Any | None: ...
18
19
  def successful(self) -> bool: ...
19
20
 
21
+ @disjoint_base
20
22
  class channel:
21
23
  @property
22
24
  def loop(self) -> _Loop: ...
@@ -43,7 +45,7 @@ class channel:
43
45
  flags: int = 0,
44
46
  ) -> None: ...
45
47
  def gethostbyaddr(self, callback: Callable[[Result[ares_host_result]], object], addr: str) -> Any: ...
46
- def gethostbyname(self, callback: Callable[[Result[ares_host_result]], object], name: str, family: int = ...) -> None: ...
48
+ def gethostbyname(self, callback: Callable[[Result[ares_host_result]], object], name: str, family: int = 2) -> None: ...
47
49
  def getnameinfo(self, callback: Callable[[Result[_NameinfoResult]], object], sockaddr: _SockAddr, flags: int) -> None: ...
48
50
  def set_servers(self, servers: Sequence[str] | str | None = None) -> None: ...
49
51
 
@@ -16,6 +16,17 @@ _TaskItem: TypeAlias = tuple[Callable[..., Any], tuple[Any, ...], dict[str, Any]
16
16
  _Receiver: TypeAlias = Callable[[_ValueSource[_T]], object]
17
17
 
18
18
  class ThreadPool(GroupMappingMixin):
19
+ __slots__ = (
20
+ "hub",
21
+ "_maxsize",
22
+ "manager",
23
+ "pid",
24
+ "fork_watcher",
25
+ "_available_worker_threads_greenlet_sem",
26
+ "_worker_greenlets",
27
+ "task_queue",
28
+ "_idle_task_timeout",
29
+ )
19
30
  hub: Hub
20
31
  pid: int
21
32
  manager: Greenlet[..., Any] | None
@@ -37,6 +48,7 @@ class ThreadPool(GroupMappingMixin):
37
48
  def spawn(self, func: Callable[_P, _T], *args: _P.args, **kwargs: _P.kwargs) -> AsyncResult[_T]: ... # type: ignore[override]
38
49
 
39
50
  class ThreadResult(Generic[_T]):
51
+ __slots__ = ("exc_info", "async_watcher", "_call_when_ready", "value", "context", "hub", "receiver")
40
52
  receiver: _Receiver[_T]
41
53
  hub: Hub
42
54
  context: object | None
@@ -3,7 +3,7 @@ from collections.abc import Callable
3
3
  from contextvars import Context
4
4
  from types import FrameType, TracebackType
5
5
  from typing import Any, Literal, Protocol, overload, type_check_only
6
- from typing_extensions import TypeAlias
6
+ from typing_extensions import TypeAlias, disjoint_base
7
7
 
8
8
  _TraceEvent: TypeAlias = Literal["switch", "throw"]
9
9
  _TraceCallback: TypeAlias = Callable[[_TraceEvent, tuple[greenlet, greenlet]], object]
@@ -27,6 +27,7 @@ class _ParentDescriptor(Protocol):
27
27
  class GreenletExit(BaseException): ...
28
28
  class error(Exception): ...
29
29
 
30
+ @disjoint_base
30
31
  class greenlet:
31
32
  @property
32
33
  def dead(self) -> bool: ...
@@ -248,14 +248,14 @@ class ServicerContext(Generic[_TRequest, _TResponse], metaclass=abc.ABCMeta):
248
248
  # Client-Side Interceptor:
249
249
 
250
250
  class ClientCallDetails(abc.ABC):
251
- def __init__(
252
- self,
251
+ def __new__(
252
+ _cls,
253
253
  method: str,
254
254
  timeout: float | None,
255
255
  metadata: Metadata | None,
256
256
  credentials: CallCredentials | None,
257
257
  wait_for_ready: bool | None,
258
- ) -> None: ...
258
+ ) -> Self: ...
259
259
 
260
260
  method: str
261
261
  timeout: float | None
@@ -0,0 +1,8 @@
1
+ version = "23.0.*"
2
+ upstream_repository = "https://github.com/benoitc/gunicorn"
3
+ requires = ["types-gevent"]
4
+
5
+ [tool.stubtest]
6
+ supported_platforms = ["linux", "darwin"]
7
+ ci_platforms = ["linux", "darwin"]
8
+ stubtest_requirements = ["gevent>=1.4.0", "eventlet>=0.24.1,!=0.36.0", "tornado>=0.2", "setproctitle", "PasteDeploy", "inotify"]
@@ -0,0 +1,4 @@
1
+ version_info: tuple[int, int, int]
2
+ __version__: str
3
+ SERVER: str
4
+ SERVER_SOFTWARE: str
@@ -0,0 +1,23 @@
1
+ ### This .pyi file is a helper for centralized storage types that are reused across different runtime modules. ###
2
+ from _typeshed import FileDescriptor
3
+ from collections.abc import Awaitable, Callable, Iterable, MutableMapping
4
+ from typing import Any
5
+ from typing_extensions import LiteralString, TypeAlias
6
+
7
+ _StatusType: TypeAlias = str
8
+ _HeadersType: TypeAlias = Iterable[tuple[str, str]]
9
+
10
+ _EnvironType: TypeAlias = MutableMapping[str, Any] # See https://peps.python.org/pep-0333/
11
+ _StartResponseType: TypeAlias = Callable[[_StatusType, _HeadersType], None]
12
+ _ResponseBodyType: TypeAlias = Iterable[bytes]
13
+ _WSGIAppType: TypeAlias = Callable[[_EnvironType, _StartResponseType], _ResponseBodyType] # noqa: Y047
14
+
15
+ _ScopeType: TypeAlias = MutableMapping[str, Any]
16
+ _MessageType: TypeAlias = MutableMapping[str, Any]
17
+ _ReceiveType: TypeAlias = Callable[[], Awaitable[_MessageType]]
18
+ _SendType: TypeAlias = Callable[[_MessageType], Awaitable[None]]
19
+ _ASGIAppType: TypeAlias = Callable[[_ScopeType, _ReceiveType, _SendType], Awaitable[None]] # noqa: Y047
20
+
21
+ _UnixSocketPathType: TypeAlias = str
22
+ _TcpAddressType: TypeAlias = tuple[LiteralString, int] # noqa: Y047
23
+ _AddressType: TypeAlias = _UnixSocketPathType | FileDescriptor | _TcpAddressType # noqa: Y047
@@ -0,0 +1,36 @@
1
+ from argparse import ArgumentParser, Namespace
2
+ from typing import Any
3
+ from typing_extensions import override
4
+
5
+ from gunicorn.config import Config
6
+ from gunicorn.glogging import Logger as GLogger
7
+
8
+ from .._types import _ASGIAppType, _WSGIAppType
9
+
10
+ class BaseApplication:
11
+ usage: str | None
12
+ cfg: Config
13
+ callable: _WSGIAppType | _ASGIAppType | None
14
+ prog: str | None
15
+ logger: GLogger
16
+
17
+ def __init__(self, usage: str | None = None, prog: str | None = None) -> None: ...
18
+ def do_load_config(self) -> None: ...
19
+ def load_default_config(self) -> None: ...
20
+ def init(self, parser: ArgumentParser, opts: Namespace, args: list[str]) -> dict[str, Any] | None: ...
21
+ def load(self) -> _WSGIAppType | _ASGIAppType: ...
22
+ def load_config(self) -> None: ...
23
+ def reload(self) -> None: ...
24
+ def wsgi(self) -> _WSGIAppType | _ASGIAppType: ...
25
+ def run(self) -> None: ...
26
+
27
+ class Application(BaseApplication):
28
+ def chdir(self) -> None: ...
29
+ def get_config_from_filename(self, filename: str) -> dict[str, Any]: ...
30
+ def get_config_from_module_name(self, module_name: str) -> dict[str, Any]: ...
31
+ def load_config_from_module_name_or_filename(self, location: str) -> dict[str, Any]: ...
32
+ def load_config_from_file(self, filename: str) -> dict[str, Any]: ...
33
+ @override
34
+ def load_config(self) -> None: ...
35
+ @override
36
+ def run(self) -> None: ...
@@ -0,0 +1,7 @@
1
+ from typing import Any
2
+
3
+ from .._types import _WSGIAppType
4
+
5
+ def get_wsgi_app(config_uri: str, name: str | None = None, defaults: dict[str, Any] | None = None) -> _WSGIAppType: ...
6
+ def has_logging_config(config_file: str) -> bool: ...
7
+ def serve(app: _WSGIAppType, global_conf: dict[str, Any], **local_conf: Any) -> None: ...
@@ -0,0 +1,20 @@
1
+ from argparse import ArgumentParser, Namespace
2
+ from typing_extensions import override
3
+
4
+ from gunicorn.app.base import Application
5
+
6
+ from .._types import _WSGIAppType
7
+
8
+ class WSGIApplication(Application):
9
+ app_uri: str | None
10
+
11
+ @override
12
+ def init(self, parser: ArgumentParser, opts: Namespace, args: list[str]) -> None: ...
13
+ @override
14
+ def load_config(self) -> None: ...
15
+ def load_wsgiapp(self) -> _WSGIAppType: ...
16
+ def load_pasteapp(self) -> _WSGIAppType: ...
17
+ @override
18
+ def load(self) -> _WSGIAppType: ...
19
+
20
+ def run(prog: str | None = None) -> None: ...
@@ -0,0 +1,68 @@
1
+ import socket
2
+ from types import FrameType
3
+ from typing import ClassVar
4
+
5
+ from gunicorn.app.base import BaseApplication
6
+ from gunicorn.config import Config
7
+ from gunicorn.glogging import Logger as GLogger
8
+ from gunicorn.workers.base import Worker
9
+
10
+ from ._types import _AddressType
11
+ from .pidfile import Pidfile
12
+
13
+ class Arbiter:
14
+ WORKER_BOOT_ERROR: ClassVar[int]
15
+ APP_LOAD_ERROR: ClassVar[int]
16
+ START_CTX: ClassVar[dict[int | str, str | list[str]]]
17
+ LISTENERS: ClassVar[list[socket.socket]]
18
+ WORKERS: ClassVar[dict[int, Worker]]
19
+ PIPE: ClassVar[list[int]]
20
+ SIG_QUEUE: ClassVar[list[int]]
21
+ SIGNALS: ClassVar[list[int]]
22
+ SIG_NAMES: ClassVar[dict[int, str]]
23
+ log: GLogger | None
24
+ pidfile: Pidfile | None
25
+ systemd: bool
26
+ worker_age: int
27
+ reexec_pid: int
28
+ master_pid: int
29
+ master_name: str
30
+ pid: int
31
+ app: BaseApplication
32
+ cfg: Config
33
+ worker_class: type[Worker]
34
+ address: list[_AddressType]
35
+ timeout: int
36
+ proc_name: str
37
+ num_workers: int
38
+
39
+ def __init__(self, app: BaseApplication) -> None: ...
40
+ def setup(self, app: BaseApplication) -> None: ...
41
+ def start(self) -> None: ...
42
+ def init_signals(self) -> None: ...
43
+ def signal(self, sig: int, frame: FrameType | None) -> None: ...
44
+ def run(self) -> None: ...
45
+ def handle_chld(self, sig: int, frame: FrameType | None) -> None: ...
46
+ def handle_hup(self) -> None: ...
47
+ def handle_term(self) -> None: ...
48
+ def handle_int(self) -> None: ...
49
+ def handle_quit(self) -> None: ...
50
+ def handle_ttin(self) -> None: ...
51
+ def handle_ttou(self) -> None: ...
52
+ def handle_usr1(self) -> None: ...
53
+ def handle_usr2(self) -> None: ...
54
+ def handle_winch(self) -> None: ...
55
+ def maybe_promote_master(self) -> None: ...
56
+ def wakeup(self) -> None: ...
57
+ def halt(self, reason: str | None = None, exit_status: int = 0) -> None: ...
58
+ def sleep(self) -> None: ...
59
+ def stop(self, graceful: bool = True) -> None: ...
60
+ def reexec(self) -> None: ...
61
+ def reload(self) -> None: ...
62
+ def murder_workers(self) -> None: ...
63
+ def reap_workers(self) -> None: ...
64
+ def manage_workers(self) -> None: ...
65
+ def spawn_worker(self) -> int: ...
66
+ def spawn_workers(self) -> None: ...
67
+ def kill_workers(self, sig: int) -> None: ...
68
+ def kill_worker(self, pid: int, sig: int) -> None: ...