basedpyright 1.25.0 → 1.26.0

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 (445) 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/README.md +1 -1
  6. package/dist/typeshed-fallback/commit.txt +1 -1
  7. package/dist/typeshed-fallback/stdlib/VERSIONS +1 -0
  8. package/dist/typeshed-fallback/stdlib/_asyncio.pyi +3 -3
  9. package/dist/typeshed-fallback/stdlib/_blake2.pyi +12 -12
  10. package/dist/typeshed-fallback/stdlib/_bz2.pyi +7 -1
  11. package/dist/typeshed-fallback/stdlib/_collections_abc.pyi +3 -0
  12. package/dist/typeshed-fallback/stdlib/_contextvars.pyi +5 -3
  13. package/dist/typeshed-fallback/stdlib/_csv.pyi +4 -4
  14. package/dist/typeshed-fallback/stdlib/_ctypes.pyi +7 -7
  15. package/dist/typeshed-fallback/stdlib/_curses.pyi +3 -3
  16. package/dist/typeshed-fallback/stdlib/_dummy_threading.pyi +19 -127
  17. package/dist/typeshed-fallback/stdlib/_frozen_importlib.pyi +2 -1
  18. package/dist/typeshed-fallback/stdlib/_interpqueues.pyi +9 -6
  19. package/dist/typeshed-fallback/stdlib/_interpreters.pyi +3 -1
  20. package/dist/typeshed-fallback/stdlib/_io.pyi +1 -1
  21. package/dist/typeshed-fallback/stdlib/_json.pyi +5 -4
  22. package/dist/typeshed-fallback/stdlib/_lzma.pyi +16 -5
  23. package/dist/typeshed-fallback/stdlib/_pickle.pyi +286 -0
  24. package/dist/typeshed-fallback/stdlib/_sitebuiltins.pyi +3 -2
  25. package/dist/typeshed-fallback/stdlib/_socket.pyi +3 -1
  26. package/dist/typeshed-fallback/stdlib/_ssl.pyi +3 -4
  27. package/dist/typeshed-fallback/stdlib/_thread.pyi +87 -39
  28. package/dist/typeshed-fallback/stdlib/_tkinter.pyi +35 -20
  29. package/dist/typeshed-fallback/stdlib/_weakrefset.pyi +2 -1
  30. package/dist/typeshed-fallback/stdlib/argparse.pyi +27 -20
  31. package/dist/typeshed-fallback/stdlib/array.pyi +13 -10
  32. package/dist/typeshed-fallback/stdlib/ast.pyi +24 -7
  33. package/dist/typeshed-fallback/stdlib/asyncio/__init__.pyi +1300 -0
  34. package/dist/typeshed-fallback/stdlib/asyncio/base_events.pyi +2 -0
  35. package/dist/typeshed-fallback/stdlib/asyncio/coroutines.pyi +1 -0
  36. package/dist/typeshed-fallback/stdlib/asyncio/events.pyi +1 -0
  37. package/dist/typeshed-fallback/stdlib/asyncio/exceptions.pyi +1 -0
  38. package/dist/typeshed-fallback/stdlib/asyncio/futures.pyi +1 -0
  39. package/dist/typeshed-fallback/stdlib/asyncio/locks.pyi +1 -0
  40. package/dist/typeshed-fallback/stdlib/asyncio/proactor_events.pyi +1 -0
  41. package/dist/typeshed-fallback/stdlib/asyncio/protocols.pyi +1 -0
  42. package/dist/typeshed-fallback/stdlib/asyncio/queues.pyi +1 -0
  43. package/dist/typeshed-fallback/stdlib/asyncio/runners.pyi +1 -0
  44. package/dist/typeshed-fallback/stdlib/asyncio/selector_events.pyi +2 -0
  45. package/dist/typeshed-fallback/stdlib/asyncio/streams.pyi +1 -0
  46. package/dist/typeshed-fallback/stdlib/asyncio/subprocess.pyi +1 -0
  47. package/dist/typeshed-fallback/stdlib/asyncio/taskgroups.pyi +1 -0
  48. package/dist/typeshed-fallback/stdlib/asyncio/tasks.pyi +1 -0
  49. package/dist/typeshed-fallback/stdlib/asyncio/threads.pyi +1 -0
  50. package/dist/typeshed-fallback/stdlib/asyncio/timeouts.pyi +1 -0
  51. package/dist/typeshed-fallback/stdlib/asyncio/transports.pyi +1 -0
  52. package/dist/typeshed-fallback/stdlib/asyncio/unix_events.pyi +3 -0
  53. package/dist/typeshed-fallback/stdlib/asyncio/windows_events.pyi +1 -0
  54. package/dist/typeshed-fallback/stdlib/builtins.pyi +21 -15
  55. package/dist/typeshed-fallback/stdlib/codecs.pyi +2 -0
  56. package/dist/typeshed-fallback/stdlib/codeop.pyi +5 -1
  57. package/dist/typeshed-fallback/stdlib/collections/__init__.pyi +3 -1
  58. package/dist/typeshed-fallback/stdlib/concurrent/futures/process.pyi +12 -2
  59. package/dist/typeshed-fallback/stdlib/contextlib.pyi +21 -22
  60. package/dist/typeshed-fallback/stdlib/ctypes/__init__.pyi +69 -18
  61. package/dist/typeshed-fallback/stdlib/dataclasses.pyi +11 -3
  62. package/dist/typeshed-fallback/stdlib/datetime.pyi +1 -1
  63. package/dist/typeshed-fallback/stdlib/decimal.pyi +0 -1
  64. package/dist/typeshed-fallback/stdlib/email/charset.pyi +2 -1
  65. package/dist/typeshed-fallback/stdlib/email/header.pyi +2 -1
  66. package/dist/typeshed-fallback/stdlib/email/headerregistry.pyi +2 -0
  67. package/dist/typeshed-fallback/stdlib/fractions.pyi +3 -3
  68. package/dist/typeshed-fallback/stdlib/gzip.pyi +5 -5
  69. package/dist/typeshed-fallback/stdlib/http/__init__.pyi +15 -6
  70. package/dist/typeshed-fallback/stdlib/http/client.pyi +80 -58
  71. package/dist/typeshed-fallback/stdlib/inspect.pyi +5 -5
  72. package/dist/typeshed-fallback/stdlib/ipaddress.pyi +5 -3
  73. package/dist/typeshed-fallback/stdlib/itertools.pyi +12 -12
  74. package/dist/typeshed-fallback/stdlib/json/scanner.pyi +4 -0
  75. package/dist/typeshed-fallback/stdlib/lib2to3/pgen2/pgen.pyi +2 -1
  76. package/dist/typeshed-fallback/stdlib/lib2to3/pytree.pyi +2 -1
  77. package/dist/typeshed-fallback/stdlib/mmap.pyi +6 -6
  78. package/dist/typeshed-fallback/stdlib/multiprocessing/managers.pyi +63 -17
  79. package/dist/typeshed-fallback/stdlib/multiprocessing/pool.pyi +3 -0
  80. package/dist/typeshed-fallback/stdlib/multiprocessing/reduction.pyi +1 -1
  81. package/dist/typeshed-fallback/stdlib/multiprocessing/synchronize.pyi +1 -0
  82. package/dist/typeshed-fallback/stdlib/numbers.pyi +2 -1
  83. package/dist/typeshed-fallback/stdlib/operator.pyi +2 -2
  84. package/dist/typeshed-fallback/stdlib/optparse.pyi +89 -32
  85. package/dist/typeshed-fallback/stdlib/os/__init__.pyi +1 -0
  86. package/dist/typeshed-fallback/stdlib/parser.pyi +2 -1
  87. package/dist/typeshed-fallback/stdlib/pickle.pyi +51 -266
  88. package/dist/typeshed-fallback/stdlib/pickletools.pyi +8 -1
  89. package/dist/typeshed-fallback/stdlib/plistlib.pyi +2 -1
  90. package/dist/typeshed-fallback/stdlib/sched.pyi +3 -2
  91. package/dist/typeshed-fallback/stdlib/select.pyi +19 -13
  92. package/dist/typeshed-fallback/stdlib/selectors.pyi +5 -3
  93. package/dist/typeshed-fallback/stdlib/signal.pyi +47 -47
  94. package/dist/typeshed-fallback/stdlib/socket.pyi +8 -6
  95. package/dist/typeshed-fallback/stdlib/sqlite3/__init__.pyi +1 -1
  96. package/dist/typeshed-fallback/stdlib/ssl.pyi +4 -0
  97. package/dist/typeshed-fallback/stdlib/sys/__init__.pyi +9 -3
  98. package/dist/typeshed-fallback/stdlib/tarfile.pyi +24 -10
  99. package/dist/typeshed-fallback/stdlib/telnetlib.pyi +2 -2
  100. package/dist/typeshed-fallback/stdlib/threading.pyi +6 -53
  101. package/dist/typeshed-fallback/stdlib/tkinter/__init__.pyi +193 -3
  102. package/dist/typeshed-fallback/stdlib/tkinter/filedialog.pyi +9 -9
  103. package/dist/typeshed-fallback/stdlib/tkinter/font.pyi +5 -4
  104. package/dist/typeshed-fallback/stdlib/token.pyi +1 -1
  105. package/dist/typeshed-fallback/stdlib/tokenize.pyi +3 -4
  106. package/dist/typeshed-fallback/stdlib/traceback.pyi +17 -4
  107. package/dist/typeshed-fallback/stdlib/types.pyi +45 -10
  108. package/dist/typeshed-fallback/stdlib/typing.pyi +45 -47
  109. package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +53 -12
  110. package/dist/typeshed-fallback/stdlib/unittest/mock.pyi +3 -1
  111. package/dist/typeshed-fallback/stdlib/unittest/runner.pyi +11 -12
  112. package/dist/typeshed-fallback/stdlib/unittest/suite.pyi +2 -0
  113. package/dist/typeshed-fallback/stdlib/weakref.pyi +19 -5
  114. package/dist/typeshed-fallback/stdlib/xml/dom/minidom.pyi +5 -4
  115. package/dist/typeshed-fallback/stdlib/xml/sax/expatreader.pyi +53 -0
  116. package/dist/typeshed-fallback/stdlib/xmlrpc/client.pyi +4 -3
  117. package/dist/typeshed-fallback/stdlib/xxlimited.pyi +4 -2
  118. package/dist/typeshed-fallback/stdlib/zipfile/_path/glob.pyi +22 -0
  119. package/dist/typeshed-fallback/stdlib/zoneinfo/__init__.pyi +1 -1
  120. package/dist/typeshed-fallback/stubs/Authlib/METADATA.toml +7 -0
  121. package/dist/typeshed-fallback/stubs/Authlib/authlib/__init__.pyi +4 -0
  122. package/dist/typeshed-fallback/stubs/Authlib/authlib/common/encoding.pyi +10 -0
  123. package/dist/typeshed-fallback/stubs/Authlib/authlib/common/errors.pyi +26 -0
  124. package/dist/typeshed-fallback/stubs/Authlib/authlib/common/security.pyi +4 -0
  125. package/dist/typeshed-fallback/stubs/Authlib/authlib/common/urls.pyi +19 -0
  126. package/dist/typeshed-fallback/stubs/Authlib/authlib/consts.pyi +8 -0
  127. package/dist/typeshed-fallback/stubs/Authlib/authlib/deprecate.pyi +7 -0
  128. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/__init__.pyi +0 -0
  129. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/__init__.pyi +29 -0
  130. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/async_app.pyi +16 -0
  131. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/async_openid.pyi +8 -0
  132. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/errors.pyi +23 -0
  133. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/framework_integration.pyi +13 -0
  134. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/registry.pyi +21 -0
  135. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/sync_app.pyi +93 -0
  136. package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/sync_openid.pyi +7 -0
  137. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/__init__.pyi +44 -0
  138. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/drafts/__init__.pyi +3 -0
  139. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/drafts/_jwe_algorithms.pyi +27 -0
  140. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/drafts/_jwe_enc_cryptodome.pyi +13 -0
  141. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/drafts/_jwe_enc_cryptography.pyi +13 -0
  142. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/errors.pyi +72 -0
  143. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/jwk.pyi +4 -0
  144. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7515/__init__.pyi +4 -0
  145. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7515/jws.pyi +14 -0
  146. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7515/models.pyi +25 -0
  147. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7516/__init__.pyi +9 -0
  148. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7516/jwe.pyi +23 -0
  149. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7516/models.pyi +56 -0
  150. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/__init__.pyi +7 -0
  151. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/_cryptography_key.pyi +5 -0
  152. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/asymmetric_key.pyi +39 -0
  153. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/base_key.pyi +28 -0
  154. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/jwk.pyi +13 -0
  155. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/key_set.pyi +10 -0
  156. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/__init__.pyi +20 -0
  157. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/ec_key.pyi +24 -0
  158. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/jwe_algs.pyi +64 -0
  159. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/jwe_encs.pyi +27 -0
  160. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/jwe_zips.pyi +9 -0
  161. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/jws_algs.pyi +63 -0
  162. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/oct_key.pyi +23 -0
  163. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/rsa_key.pyi +23 -0
  164. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/util.pyi +2 -0
  165. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7519/__init__.pyi +4 -0
  166. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7519/claims.pyi +21 -0
  167. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7519/jwt.pyi +21 -0
  168. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc8037/__init__.pyi +4 -0
  169. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc8037/jws_eddsa.pyi +10 -0
  170. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc8037/okp_key.pyi +24 -0
  171. package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/util.pyi +3 -0
  172. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/__init__.pyi +33 -0
  173. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/client.pyi +39 -0
  174. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/errors.pyi +1 -0
  175. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/__init__.pyi +35 -0
  176. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/authorization_server.pyi +21 -0
  177. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/base_server.pyi +12 -0
  178. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/client_auth.pyi +41 -0
  179. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/errors.pyi +56 -0
  180. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/models.pyi +21 -0
  181. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/parameters.pyi +5 -0
  182. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/resource_protector.pyi +5 -0
  183. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/rsa.pyi +2 -0
  184. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/signature.pyi +22 -0
  185. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/util.pyi +2 -0
  186. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/wrapper.pyi +33 -0
  187. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/__init__.pyi +22 -0
  188. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/auth.pyi +24 -0
  189. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/base.pyi +20 -0
  190. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/client.pyi +96 -0
  191. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/__init__.pyi +76 -0
  192. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/authenticate_client.pyi +13 -0
  193. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/authorization_server.pyi +46 -0
  194. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/errors.pyi +92 -0
  195. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/__init__.pyi +21 -0
  196. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/authorization_code.pyi +24 -0
  197. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/base.pyi +55 -0
  198. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/client_credentials.pyi +6 -0
  199. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/implicit.pyi +12 -0
  200. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/refresh_token.pyi +15 -0
  201. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/resource_owner_password_credentials.pyi +7 -0
  202. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/models.pyi +22 -0
  203. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/parameters.pyi +14 -0
  204. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/requests.pyi +48 -0
  205. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/resource_protector.pyi +19 -0
  206. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/token_endpoint.pyi +13 -0
  207. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/util.pyi +5 -0
  208. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/wrappers.pyi +5 -0
  209. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6750/__init__.pyi +15 -0
  210. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6750/errors.pyi +27 -0
  211. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6750/parameters.pyi +6 -0
  212. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6750/token.pyi +41 -0
  213. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6750/validator.pyi +6 -0
  214. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7009/__init__.pyi +4 -0
  215. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7009/parameters.pyi +5 -0
  216. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7009/revocation.pyi +9 -0
  217. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7521/__init__.pyi +3 -0
  218. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7521/client.pyi +39 -0
  219. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/__init__.pyi +18 -0
  220. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/assertion.pyi +19 -0
  221. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/auth.pyi +22 -0
  222. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/client.pyi +16 -0
  223. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/jwt_bearer.pyi +28 -0
  224. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/token.pyi +30 -0
  225. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/validator.pyi +24 -0
  226. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7591/__init__.pyi +17 -0
  227. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7591/claims.pyi +22 -0
  228. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7591/endpoint.pyi +24 -0
  229. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7591/errors.pyi +13 -0
  230. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7592/__init__.pyi +3 -0
  231. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7592/endpoint.pyi +26 -0
  232. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7636/__init__.pyi +3 -0
  233. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7636/challenge.pyi +20 -0
  234. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7662/__init__.pyi +5 -0
  235. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7662/introspection.pyi +11 -0
  236. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7662/models.pyi +8 -0
  237. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7662/token_validator.pyi +7 -0
  238. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8414/__init__.pyi +4 -0
  239. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8414/models.pyi +40 -0
  240. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8414/well_known.pyi +1 -0
  241. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8628/__init__.pyi +19 -0
  242. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8628/device_code.pyi +15 -0
  243. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8628/endpoint.pyi +21 -0
  244. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8628/errors.pyi +10 -0
  245. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8628/models.pyi +13 -0
  246. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8693/__init__.pyi +0 -0
  247. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/__init__.pyi +6 -0
  248. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/claims.pyi +16 -0
  249. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/introspection.pyi +13 -0
  250. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/revocation.pyi +9 -0
  251. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/token.pyi +23 -0
  252. package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/token_validator.pyi +20 -0
  253. package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/__init__.pyi +0 -0
  254. package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/__init__.pyi +29 -0
  255. package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/claims.pyi +37 -0
  256. package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/errors.pyi +28 -0
  257. package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/grants/__init__.pyi +5 -0
  258. package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/grants/code.pyi +17 -0
  259. package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/grants/hybrid.pyi +13 -0
  260. package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/grants/implicit.pyi +16 -0
  261. package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/grants/util.pyi +18 -0
  262. package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/models.pyi +5 -0
  263. package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/util.pyi +1 -0
  264. package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/discovery/__init__.pyi +4 -0
  265. package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/discovery/models.pyi +36 -0
  266. package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/discovery/well_known.pyi +1 -0
  267. package/dist/typeshed-fallback/stubs/Flask-Migrate/METADATA.toml +1 -1
  268. package/dist/typeshed-fallback/stubs/Flask-Migrate/flask_migrate/__init__.pyi +2 -4
  269. package/dist/typeshed-fallback/stubs/Flask-SocketIO/METADATA.toml +1 -1
  270. package/dist/typeshed-fallback/stubs/Flask-SocketIO/flask_socketio/__init__.pyi +30 -4
  271. package/dist/typeshed-fallback/stubs/Markdown/markdown/core.pyi +2 -13
  272. package/dist/typeshed-fallback/stubs/PyAutoGUI/pyautogui/__init__.pyi +2 -2
  273. package/dist/typeshed-fallback/stubs/PyYAML/yaml/constructor.pyi +1 -1
  274. package/dist/typeshed-fallback/stubs/Pygments/METADATA.toml +1 -1
  275. package/dist/typeshed-fallback/stubs/WebOb/webob/exc.pyi +1 -1
  276. package/dist/typeshed-fallback/stubs/click-log/METADATA.toml +3 -0
  277. package/dist/typeshed-fallback/stubs/click-log/click_log/__init__.pyi +4 -0
  278. package/dist/typeshed-fallback/stubs/click-log/click_log/core.pyi +15 -0
  279. package/dist/typeshed-fallback/stubs/click-log/click_log/options.pyi +12 -0
  280. package/dist/typeshed-fallback/stubs/click-web/METADATA.toml +3 -0
  281. package/dist/typeshed-fallback/stubs/click-web/click_web/__init__.pyi +16 -0
  282. package/dist/typeshed-fallback/stubs/click-web/click_web/exceptions.pyi +2 -0
  283. package/dist/typeshed-fallback/stubs/click-web/click_web/resources/cmd_exec.pyi +79 -0
  284. package/dist/typeshed-fallback/stubs/click-web/click_web/resources/cmd_form.pyi +6 -0
  285. package/dist/typeshed-fallback/stubs/click-web/click_web/resources/index.pyi +6 -0
  286. package/dist/typeshed-fallback/stubs/click-web/click_web/resources/input_fields.pyi +49 -0
  287. package/dist/typeshed-fallback/stubs/click-web/click_web/web_click_types.pyi +18 -0
  288. package/dist/typeshed-fallback/stubs/croniter/METADATA.toml +1 -1
  289. package/dist/typeshed-fallback/stubs/croniter/croniter/croniter.pyi +7 -0
  290. package/dist/typeshed-fallback/stubs/django-import-export/METADATA.toml +6 -0
  291. package/dist/typeshed-fallback/stubs/django-import-export/import_export/__init__.pyi +1 -0
  292. package/dist/typeshed-fallback/stubs/django-import-export/import_export/admin.pyi +114 -0
  293. package/dist/typeshed-fallback/stubs/django-import-export/import_export/exceptions.pyi +2 -0
  294. package/dist/typeshed-fallback/stubs/django-import-export/import_export/fields.pyi +34 -0
  295. package/dist/typeshed-fallback/stubs/django-import-export/import_export/formats/__init__.pyi +0 -0
  296. package/dist/typeshed-fallback/stubs/django-import-export/import_export/formats/base_formats.pyi +57 -0
  297. package/dist/typeshed-fallback/stubs/django-import-export/import_export/forms.pyi +31 -0
  298. package/dist/typeshed-fallback/stubs/django-import-export/import_export/instance_loaders.pyi +23 -0
  299. package/dist/typeshed-fallback/stubs/django-import-export/import_export/mixins.pyi +66 -0
  300. package/dist/typeshed-fallback/stubs/django-import-export/import_export/resources.pyi +232 -0
  301. package/dist/typeshed-fallback/stubs/django-import-export/import_export/results.pyi +73 -0
  302. package/dist/typeshed-fallback/stubs/django-import-export/import_export/signals.pyi +4 -0
  303. package/dist/typeshed-fallback/stubs/django-import-export/import_export/templatetags/__init__.pyi +0 -0
  304. package/dist/typeshed-fallback/stubs/django-import-export/import_export/templatetags/import_export_tags.pyi +8 -0
  305. package/dist/typeshed-fallback/stubs/django-import-export/import_export/tmp_storages.pyi +34 -0
  306. package/dist/typeshed-fallback/stubs/django-import-export/import_export/utils.pyi +18 -0
  307. package/dist/typeshed-fallback/stubs/django-import-export/import_export/widgets.pyi +66 -0
  308. package/dist/typeshed-fallback/stubs/docker/docker/models/containers.pyi +2 -2
  309. package/dist/typeshed-fallback/stubs/flake8-bugbear/METADATA.toml +1 -1
  310. package/dist/typeshed-fallback/stubs/fpdf2/METADATA.toml +1 -1
  311. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/__init__.pyi +2 -0
  312. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/annotations.pyi +2 -2
  313. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/enums.pyi +50 -4
  314. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/fonts.pyi +3 -3
  315. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/fpdf.pyi +53 -18
  316. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/html.pyi +2 -0
  317. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/image_parsing.pyi +10 -2
  318. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/line_break.pyi +9 -3
  319. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/outline.pyi +21 -0
  320. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/output.pyi +19 -0
  321. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/prefs.pyi +38 -4
  322. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/table.pyi +13 -1
  323. package/dist/typeshed-fallback/stubs/fpdf2/fpdf/util.pyi +1 -0
  324. package/dist/typeshed-fallback/stubs/gdb/METADATA.toml +1 -1
  325. package/dist/typeshed-fallback/stubs/gdb/gdb/__init__.pyi +126 -9
  326. package/dist/typeshed-fallback/stubs/gdb/gdb/unwinder.pyi +2 -3
  327. package/dist/typeshed-fallback/stubs/gevent/gevent/select.pyi +7 -2
  328. package/dist/typeshed-fallback/stubs/hdbcli/METADATA.toml +1 -1
  329. package/dist/typeshed-fallback/stubs/ibm-db/METADATA.toml +1 -1
  330. package/dist/typeshed-fallback/stubs/ibm-db/ibm_db.pyi +11 -1
  331. package/dist/typeshed-fallback/stubs/icalendar/METADATA.toml +1 -5
  332. package/dist/typeshed-fallback/stubs/icalendar/icalendar/timezone/tzp.pyi +1 -1
  333. package/dist/typeshed-fallback/stubs/jsonschema/METADATA.toml +0 -2
  334. package/dist/typeshed-fallback/stubs/jwcrypto/jwcrypto/jwk.pyi +4 -4
  335. package/dist/typeshed-fallback/stubs/lupa/METADATA.toml +1 -1
  336. package/dist/typeshed-fallback/stubs/m3u8/m3u8/httpclient.pyi +1 -1
  337. package/dist/typeshed-fallback/stubs/nanoleafapi/METADATA.toml +2 -0
  338. package/dist/typeshed-fallback/stubs/nanoleafapi/nanoleafapi/__init__.pyi +16 -0
  339. package/dist/typeshed-fallback/stubs/nanoleafapi/nanoleafapi/digital_twin.pyi +12 -0
  340. package/dist/typeshed-fallback/stubs/nanoleafapi/nanoleafapi/discovery.pyi +1 -0
  341. package/dist/typeshed-fallback/stubs/nanoleafapi/nanoleafapi/nanoleaf.pyi +68 -0
  342. package/dist/typeshed-fallback/stubs/networkx/networkx/classes/multidigraph.pyi +1 -1
  343. package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/styles/cell_style.pyi +1 -1
  344. package/dist/typeshed-fallback/stubs/peewee/peewee.pyi +4 -4
  345. package/dist/typeshed-fallback/stubs/pexpect/pexpect/pty_spawn.pyi +1 -1
  346. package/dist/typeshed-fallback/stubs/pika/pika/credentials.pyi +10 -7
  347. package/dist/typeshed-fallback/stubs/polib/polib.pyi +3 -2
  348. package/dist/typeshed-fallback/stubs/protobuf/METADATA.toml +2 -2
  349. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/api_pb2.pyi +1 -1
  350. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/descriptor_pb2.pyi +4 -8
  351. package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/runtime_version.pyi +23 -0
  352. package/dist/typeshed-fallback/stubs/pycocotools/METADATA.toml +1 -0
  353. package/dist/typeshed-fallback/stubs/pycocotools/pycocotools/coco.pyi +6 -11
  354. package/dist/typeshed-fallback/stubs/pycocotools/pycocotools/cocoeval.pyi +16 -30
  355. package/dist/typeshed-fallback/stubs/pycocotools/pycocotools/mask.pyi +7 -9
  356. package/dist/typeshed-fallback/stubs/pycurl/METADATA.toml +1 -1
  357. package/dist/typeshed-fallback/stubs/pycurl/pycurl.pyi +33 -32
  358. package/dist/typeshed-fallback/stubs/pynput/pynput/keyboard/_base.pyi +65 -65
  359. package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/relativedelta.pyi +3 -11
  360. package/dist/typeshed-fallback/stubs/pywin32/_win32typing.pyi +3 -3
  361. package/dist/typeshed-fallback/stubs/qrbill/qrbill/bill.pyi +2 -2
  362. package/dist/typeshed-fallback/stubs/requests-oauthlib/requests_oauthlib/oauth1_auth.pyi +1 -1
  363. package/dist/typeshed-fallback/stubs/seaborn/METADATA.toml +1 -11
  364. package/dist/typeshed-fallback/stubs/seaborn/seaborn/algorithms.pyi +13 -13
  365. package/dist/typeshed-fallback/stubs/setuptools/METADATA.toml +1 -1
  366. package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/cmd.pyi +5 -0
  367. package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/bdist.pyi +1 -1
  368. package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/install_data.pyi +2 -1
  369. package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/dist.pyi +21 -21
  370. package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/extension.pyi +3 -4
  371. package/dist/typeshed-fallback/stubs/setuptools/setuptools/extension.pyi +2 -3
  372. package/dist/typeshed-fallback/stubs/shapely/shapely/_enum.pyi +1 -1
  373. package/dist/typeshed-fallback/stubs/six/METADATA.toml +1 -1
  374. package/dist/typeshed-fallback/stubs/tabulate/tabulate/__init__.pyi +2 -1
  375. package/dist/typeshed-fallback/stubs/tqdm/tqdm/asyncio.pyi +2 -2
  376. package/dist/typeshed-fallback/stubs/vobject/METADATA.toml +2 -2
  377. package/dist/typeshed-fallback/stubs/vobject/vobject/__init__.pyi +2 -4
  378. package/dist/typeshed-fallback/stubs/vobject/vobject/base.pyi +26 -24
  379. package/dist/typeshed-fallback/stubs/vobject/vobject/behavior.pyi +5 -4
  380. package/dist/typeshed-fallback/stubs/vobject/vobject/icalendar.pyi +28 -37
  381. package/dist/typeshed-fallback/stubs/vobject/vobject/vcard.pyi +20 -20
  382. package/dist/typeshed-fallback/stubs/vobject/vobject/win32tz.pyi +22 -22
  383. package/package.json +1 -1
  384. package/dist/typeshed-fallback/stubs/python-gflags/METADATA.toml +0 -2
  385. package/dist/typeshed-fallback/stubs/python-gflags/gflags.pyi +0 -309
  386. package/dist/typeshed-fallback/stubs/redis/METADATA.toml +0 -12
  387. package/dist/typeshed-fallback/stubs/redis/redis/__init__.pyi +0 -72
  388. package/dist/typeshed-fallback/stubs/redis/redis/asyncio/__init__.pyi +0 -64
  389. package/dist/typeshed-fallback/stubs/redis/redis/asyncio/client.pyi +0 -1091
  390. package/dist/typeshed-fallback/stubs/redis/redis/asyncio/cluster.pyi +0 -229
  391. package/dist/typeshed-fallback/stubs/redis/redis/asyncio/connection.pyi +0 -363
  392. package/dist/typeshed-fallback/stubs/redis/redis/asyncio/lock.pyi +0 -51
  393. package/dist/typeshed-fallback/stubs/redis/redis/asyncio/parser.pyi +0 -9
  394. package/dist/typeshed-fallback/stubs/redis/redis/asyncio/retry.pyi +0 -12
  395. package/dist/typeshed-fallback/stubs/redis/redis/asyncio/sentinel.pyi +0 -162
  396. package/dist/typeshed-fallback/stubs/redis/redis/asyncio/utils.pyi +0 -15
  397. package/dist/typeshed-fallback/stubs/redis/redis/backoff.pyi +0 -31
  398. package/dist/typeshed-fallback/stubs/redis/redis/client.pyi +0 -817
  399. package/dist/typeshed-fallback/stubs/redis/redis/cluster.pyi +0 -265
  400. package/dist/typeshed-fallback/stubs/redis/redis/commands/__init__.pyi +0 -17
  401. package/dist/typeshed-fallback/stubs/redis/redis/commands/bf/__init__.pyi +0 -58
  402. package/dist/typeshed-fallback/stubs/redis/redis/commands/bf/commands.pyi +0 -112
  403. package/dist/typeshed-fallback/stubs/redis/redis/commands/bf/info.pyi +0 -43
  404. package/dist/typeshed-fallback/stubs/redis/redis/commands/cluster.pyi +0 -60
  405. package/dist/typeshed-fallback/stubs/redis/redis/commands/core.pyi +0 -1743
  406. package/dist/typeshed-fallback/stubs/redis/redis/commands/graph/__init__.pyi +0 -26
  407. package/dist/typeshed-fallback/stubs/redis/redis/commands/graph/commands.pyi +0 -25
  408. package/dist/typeshed-fallback/stubs/redis/redis/commands/graph/edge.pyi +0 -14
  409. package/dist/typeshed-fallback/stubs/redis/redis/commands/graph/exceptions.pyi +0 -5
  410. package/dist/typeshed-fallback/stubs/redis/redis/commands/graph/node.pyi +0 -18
  411. package/dist/typeshed-fallback/stubs/redis/redis/commands/graph/path.pyi +0 -18
  412. package/dist/typeshed-fallback/stubs/redis/redis/commands/graph/query_result.pyi +0 -74
  413. package/dist/typeshed-fallback/stubs/redis/redis/commands/helpers.pyi +0 -10
  414. package/dist/typeshed-fallback/stubs/redis/redis/commands/json/__init__.pyi +0 -15
  415. package/dist/typeshed-fallback/stubs/redis/redis/commands/json/commands.pyi +0 -32
  416. package/dist/typeshed-fallback/stubs/redis/redis/commands/json/decoders.pyi +0 -4
  417. package/dist/typeshed-fallback/stubs/redis/redis/commands/json/path.pyi +0 -5
  418. package/dist/typeshed-fallback/stubs/redis/redis/commands/parser.pyi +0 -8
  419. package/dist/typeshed-fallback/stubs/redis/redis/commands/redismodules.pyi +0 -14
  420. package/dist/typeshed-fallback/stubs/redis/redis/commands/search/__init__.pyi +0 -22
  421. package/dist/typeshed-fallback/stubs/redis/redis/commands/search/aggregation.pyi +0 -53
  422. package/dist/typeshed-fallback/stubs/redis/redis/commands/search/commands.pyi +0 -111
  423. package/dist/typeshed-fallback/stubs/redis/redis/commands/search/query.pyi +0 -52
  424. package/dist/typeshed-fallback/stubs/redis/redis/commands/search/result.pyi +0 -7
  425. package/dist/typeshed-fallback/stubs/redis/redis/commands/sentinel.pyi +0 -17
  426. package/dist/typeshed-fallback/stubs/redis/redis/commands/timeseries/__init__.pyi +0 -14
  427. package/dist/typeshed-fallback/stubs/redis/redis/commands/timeseries/commands.pyi +0 -160
  428. package/dist/typeshed-fallback/stubs/redis/redis/commands/timeseries/info.pyi +0 -18
  429. package/dist/typeshed-fallback/stubs/redis/redis/commands/timeseries/utils.pyi +0 -5
  430. package/dist/typeshed-fallback/stubs/redis/redis/connection.pyi +0 -289
  431. package/dist/typeshed-fallback/stubs/redis/redis/crc.pyi +0 -5
  432. package/dist/typeshed-fallback/stubs/redis/redis/credentials.pyi +0 -11
  433. package/dist/typeshed-fallback/stubs/redis/redis/exceptions.pyi +0 -42
  434. package/dist/typeshed-fallback/stubs/redis/redis/lock.pyi +0 -56
  435. package/dist/typeshed-fallback/stubs/redis/redis/ocsp.pyi +0 -21
  436. package/dist/typeshed-fallback/stubs/redis/redis/retry.pyi +0 -11
  437. package/dist/typeshed-fallback/stubs/redis/redis/sentinel.pyi +0 -62
  438. package/dist/typeshed-fallback/stubs/redis/redis/typing.pyi +0 -34
  439. package/dist/typeshed-fallback/stubs/redis/redis/utils.pyi +0 -22
  440. package/dist/typeshed-fallback/stubs/setuptools/setuptools/compat/py310.pyi +0 -9
  441. package/dist/typeshed-fallback/stubs/setuptools/setuptools/compat/py311.pyi +0 -4
  442. package/dist/typeshed-fallback/stubs/setuptools/setuptools/compat/py312.pyi +0 -3
  443. package/dist/typeshed-fallback/stubs/setuptools/setuptools/compat/py39.pyi +0 -7
  444. /package/dist/typeshed-fallback/stdlib/zipfile/{_path.pyi → _path/__init__.pyi} +0 -0
  445. /package/dist/typeshed-fallback/stubs/{setuptools/setuptools/compat → Authlib/authlib/common}/__init__.pyi +0 -0
@@ -1,309 +0,0 @@
1
- from collections.abc import Callable, Iterable, Iterator, Sequence
2
- from types import ModuleType
3
- from typing import IO, Any
4
-
5
- class Error(Exception): ...
6
-
7
- FlagsError = Error
8
-
9
- class DuplicateFlag(FlagsError): ...
10
- class CantOpenFlagFileError(FlagsError): ...
11
- class DuplicateFlagCannotPropagateNoneToSwig(DuplicateFlag): ...
12
-
13
- class DuplicateFlagError(DuplicateFlag):
14
- def __init__(self, flagname: str, flag_values: FlagValues, other_flag_values: FlagValues = ...) -> None: ...
15
-
16
- class IllegalFlagValueError(FlagsError): ...
17
-
18
- IllegalFlagValue = IllegalFlagValueError
19
-
20
- class UnrecognizedFlag(FlagsError): ...
21
-
22
- class UnrecognizedFlagError(UnrecognizedFlag):
23
- def __init__(self, flagname: str, flagvalue: str = ...) -> None: ...
24
-
25
- def get_help_width() -> int: ...
26
-
27
- GetHelpWidth = get_help_width
28
-
29
- def text_wrap(text: str, length: int = ..., indent: str = ..., firstline_indent: str = ..., tabs: str = ...) -> str: ...
30
-
31
- TextWrap = text_wrap
32
-
33
- def doc_to_help(doc: str) -> str: ...
34
-
35
- DocToHelp = doc_to_help
36
-
37
- class FlagValues:
38
- def UseGnuGetOpt(self, use_gnu_getopt: bool = ...) -> None: ...
39
- def is_gnu_getopt(self) -> bool: ...
40
- IsGnuGetOpt = is_gnu_getopt
41
- # TODO dict type
42
- def FlagDict(self) -> dict[Any, Any]: ...
43
- def flags_by_module_dict(self) -> dict[str, list[Flag]]: ...
44
- FlagsByModuleDict = flags_by_module_dict
45
- def flags_by_module_id_dict(self) -> dict[int, list[Flag]]: ...
46
- FlagsByModuleIdDict = flags_by_module_id_dict
47
- def key_flags_by_module_dict(self) -> dict[str, list[Flag]]: ...
48
- KeyFlagsByModuleDict = key_flags_by_module_dict
49
- def find_module_defining_flag(self, flagname: str, default: str = ...) -> str: ...
50
- FindModuleDefiningFlag = find_module_defining_flag
51
- def find_module_id_defining_flag(self, flagname: str, default: int = ...) -> int: ...
52
- FindModuleIdDefiningFlag = find_module_id_defining_flag
53
- def append_flag_values(self, flag_values: FlagValues) -> None: ...
54
- AppendFlagValues = append_flag_values
55
- def remove_flag_values(self, flag_values: FlagValues) -> None: ...
56
- RemoveFlagValues = remove_flag_values
57
- def __setitem__(self, name: str, flag: Flag) -> None: ...
58
- def __getitem__(self, name: str) -> Flag: ...
59
- def __getattr__(self, name: str) -> Any: ...
60
- def __setattr__(self, name: str, value: Any) -> None: ...
61
- def __delattr__(self, flag_name: str) -> None: ...
62
- def set_default(self, name: str, value: Any) -> None: ...
63
- SetDefault = set_default
64
- def __contains__(self, name: str) -> bool: ...
65
- has_key = __contains__
66
- def __iter__(self) -> Iterator[str]: ...
67
- def __call__(self, argv: list[str], known_only: bool = ...) -> list[str]: ...
68
- def reset(self) -> None: ...
69
- Reset = reset
70
- def RegisteredFlags(self) -> list[str]: ...
71
- def flag_values_dict(self) -> dict[str, Any]: ...
72
- FlagValuesDict = flag_values_dict
73
- def GetHelp(self, prefix: str = ...) -> str: ...
74
- def module_help(self, module: ModuleType | str) -> str: ...
75
- ModuleHelp = module_help
76
- def main_module_help(self) -> str: ...
77
- MainModuleHelp = main_module_help
78
- def get(self, name: str, default: Any) -> Any: ...
79
- def ShortestUniquePrefixes(self, fl: dict[str, Flag]) -> dict[str, str]: ...
80
- def ExtractFilename(self, flagfile_str: str) -> str: ...
81
- def read_flags_from_files(self, argv: list[str], force_gnu: bool = ...) -> list[str]: ...
82
- ReadFlagsFromFiles = read_flags_from_files
83
- def flags_into_string(self) -> str: ...
84
- FlagsIntoString = flags_into_string
85
- def append_flags_into_file(self, filename: str) -> None: ...
86
- AppendFlagsIntoFile = append_flags_into_file
87
- def write_help_in_xml_format(self, outfile: IO[str] = ...) -> None: ...
88
- WriteHelpInXMLFormat = write_help_in_xml_format
89
- # TODO validator: gflags_validators.Validator
90
- def AddValidator(self, validator: Any) -> None: ...
91
- def is_parsed(self) -> bool: ...
92
- IsParsed = is_parsed
93
-
94
- FLAGS: FlagValues
95
-
96
- class Flag:
97
- name: str
98
- default: Any
99
- default_as_str: str
100
- value: Any
101
- help: str
102
- short_name: str
103
- boolean: bool
104
- present: bool
105
- parser: ArgumentParser
106
- serializer: ArgumentSerializer
107
- allow_override: bool
108
- def __init__(
109
- self,
110
- parser: ArgumentParser,
111
- serializer: ArgumentSerializer,
112
- name: str,
113
- default: str | None,
114
- help_string: str,
115
- short_name: str = ...,
116
- boolean: bool = ...,
117
- allow_override: bool = ...,
118
- ) -> None: ...
119
- def Parse(self, argument: Any) -> Any: ...
120
- def Unparse(self) -> None: ...
121
- def Serialize(self) -> str: ...
122
- def SetDefault(self, value: Any) -> None: ...
123
- def Type(self) -> str: ...
124
- def WriteInfoInXMLFormat(self, outfile: IO[str], module_name: str, is_key: bool = ..., indent: str = ...) -> None: ...
125
-
126
- class ArgumentParser:
127
- syntactic_help: str
128
- # TODO what is this
129
- def parse(self, argument: Any) -> Any: ...
130
- Parser = parse
131
- def flag_type(self) -> str: ...
132
- Type = flag_type
133
- def WriteCustomInfoInXMLFormat(self, outfile: IO[str], indent: str) -> None: ...
134
-
135
- class ArgumentSerializer:
136
- def Serialize(self, value: Any) -> str: ...
137
-
138
- class ListSerializer(ArgumentSerializer):
139
- def __init__(self, list_sep: str) -> None: ...
140
- def Serialize(self, value: list[Any]) -> str: ...
141
-
142
- def register_validator(
143
- flag_name: str, checker: Callable[[Any], bool], message: str = ..., flag_values: FlagValues = ...
144
- ) -> None: ...
145
-
146
- RegisterValidator = register_validator
147
-
148
- def mark_flag_as_required(flag_name: str, flag_values: FlagValues = ...) -> None: ...
149
-
150
- MarkFlagAsRequired = mark_flag_as_required
151
-
152
- def mark_flags_as_required(flag_names: Iterable[str], flag_values: FlagValues = ...) -> None: ...
153
-
154
- MarkFlagsAsRequired = mark_flags_as_required
155
-
156
- def mark_flags_as_mutual_exclusive(flag_names: Iterable[str], required: bool = ..., flag_values: FlagValues = ...) -> None: ...
157
-
158
- MarkFlagsAsMutualExclusive = mark_flags_as_mutual_exclusive
159
-
160
- def DEFINE(
161
- parser: ArgumentParser,
162
- name: str,
163
- default: Any,
164
- help: str,
165
- flag_values: FlagValues = ...,
166
- serializer: ArgumentSerializer = ...,
167
- **args: Any,
168
- ) -> None: ...
169
- def DEFINE_flag(flag: Flag, flag_values: FlagValues = ...) -> None: ...
170
- def declare_key_flag(flag_name: str, flag_values: FlagValues = ...) -> None: ...
171
-
172
- DECLARE_key_flag = declare_key_flag
173
-
174
- def adopt_module_key_flags(module: ModuleType, flag_values: FlagValues = ...) -> None: ...
175
-
176
- ADOPT_module_key_flags = adopt_module_key_flags
177
-
178
- def DEFINE_string(name: str, default: str | None, help: str, flag_values: FlagValues = ..., **args: Any) -> None: ...
179
-
180
- class BooleanParser(ArgumentParser):
181
- def Convert(self, argument: Any) -> bool: ...
182
- def Parse(self, argument: Any) -> bool: ...
183
-
184
- class BooleanFlag(Flag):
185
- def __init__(self, name: str, default: bool | None, help: str, short_name: str = ..., **args: Any) -> None: ...
186
-
187
- def DEFINE_boolean(name: str, default: bool | None, help: str, flag_values: FlagValues = ..., **args: Any) -> None: ...
188
-
189
- DEFINE_bool = DEFINE_boolean
190
-
191
- class HelpFlag(BooleanFlag):
192
- def __init__(self) -> None: ...
193
- def Parse(self, arg: Any) -> None: ...
194
-
195
- class HelpXMLFlag(BooleanFlag):
196
- def __init__(self) -> None: ...
197
- def Parse(self, arg: Any) -> None: ...
198
-
199
- class HelpshortFlag(BooleanFlag):
200
- def __init__(self) -> None: ...
201
- def Parse(self, arg: Any) -> None: ...
202
-
203
- class NumericParser(ArgumentParser):
204
- def IsOutsideBounds(self, val: float) -> bool: ...
205
- def Parse(self, argument: Any) -> float: ...
206
- def WriteCustomInfoInXMLFormat(self, outfile: IO[str], indent: str) -> None: ...
207
- def Convert(self, argument: Any) -> Any: ...
208
-
209
- class FloatParser(NumericParser):
210
- number_article: str
211
- number_name: str
212
- syntactic_help: str
213
- def __init__(self, lower_bound: float = ..., upper_bound: float = ...) -> None: ...
214
- def Convert(self, argument: Any) -> float: ...
215
-
216
- def DEFINE_float(
217
- name: str,
218
- default: float | None,
219
- help: str,
220
- lower_bound: float = ...,
221
- upper_bound: float = ...,
222
- flag_values: FlagValues = ...,
223
- **args: Any,
224
- ) -> None: ...
225
-
226
- class IntegerParser(NumericParser):
227
- number_article: str
228
- number_name: str
229
- syntactic_help: str
230
- def __init__(self, lower_bound: int = ..., upper_bound: int = ...) -> None: ...
231
- def Convert(self, argument: Any) -> int: ...
232
-
233
- def DEFINE_integer(
234
- name: str,
235
- default: int | None,
236
- help: str,
237
- lower_bound: int = ...,
238
- upper_bound: int = ...,
239
- flag_values: FlagValues = ...,
240
- **args: Any,
241
- ) -> None: ...
242
-
243
- class EnumParser(ArgumentParser):
244
- def __init__(self, enum_values: list[str]) -> None: ...
245
- def Parse(self, argument: Any) -> Any: ...
246
-
247
- class EnumFlag(Flag):
248
- def __init__(
249
- self, name: str, default: str | None, help: str, enum_values: list[str], short_name: str, **args: Any
250
- ) -> None: ...
251
-
252
- def DEFINE_enum(
253
- name: str, default: str | None, enum_values: Iterable[str], help: str, flag_values: FlagValues = ..., **args: Any
254
- ) -> None: ...
255
-
256
- class BaseListParser(ArgumentParser):
257
- def __init__(self, token: str = ..., name: str = ...) -> None: ...
258
- def Parse(self, argument: Any) -> list[Any]: ...
259
-
260
- class ListParser(BaseListParser):
261
- def __init__(self) -> None: ...
262
-
263
- class WhitespaceSeparatedListParser(BaseListParser):
264
- def __init__(self) -> None: ...
265
-
266
- def DEFINE_list(name: str, default: list[str] | None, help: str, flag_values: FlagValues = ..., **args: Any) -> None: ...
267
- def DEFINE_spaceseplist(name: str, default: list[str] | None, help: str, flag_values: FlagValues = ..., **args: Any) -> None: ...
268
-
269
- class MultiFlag(Flag):
270
- def __init__(self, *args: Any, **kwargs: Any) -> None: ...
271
- def Parse(self, arguments: Any) -> None: ...
272
- def Serialize(self) -> str: ...
273
-
274
- def DEFINE_multi_string(
275
- name: str, default: str | list[str] | None, help: str, flag_values: FlagValues = ..., **args: Any
276
- ) -> None: ...
277
-
278
- DEFINE_multistring = DEFINE_multi_string
279
-
280
- def DEFINE_multi_integer(
281
- name: str,
282
- default: int | list[int] | None,
283
- help: str,
284
- lower_bound: int = ...,
285
- upper_bound: int = ...,
286
- flag_values: FlagValues = ...,
287
- **args: Any,
288
- ) -> None: ...
289
-
290
- DEFINE_multi_int = DEFINE_multi_integer
291
-
292
- def DEFINE_multi_float(
293
- name: str,
294
- default: float | list[float] | None,
295
- help: str,
296
- lower_bound: float = ...,
297
- upper_bound: float = ...,
298
- flag_values: FlagValues = ...,
299
- **args: Any,
300
- ) -> None: ...
301
- def DEFINE_multi_enum(
302
- name: str,
303
- default: Sequence[str] | str | None,
304
- enum_values: Sequence[str],
305
- help: str,
306
- flag_values: FlagValues = ...,
307
- case_sensitive: bool = ...,
308
- **args: Any,
309
- ) -> None: ...
@@ -1,12 +0,0 @@
1
- version = "4.6.0"
2
- upstream_repository = "https://github.com/redis/redis-py"
3
- # Requires a version of cryptography with a `py.typed` file
4
- requires = ["cryptography>=35.0.0", "types-pyOpenSSL"]
5
- partial_stub = true
6
- obsolete_since = "5.0.0" # Released on 2023-08-15, marked obsolete 2024-07-25
7
-
8
- [tool.stubtest]
9
- ignore_missing_stub = true
10
- # The runtime has an undeclared dependency on setuptools
11
- stubtest_requirements = ["setuptools"]
12
- extras = ["ocsp"]
@@ -1,72 +0,0 @@
1
- from . import backoff, client, connection, credentials, exceptions, sentinel, utils
2
- from .cluster import RedisCluster as RedisCluster
3
-
4
- __all__ = [
5
- "AuthenticationError",
6
- "AuthenticationWrongNumberOfArgsError",
7
- "BlockingConnectionPool",
8
- "BusyLoadingError",
9
- "ChildDeadlockedError",
10
- "Connection",
11
- "ConnectionError",
12
- "ConnectionPool",
13
- "CredentialProvider",
14
- "DataError",
15
- "from_url",
16
- "default_backoff",
17
- "InvalidResponse",
18
- "PubSubError",
19
- "ReadOnlyError",
20
- "Redis",
21
- "RedisCluster",
22
- "RedisError",
23
- "ResponseError",
24
- "Sentinel",
25
- "SentinelConnectionPool",
26
- "SentinelManagedConnection",
27
- "SentinelManagedSSLConnection",
28
- "SSLConnection",
29
- "UsernamePasswordCredentialProvider",
30
- "StrictRedis",
31
- "TimeoutError",
32
- "UnixDomainSocketConnection",
33
- "WatchError",
34
- ]
35
-
36
- default_backoff = backoff.default_backoff
37
-
38
- Redis = client.Redis
39
-
40
- BlockingConnectionPool = connection.BlockingConnectionPool
41
- Connection = connection.Connection
42
- ConnectionPool = connection.ConnectionPool
43
- SSLConnection = connection.SSLConnection
44
- StrictRedis = client.StrictRedis
45
- UnixDomainSocketConnection = connection.UnixDomainSocketConnection
46
-
47
- from_url = utils.from_url
48
-
49
- Sentinel = sentinel.Sentinel
50
- SentinelConnectionPool = sentinel.SentinelConnectionPool
51
- SentinelManagedConnection = sentinel.SentinelManagedConnection
52
- SentinelManagedSSLConnection = sentinel.SentinelManagedSSLConnection
53
-
54
- AuthenticationError = exceptions.AuthenticationError
55
- AuthenticationWrongNumberOfArgsError = exceptions.AuthenticationWrongNumberOfArgsError
56
- BusyLoadingError = exceptions.BusyLoadingError
57
- ChildDeadlockedError = exceptions.ChildDeadlockedError
58
- ConnectionError = exceptions.ConnectionError
59
- DataError = exceptions.DataError
60
- InvalidResponse = exceptions.InvalidResponse
61
- PubSubError = exceptions.PubSubError
62
- ReadOnlyError = exceptions.ReadOnlyError
63
- RedisError = exceptions.RedisError
64
- ResponseError = exceptions.ResponseError
65
- TimeoutError = exceptions.TimeoutError
66
- WatchError = exceptions.WatchError
67
-
68
- CredentialProvider = credentials.CredentialProvider
69
- UsernamePasswordCredentialProvider = credentials.UsernamePasswordCredentialProvider
70
-
71
- __version__: str
72
- VERSION: tuple[int | str, ...]
@@ -1,64 +0,0 @@
1
- from redis.asyncio.client import Redis as Redis, StrictRedis as StrictRedis
2
- from redis.asyncio.cluster import RedisCluster as RedisCluster
3
- from redis.asyncio.connection import (
4
- BlockingConnectionPool as BlockingConnectionPool,
5
- Connection as Connection,
6
- ConnectionPool as ConnectionPool,
7
- SSLConnection as SSLConnection,
8
- UnixDomainSocketConnection as UnixDomainSocketConnection,
9
- )
10
- from redis.asyncio.parser import CommandsParser as CommandsParser
11
- from redis.asyncio.sentinel import (
12
- Sentinel as Sentinel,
13
- SentinelConnectionPool as SentinelConnectionPool,
14
- SentinelManagedConnection as SentinelManagedConnection,
15
- SentinelManagedSSLConnection as SentinelManagedSSLConnection,
16
- )
17
- from redis.asyncio.utils import from_url as from_url
18
- from redis.backoff import default_backoff as default_backoff
19
- from redis.exceptions import (
20
- AuthenticationError as AuthenticationError,
21
- AuthenticationWrongNumberOfArgsError as AuthenticationWrongNumberOfArgsError,
22
- BusyLoadingError as BusyLoadingError,
23
- ChildDeadlockedError as ChildDeadlockedError,
24
- ConnectionError as ConnectionError,
25
- DataError as DataError,
26
- InvalidResponse as InvalidResponse,
27
- PubSubError as PubSubError,
28
- ReadOnlyError as ReadOnlyError,
29
- RedisError as RedisError,
30
- ResponseError as ResponseError,
31
- TimeoutError as TimeoutError,
32
- WatchError as WatchError,
33
- )
34
-
35
- __all__ = [
36
- "AuthenticationError",
37
- "AuthenticationWrongNumberOfArgsError",
38
- "BlockingConnectionPool",
39
- "BusyLoadingError",
40
- "ChildDeadlockedError",
41
- "CommandsParser",
42
- "Connection",
43
- "ConnectionError",
44
- "ConnectionPool",
45
- "DataError",
46
- "from_url",
47
- "default_backoff",
48
- "InvalidResponse",
49
- "PubSubError",
50
- "ReadOnlyError",
51
- "Redis",
52
- "RedisCluster",
53
- "RedisError",
54
- "ResponseError",
55
- "Sentinel",
56
- "SentinelConnectionPool",
57
- "SentinelManagedConnection",
58
- "SentinelManagedSSLConnection",
59
- "SSLConnection",
60
- "StrictRedis",
61
- "TimeoutError",
62
- "UnixDomainSocketConnection",
63
- "WatchError",
64
- ]