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,1091 +0,0 @@
1
- from _typeshed import Incomplete, Unused
2
- from collections.abc import AsyncIterator, Awaitable, Callable, Generator, Iterable, Mapping, MutableMapping, Sequence
3
- from datetime import datetime, timedelta
4
- from types import TracebackType
5
- from typing import Any, ClassVar, Literal, NoReturn, Protocol, TypedDict, overload
6
- from typing_extensions import Self, TypeAlias
7
-
8
- from redis import RedisError
9
- from redis.asyncio.connection import ConnectCallbackT, Connection, ConnectionPool
10
- from redis.asyncio.lock import Lock
11
- from redis.asyncio.retry import Retry
12
- from redis.client import AbstractRedis, _CommandOptions, _Key, _StrType, _Value
13
- from redis.commands import AsyncCoreCommands, AsyncSentinelCommands, RedisModuleCommands
14
- from redis.credentials import CredentialProvider
15
- from redis.typing import ChannelT, EncodableT, KeyT, PatternT, StreamIdT
16
-
17
- PubSubHandler: TypeAlias = Callable[[dict[str, str]], Awaitable[None]]
18
-
19
- class ResponseCallbackProtocol(Protocol):
20
- def __call__(self, response: Any, **kwargs): ...
21
-
22
- class AsyncResponseCallbackProtocol(Protocol):
23
- async def __call__(self, response: Any, **kwargs): ...
24
-
25
- ResponseCallbackT: TypeAlias = ResponseCallbackProtocol | AsyncResponseCallbackProtocol
26
-
27
- class Redis(AbstractRedis, RedisModuleCommands, AsyncCoreCommands[_StrType], AsyncSentinelCommands):
28
- response_callbacks: MutableMapping[str | bytes, ResponseCallbackT]
29
- auto_close_connection_pool: bool
30
- connection_pool: Any
31
- single_connection_client: Any
32
- connection: Any
33
- @overload
34
- @classmethod
35
- def from_url(
36
- cls,
37
- url: str,
38
- *,
39
- host: str = "localhost",
40
- port: int = 6379,
41
- db: str | int = 0,
42
- password: str | None = None,
43
- socket_timeout: float | None = None,
44
- socket_connect_timeout: float | None = None,
45
- socket_keepalive: bool | None = None,
46
- socket_keepalive_options: Mapping[int, int | bytes] | None = None,
47
- connection_pool: ConnectionPool[Any] | None = None,
48
- unix_socket_path: str | None = None,
49
- encoding: str = "utf-8",
50
- encoding_errors: str = "strict",
51
- decode_responses: Literal[True],
52
- retry_on_timeout: bool = False,
53
- retry_on_error: list[type[RedisError]] | None = None,
54
- ssl: bool = False,
55
- ssl_keyfile: str | None = None,
56
- ssl_certfile: str | None = None,
57
- ssl_cert_reqs: str = "required",
58
- ssl_ca_certs: str | None = None,
59
- ssl_ca_data: str | None = None,
60
- ssl_check_hostname: bool = False,
61
- max_connections: int | None = None,
62
- single_connection_client: bool = False,
63
- health_check_interval: int = 0,
64
- client_name: str | None = None,
65
- username: str | None = None,
66
- retry: Retry | None = None,
67
- auto_close_connection_pool: bool = True,
68
- redis_connect_func: ConnectCallbackT | None = None,
69
- credential_provider: CredentialProvider | None = None,
70
- ) -> Redis[str]: ...
71
- @overload
72
- @classmethod
73
- def from_url(
74
- cls,
75
- url: str,
76
- *,
77
- host: str = "localhost",
78
- port: int = 6379,
79
- db: str | int = 0,
80
- password: str | None = None,
81
- socket_timeout: float | None = None,
82
- socket_connect_timeout: float | None = None,
83
- socket_keepalive: bool | None = None,
84
- socket_keepalive_options: Mapping[int, int | bytes] | None = None,
85
- connection_pool: ConnectionPool[Any] | None = None,
86
- unix_socket_path: str | None = None,
87
- encoding: str = "utf-8",
88
- encoding_errors: str = "strict",
89
- decode_responses: Literal[False] = False,
90
- retry_on_timeout: bool = False,
91
- retry_on_error: list[type[RedisError]] | None = None,
92
- ssl: bool = False,
93
- ssl_keyfile: str | None = None,
94
- ssl_certfile: str | None = None,
95
- ssl_cert_reqs: str = "required",
96
- ssl_ca_certs: str | None = None,
97
- ssl_ca_data: str | None = None,
98
- ssl_check_hostname: bool = False,
99
- max_connections: int | None = None,
100
- single_connection_client: bool = False,
101
- health_check_interval: int = 0,
102
- client_name: str | None = None,
103
- username: str | None = None,
104
- retry: Retry | None = None,
105
- auto_close_connection_pool: bool = True,
106
- redis_connect_func: ConnectCallbackT | None = None,
107
- credential_provider: CredentialProvider | None = None,
108
- ) -> Redis[bytes]: ...
109
- @overload
110
- def __init__(
111
- self: Redis[str],
112
- *,
113
- host: str = "localhost",
114
- port: int = 6379,
115
- db: str | int = 0,
116
- password: str | None = None,
117
- socket_timeout: float | None = None,
118
- socket_connect_timeout: float | None = None,
119
- socket_keepalive: bool | None = None,
120
- socket_keepalive_options: Mapping[int, int | bytes] | None = None,
121
- connection_pool: ConnectionPool[Any] | None = None,
122
- unix_socket_path: str | None = None,
123
- encoding: str = "utf-8",
124
- encoding_errors: str = "strict",
125
- decode_responses: Literal[True],
126
- retry_on_timeout: bool = False,
127
- retry_on_error: list[type[RedisError]] | None = None,
128
- ssl: bool = False,
129
- ssl_keyfile: str | None = None,
130
- ssl_certfile: str | None = None,
131
- ssl_cert_reqs: str = "required",
132
- ssl_ca_certs: str | None = None,
133
- ssl_ca_data: str | None = None,
134
- ssl_check_hostname: bool = False,
135
- max_connections: int | None = None,
136
- single_connection_client: bool = False,
137
- health_check_interval: int = 0,
138
- client_name: str | None = None,
139
- username: str | None = None,
140
- retry: Retry | None = None,
141
- auto_close_connection_pool: bool = True,
142
- redis_connect_func: ConnectCallbackT | None = None,
143
- credential_provider: CredentialProvider | None = None,
144
- ) -> None: ...
145
- @overload
146
- def __init__(
147
- self: Redis[bytes],
148
- *,
149
- host: str = "localhost",
150
- port: int = 6379,
151
- db: str | int = 0,
152
- password: str | None = None,
153
- socket_timeout: float | None = None,
154
- socket_connect_timeout: float | None = None,
155
- socket_keepalive: bool | None = None,
156
- socket_keepalive_options: Mapping[int, int | bytes] | None = None,
157
- connection_pool: ConnectionPool[Any] | None = None,
158
- unix_socket_path: str | None = None,
159
- encoding: str = "utf-8",
160
- encoding_errors: str = "strict",
161
- decode_responses: Literal[False] = False,
162
- retry_on_timeout: bool = False,
163
- retry_on_error: list[type[RedisError]] | None = None,
164
- ssl: bool = False,
165
- ssl_keyfile: str | None = None,
166
- ssl_certfile: str | None = None,
167
- ssl_cert_reqs: str = "required",
168
- ssl_ca_certs: str | None = None,
169
- ssl_ca_data: str | None = None,
170
- ssl_check_hostname: bool = False,
171
- max_connections: int | None = None,
172
- single_connection_client: bool = False,
173
- health_check_interval: int = 0,
174
- client_name: str | None = None,
175
- username: str | None = None,
176
- retry: Retry | None = None,
177
- auto_close_connection_pool: bool = True,
178
- redis_connect_func: ConnectCallbackT | None = None,
179
- credential_provider: CredentialProvider | None = None,
180
- ) -> None: ...
181
- def __await__(self) -> Generator[Any, None, Self]: ...
182
- async def initialize(self) -> Self: ...
183
- def set_response_callback(self, command: str, callback: ResponseCallbackT): ...
184
- def load_external_module(self, funcname, func) -> None: ...
185
- def pipeline(self, transaction: bool = True, shard_hint: str | None = None) -> Pipeline[_StrType]: ...
186
- async def transaction(
187
- self,
188
- func: Callable[[Pipeline[_StrType]], Any | Awaitable[Any]],
189
- *watches: KeyT,
190
- shard_hint: str | None = None,
191
- value_from_callable: bool = False,
192
- watch_delay: float | None = None,
193
- ): ...
194
- def lock(
195
- self,
196
- name: KeyT,
197
- timeout: float | None = None,
198
- sleep: float = 0.1,
199
- blocking: bool = True,
200
- blocking_timeout: float | None = None,
201
- lock_class: type[Lock] | None = None,
202
- thread_local: bool = True,
203
- ) -> Lock: ...
204
- def pubsub(self, **kwargs) -> PubSub: ...
205
- def monitor(self) -> Monitor: ...
206
- def client(self) -> Redis[_StrType]: ...
207
- async def __aenter__(self) -> Self: ...
208
- async def __aexit__(
209
- self, exc_type: type[BaseException] | None, exc_value: BaseException | None, traceback: TracebackType | None
210
- ) -> None: ...
211
- def __del__(self, _warnings: Any = ...) -> None: ...
212
- async def close(self, close_connection_pool: bool | None = None) -> None: ...
213
- async def execute_command(self, *args, **options): ...
214
- async def parse_response(self, connection: Connection, command_name: str | bytes, **options): ...
215
-
216
- StrictRedis = Redis
217
-
218
- class MonitorCommandInfo(TypedDict):
219
- time: float
220
- db: int
221
- client_address: str
222
- client_port: str
223
- client_type: str
224
- command: str
225
-
226
- class Monitor:
227
- monitor_re: Any
228
- command_re: Any
229
- connection_pool: Any
230
- connection: Any
231
- def __init__(self, connection_pool: ConnectionPool[Any]) -> None: ...
232
- async def connect(self) -> None: ...
233
- async def __aenter__(self) -> Self: ...
234
- async def __aexit__(self, *args: Unused) -> None: ...
235
- async def next_command(self) -> MonitorCommandInfo: ...
236
- def listen(self) -> AsyncIterator[MonitorCommandInfo]: ...
237
-
238
- class PubSub:
239
- PUBLISH_MESSAGE_TYPES: ClassVar[tuple[str, ...]]
240
- UNSUBSCRIBE_MESSAGE_TYPES: ClassVar[tuple[str, ...]]
241
- HEALTH_CHECK_MESSAGE: ClassVar[str]
242
- connection_pool: Any
243
- shard_hint: str | None
244
- ignore_subscribe_messages: bool
245
- connection: Any
246
- encoder: Any
247
- health_check_response: Iterable[str | bytes]
248
- channels: Any
249
- pending_unsubscribe_channels: Any
250
- patterns: Any
251
- pending_unsubscribe_patterns: Any
252
- def __init__(
253
- self,
254
- connection_pool: ConnectionPool[Any],
255
- shard_hint: str | None = None,
256
- ignore_subscribe_messages: bool = False,
257
- encoder: Incomplete | None = None,
258
- ) -> None: ...
259
- async def __aenter__(self) -> Self: ...
260
- async def __aexit__(
261
- self, exc_type: type[BaseException] | None, exc_value: BaseException | None, traceback: TracebackType | None
262
- ) -> None: ...
263
- def __del__(self) -> None: ...
264
- async def reset(self) -> None: ...
265
- def close(self) -> Awaitable[NoReturn]: ...
266
- async def on_connect(self, connection: Connection): ...
267
- @property
268
- def subscribed(self) -> bool: ...
269
- async def execute_command(self, *args: EncodableT): ...
270
- async def parse_response(self, block: bool = True, timeout: float = 0): ...
271
- async def check_health(self) -> None: ...
272
- async def psubscribe(self, *args: ChannelT, **kwargs: PubSubHandler): ...
273
- def punsubscribe(self, *args: ChannelT) -> Awaitable[Any]: ...
274
- async def subscribe(self, *args: ChannelT, **kwargs: Callable[..., Any]): ...
275
- def unsubscribe(self, *args) -> Awaitable[Any]: ...
276
- def listen(self) -> AsyncIterator[Any]: ...
277
- async def get_message(self, ignore_subscribe_messages: bool = False, timeout: float = 0.0): ...
278
- def ping(self, message: Incomplete | None = None) -> Awaitable[Any]: ...
279
- async def handle_message(self, response, ignore_subscribe_messages: bool = False): ...
280
- async def run(self, *, exception_handler: PSWorkerThreadExcHandlerT | None = None, poll_timeout: float = 1.0) -> None: ...
281
-
282
- class PubsubWorkerExceptionHandler(Protocol):
283
- def __call__(self, e: BaseException, pubsub: PubSub): ...
284
-
285
- class AsyncPubsubWorkerExceptionHandler(Protocol):
286
- async def __call__(self, e: BaseException, pubsub: PubSub): ...
287
-
288
- PSWorkerThreadExcHandlerT: TypeAlias = PubsubWorkerExceptionHandler | AsyncPubsubWorkerExceptionHandler
289
- CommandT: TypeAlias = tuple[tuple[str | bytes, ...], Mapping[str, Any]]
290
- CommandStackT: TypeAlias = list[CommandT]
291
-
292
- class Pipeline(Redis[_StrType]):
293
- UNWATCH_COMMANDS: ClassVar[set[str]]
294
- connection_pool: Any
295
- connection: Any
296
- response_callbacks: Any
297
- is_transaction: bool
298
- shard_hint: str | None
299
- watching: bool
300
- command_stack: Any
301
- scripts: Any
302
- explicit_transaction: bool
303
- def __init__(
304
- self,
305
- connection_pool: ConnectionPool[Any],
306
- response_callbacks: MutableMapping[str | bytes, ResponseCallbackT],
307
- transaction: bool,
308
- shard_hint: str | None,
309
- ) -> None: ...
310
- async def __aenter__(self) -> Self: ...
311
- async def __aexit__(
312
- self, exc_type: type[BaseException] | None, exc_value: BaseException | None, traceback: TracebackType | None
313
- ) -> None: ...
314
- def __await__(self) -> Generator[Any, None, Self]: ...
315
- def __len__(self) -> int: ...
316
- def __bool__(self) -> bool: ...
317
- async def reset(self) -> None: ...
318
- def multi(self) -> None: ...
319
- def execute_command(self, *args, **kwargs) -> Pipeline[_StrType] | Awaitable[Pipeline[_StrType]]: ...
320
- async def immediate_execute_command(self, *args, **options): ...
321
- def pipeline_execute_command(self, *args, **options): ...
322
- def raise_first_error(self, commands: CommandStackT, response: Iterable[Any]): ...
323
- def annotate_exception(self, exception: Exception, number: int, command: Iterable[object]) -> None: ...
324
- async def parse_response(self, connection: Connection, command_name: str | bytes, **options): ...
325
- async def load_scripts(self) -> None: ...
326
- async def execute(self, raise_on_error: bool = True): ...
327
- async def discard(self) -> None: ...
328
- async def watch(self, *names: KeyT) -> bool: ...
329
- async def unwatch(self) -> bool: ...
330
- # region acl commands
331
- def acl_cat(self, category: str | None = None, **kwargs: _CommandOptions) -> Any: ...
332
- def acl_deluser(self, *username: str, **kwargs: _CommandOptions) -> Any: ...
333
- def acl_genpass(self, bits: int | None = None, **kwargs: _CommandOptions) -> Any: ...
334
- def acl_getuser(self, username: str, **kwargs: _CommandOptions) -> Any: ...
335
- def acl_help(self, **kwargs: _CommandOptions) -> Any: ...
336
- def acl_list(self, **kwargs: _CommandOptions) -> Any: ...
337
- def acl_log(self, count: int | None = None, **kwargs: _CommandOptions) -> Any: ...
338
- def acl_log_reset(self, **kwargs: _CommandOptions) -> Any: ...
339
- def acl_load(self, **kwargs: _CommandOptions) -> Any: ...
340
- def acl_save(self, **kwargs: _CommandOptions) -> Any: ...
341
- def acl_setuser( # type: ignore[override]
342
- self,
343
- username: str,
344
- enabled: bool = False,
345
- nopass: bool = False,
346
- passwords: Sequence[str] | None = None,
347
- hashed_passwords: Sequence[str] | None = None,
348
- categories: Sequence[str] | None = None,
349
- commands: Sequence[str] | None = None,
350
- keys: Sequence[str] | None = None,
351
- channels: Iterable[ChannelT] | None = None,
352
- selectors: Iterable[tuple[str, KeyT]] | None = None,
353
- reset: bool = False,
354
- reset_keys: bool = False,
355
- reset_channels: bool = False,
356
- reset_passwords: bool = False,
357
- **kwargs: _CommandOptions,
358
- ) -> Pipeline[_StrType]: ...
359
- def acl_users(self, **kwargs: _CommandOptions) -> Any: ...
360
- def acl_whoami(self, **kwargs: _CommandOptions) -> Any: ...
361
- # endregion
362
- # region cluster commands
363
- def cluster(self, cluster_arg: str, *args, **kwargs: _CommandOptions) -> Any: ...
364
- def readwrite(self, **kwargs: _CommandOptions) -> Any: ...
365
- def readonly(self, **kwargs: _CommandOptions) -> Any: ...
366
- # endregion
367
- # region BasicKey commands
368
- def append(self, key, value) -> Any: ...
369
- def bitcount(self, key: _Key, start: int | None = None, end: int | None = None, mode: str | None = None) -> Any: ...
370
- def bitfield(self, key, default_overflow: Incomplete | None = None) -> Any: ...
371
- def bitop(self, operation, dest, *keys) -> Any: ...
372
- def bitpos(self, key: _Key, bit: int, start: int | None = None, end: int | None = None, mode: str | None = None) -> Any: ...
373
- def copy(self, source, destination, destination_db: Incomplete | None = None, replace: bool = False) -> Any: ...
374
- def decr(self, name, amount: int = 1) -> Any: ...
375
- def decrby(self, name, amount: int = 1) -> Any: ...
376
- def delete(self, *names: _Key) -> Any: ...
377
- def dump(self, name: _Key) -> Any: ...
378
- def exists(self, *names: _Key) -> Any: ...
379
- def expire(
380
- self, name: _Key, time: int | timedelta, nx: bool = False, xx: bool = False, gt: bool = False, lt: bool = False
381
- ) -> Any: ...
382
- def expireat(self, name, when, nx: bool = False, xx: bool = False, gt: bool = False, lt: bool = False) -> Any: ...
383
- def get(self, name: _Key) -> Any: ...
384
- def getdel(self, name: _Key) -> Any: ...
385
- def getex(
386
- self,
387
- name,
388
- ex: Incomplete | None = None,
389
- px: Incomplete | None = None,
390
- exat: Incomplete | None = None,
391
- pxat: Incomplete | None = None,
392
- persist: bool = False,
393
- ) -> Any: ...
394
- def getbit(self, name: _Key, offset: int) -> Any: ...
395
- def getrange(self, key, start, end) -> Any: ...
396
- def getset(self, name, value) -> Any: ...
397
- def incr(self, name: _Key, amount: int = 1) -> Any: ...
398
- def incrby(self, name: _Key, amount: int = 1) -> Any: ...
399
- def incrbyfloat(self, name: _Key, amount: float = 1.0) -> Any: ...
400
- def keys(self, pattern: _Key = "*", **kwargs: _CommandOptions) -> Any: ...
401
- def lmove(
402
- self,
403
- first_list: _Key,
404
- second_list: _Key,
405
- src: Literal["LEFT", "RIGHT"] = "LEFT",
406
- dest: Literal["LEFT", "RIGHT"] = "RIGHT",
407
- ) -> Any: ...
408
- def blmove(
409
- self,
410
- first_list: _Key,
411
- second_list: _Key,
412
- timeout: float,
413
- src: Literal["LEFT", "RIGHT"] = "LEFT",
414
- dest: Literal["LEFT", "RIGHT"] = "RIGHT",
415
- ) -> Any: ...
416
- def mget(self, keys: _Key | Iterable[_Key], *args: _Key) -> Any: ...
417
- def mset(self, mapping: Mapping[_Key, _Value]) -> Any: ...
418
- def msetnx(self, mapping: Mapping[_Key, _Value]) -> Any: ...
419
- def move(self, name: _Key, db: int) -> Any: ...
420
- def persist(self, name: _Key) -> Any: ...
421
- def pexpire(
422
- self, name: _Key, time: int | timedelta, nx: bool = False, xx: bool = False, gt: bool = False, lt: bool = False
423
- ) -> Any: ...
424
- def pexpireat(
425
- self, name: _Key, when: int | datetime, nx: bool = False, xx: bool = False, gt: bool = False, lt: bool = False
426
- ) -> Any: ...
427
- def psetex(self, name, time_ms, value) -> Any: ...
428
- def pttl(self, name: _Key) -> Any: ...
429
- def hrandfield(self, key, count: Incomplete | None = None, withvalues: bool = False) -> Any: ...
430
- def randomkey(self, **kwargs: _CommandOptions) -> Any: ...
431
- def rename(self, src, dst) -> Any: ...
432
- def renamenx(self, src, dst) -> Any: ...
433
- def restore(
434
- self,
435
- name,
436
- ttl,
437
- value,
438
- replace: bool = False,
439
- absttl: bool = False,
440
- idletime: Incomplete | None = None,
441
- frequency: Incomplete | None = None,
442
- ) -> Any: ...
443
- def set( # type: ignore[override]
444
- self,
445
- name: _Key,
446
- value: _Value,
447
- ex: None | int | timedelta = None,
448
- px: None | int | timedelta = None,
449
- nx: bool = False,
450
- xx: bool = False,
451
- keepttl: bool = False,
452
- get: bool = False,
453
- exat: Incomplete | None = None,
454
- pxat: Incomplete | None = None,
455
- ) -> Any: ...
456
- def setbit(self, name: _Key, offset: int, value: int) -> Any: ...
457
- def setex(self, name: _Key, time: int | timedelta, value: _Value) -> Any: ...
458
- def setnx(self, name: _Key, value: _Value) -> Any: ...
459
- def setrange(self, name, offset, value) -> Any: ...
460
- def stralgo(
461
- self,
462
- algo,
463
- value1,
464
- value2,
465
- specific_argument: str = "strings",
466
- len: bool = False,
467
- idx: bool = False,
468
- minmatchlen: Incomplete | None = None,
469
- withmatchlen: bool = False,
470
- **kwargs: _CommandOptions,
471
- ) -> Any: ...
472
- def strlen(self, name) -> Any: ...
473
- def substr(self, name, start, end: int = -1) -> Any: ...
474
- def touch(self, *args) -> Any: ...
475
- def ttl(self, name: _Key) -> Any: ...
476
- def type(self, name) -> Any: ...
477
- def unlink(self, *names: _Key) -> Any: ...
478
- # endregion
479
- # region hyperlog commands
480
- def pfadd(self, name: _Key, *values: _Value) -> Any: ...
481
- def pfcount(self, name: _Key) -> Any: ...
482
- def pfmerge(self, dest: _Key, *sources: _Key) -> Any: ...
483
- # endregion
484
- # region hash commands
485
- def hdel(self, name: _Key, *keys: _Key) -> Any: ...
486
- def hexists(self, name: _Key, key: _Key) -> Any: ...
487
- def hget(self, name: _Key, key: _Key) -> Any: ...
488
- def hgetall(self, name: _Key) -> Any: ...
489
- def hincrby(self, name: _Key, key: _Key, amount: int = 1) -> Any: ...
490
- def hincrbyfloat(self, name: _Key, key: _Key, amount: float = 1.0) -> Any: ...
491
- def hkeys(self, name: _Key) -> Any: ...
492
- def hlen(self, name: _Key) -> Any: ...
493
- @overload
494
- def hset(
495
- self, name: _Key, key: _Key, value: _Value, mapping: Mapping[_Key, _Value] | None = None, items: Incomplete | None = None
496
- ) -> Any: ...
497
- @overload
498
- def hset(
499
- self, name: _Key, key: None, value: None, mapping: Mapping[_Key, _Value], items: Incomplete | None = None
500
- ) -> Any: ...
501
- @overload
502
- def hset(self, name: _Key, *, mapping: Mapping[_Key, _Value], items: Incomplete | None = None) -> Any: ...
503
- def hsetnx(self, name: _Key, key: _Key, value: _Value) -> Any: ...
504
- def hmset(self, name: _Key, mapping: Mapping[_Key, _Value]) -> Any: ...
505
- def hmget(self, name: _Key, keys: _Key | Iterable[_Key], *args: _Key) -> Any: ...
506
- def hvals(self, name: _Key) -> Any: ...
507
- def hstrlen(self, name, key) -> Any: ...
508
- # endregion
509
- # region geo commands
510
- def geoadd(self, name, values, nx: bool = False, xx: bool = False, ch: bool = False) -> Any: ...
511
- def geodist(self, name, place1, place2, unit: Incomplete | None = None) -> Any: ...
512
- def geohash(self, name, *values) -> Any: ...
513
- def geopos(self, name, *values) -> Any: ...
514
- def georadius(
515
- self,
516
- name,
517
- longitude,
518
- latitude,
519
- radius,
520
- unit: Incomplete | None = None,
521
- withdist: bool = False,
522
- withcoord: bool = False,
523
- withhash: bool = False,
524
- count: Incomplete | None = None,
525
- sort: Incomplete | None = None,
526
- store: Incomplete | None = None,
527
- store_dist: Incomplete | None = None,
528
- any: bool = False,
529
- ) -> Any: ...
530
- def georadiusbymember(
531
- self,
532
- name,
533
- member,
534
- radius,
535
- unit: Incomplete | None = None,
536
- withdist: bool = False,
537
- withcoord: bool = False,
538
- withhash: bool = False,
539
- count: Incomplete | None = None,
540
- sort: Incomplete | None = None,
541
- store: Incomplete | None = None,
542
- store_dist: Incomplete | None = None,
543
- any: bool = False,
544
- ) -> Any: ...
545
- def geosearch(
546
- self,
547
- name,
548
- member: Incomplete | None = None,
549
- longitude: Incomplete | None = None,
550
- latitude: Incomplete | None = None,
551
- unit: str = "m",
552
- radius: Incomplete | None = None,
553
- width: Incomplete | None = None,
554
- height: Incomplete | None = None,
555
- sort: Incomplete | None = None,
556
- count: Incomplete | None = None,
557
- any: bool = False,
558
- withcoord: bool = False,
559
- withdist: bool = False,
560
- withhash: bool = False,
561
- ) -> Any: ...
562
- def geosearchstore(
563
- self,
564
- dest,
565
- name,
566
- member: Incomplete | None = None,
567
- longitude: Incomplete | None = None,
568
- latitude: Incomplete | None = None,
569
- unit: str = "m",
570
- radius: Incomplete | None = None,
571
- width: Incomplete | None = None,
572
- height: Incomplete | None = None,
573
- sort: Incomplete | None = None,
574
- count: Incomplete | None = None,
575
- any: bool = False,
576
- storedist: bool = False,
577
- ) -> Any: ...
578
- # endregion
579
- # region list commands
580
- @overload
581
- def blpop(self, keys: _Value | Iterable[_Value], timeout: Literal[0] | None = 0) -> Any: ...
582
- @overload
583
- def blpop(self, keys: _Value | Iterable[_Value], timeout: float) -> Any: ...
584
- @overload
585
- def brpop(self, keys: _Value | Iterable[_Value], timeout: Literal[0] | None = 0) -> Any: ...
586
- @overload
587
- def brpop(self, keys: _Value | Iterable[_Value], timeout: float) -> Any: ...
588
- def brpoplpush(self, src, dst, timeout: int | None = 0) -> Any: ...
589
- def lindex(self, name: _Key, index: int) -> Any: ...
590
- def linsert(
591
- self, name: _Key, where: Literal["BEFORE", "AFTER", "before", "after"], refvalue: _Value, value: _Value
592
- ) -> Any: ...
593
- def llen(self, name: _Key) -> Any: ...
594
- def lpop(self, name, count: int | None = None) -> Any: ...
595
- def lpush(self, name: _Value, *values: _Value) -> Any: ...
596
- def lpushx(self, name, value) -> Any: ...
597
- def lrange(self, name: _Key, start: int, end: int) -> Any: ...
598
- def lrem(self, name: _Key, count: int, value: _Value) -> Any: ...
599
- def lset(self, name: _Key, index: int, value: _Value) -> Any: ...
600
- def ltrim(self, name: _Key, start: int, end: int) -> Any: ...
601
- def rpop(self, name, count: int | None = None) -> Any: ...
602
- def rpoplpush(self, src, dst) -> Any: ...
603
- def rpush(self, name: _Value, *values: _Value) -> Any: ...
604
- def rpushx(self, name, value) -> Any: ...
605
- def lpos(
606
- self, name, value, rank: Incomplete | None = None, count: Incomplete | None = None, maxlen: Incomplete | None = None
607
- ) -> Any: ...
608
- @overload # type: ignore[override]
609
- def sort(
610
- self,
611
- name: _Key,
612
- start: int | None = None,
613
- num: int | None = None,
614
- by: _Key | None = None,
615
- get: _Key | Sequence[_Key] | None = None,
616
- desc: bool = False,
617
- alpha: bool = False,
618
- store: None = None,
619
- groups: bool = False,
620
- ) -> list[_StrType]: ...
621
- @overload
622
- def sort(
623
- self,
624
- name: _Key,
625
- start: int | None = None,
626
- num: int | None = None,
627
- by: _Key | None = None,
628
- get: _Key | Sequence[_Key] | None = None,
629
- desc: bool = False,
630
- alpha: bool = False,
631
- *,
632
- store: _Key,
633
- groups: bool = False,
634
- ) -> Any: ...
635
- @overload
636
- def sort(
637
- self,
638
- name: _Key,
639
- start: int | None,
640
- num: int | None,
641
- by: _Key | None,
642
- get: _Key | Sequence[_Key] | None,
643
- desc: bool,
644
- alpha: bool,
645
- store: _Key,
646
- groups: bool = False,
647
- ) -> Any: ...
648
- # endregion
649
- # region scan commands
650
- def scan(
651
- self,
652
- cursor: int = 0,
653
- match: _Key | None = None,
654
- count: int | None = None,
655
- _type: str | None = None,
656
- **kwargs: _CommandOptions,
657
- ) -> Any: ...
658
- def sscan(self, name: _Key, cursor: int = 0, match: _Key | None = None, count: int | None = None) -> Any: ...
659
- def hscan(self, name: _Key, cursor: int = 0, match: _Key | None = None, count: int | None = None) -> Any: ...
660
- @overload
661
- def zscan(self, name: _Key, cursor: int = 0, match: _Key | None = None, count: int | None = None) -> Any: ...
662
- @overload
663
- def zscan(
664
- self,
665
- name: _Key,
666
- cursor: int = 0,
667
- match: _Key | None = None,
668
- count: int | None = None,
669
- *,
670
- score_cast_func: Callable[[_StrType], Any],
671
- ) -> Any: ...
672
- @overload
673
- def zscan(
674
- self, name: _Key, cursor: int, match: _Key | None, count: int | None, score_cast_func: Callable[[_StrType], Any]
675
- ) -> Any: ...
676
- # endregion
677
- # region set commands
678
- def sadd(self, name: _Key, *values: _Value) -> Any: ...
679
- def scard(self, name: _Key) -> Any: ...
680
- def sdiff(self, keys: _Key | Iterable[_Key], *args: _Key) -> Any: ...
681
- def sdiffstore(self, dest: _Key, keys: _Key | Iterable[_Key], *args: _Key) -> Any: ...
682
- def sinter(self, keys: _Key | Iterable[_Key], *args: _Key) -> Any: ...
683
- def sinterstore(self, dest: _Key, keys: _Key | Iterable[_Key], *args: _Key) -> Any: ...
684
- def sismember(self, name: _Key, value: _Value) -> Any: ...
685
- def smembers(self, name: _Key) -> Any: ...
686
- def smismember(self, name, values, *args) -> Any: ...
687
- def smove(self, src: _Key, dst: _Key, value: _Value) -> Any: ...
688
- @overload
689
- def spop(self, name: _Key, count: None = None) -> Any: ...
690
- @overload
691
- def spop(self, name: _Key, count: int) -> Any: ...
692
- @overload
693
- def srandmember(self, name: _Key, number: None = None) -> Any: ...
694
- @overload
695
- def srandmember(self, name: _Key, number: int) -> Any: ...
696
- def srem(self, name: _Key, *values: _Value) -> Any: ...
697
- def sunion(self, keys: _Key | Iterable[_Key], *args: _Key) -> Any: ...
698
- def sunionstore(self, dest: _Key, keys: _Key | Iterable[_Key], *args: _Key) -> Any: ...
699
- # endregion
700
- # region stream commands
701
- def xack(self, name, groupname, *ids) -> Any: ...
702
- def xadd(
703
- self,
704
- name,
705
- fields,
706
- id: str | int | bytes | memoryview = "*",
707
- maxlen=None,
708
- approximate: bool = True,
709
- nomkstream: bool = False,
710
- minid: Incomplete | None = None,
711
- limit: Incomplete | None = None,
712
- ) -> Any: ...
713
- def xautoclaim(
714
- self,
715
- name,
716
- groupname,
717
- consumername,
718
- min_idle_time,
719
- start_id: StreamIdT = "0-0",
720
- count: Incomplete | None = None,
721
- justid: bool = False,
722
- ) -> Any: ...
723
- def xclaim(
724
- self,
725
- name,
726
- groupname,
727
- consumername,
728
- min_idle_time,
729
- message_ids,
730
- idle=None,
731
- time=None,
732
- retrycount=None,
733
- force=False,
734
- justid=False,
735
- ) -> Any: ...
736
- def xdel(self, name, *ids) -> Any: ...
737
- def xgroup_create(self, name, groupname, id: str = "$", mkstream: bool = False, entries_read: int | None = None) -> Any: ...
738
- def xgroup_delconsumer(self, name, groupname, consumername) -> Any: ...
739
- def xgroup_destroy(self, name, groupname) -> Any: ...
740
- def xgroup_createconsumer(self, name, groupname, consumername) -> Any: ...
741
- def xgroup_setid(self, name, groupname, id, entries_read: int | None = None) -> Any: ...
742
- def xinfo_consumers(self, name, groupname) -> Any: ...
743
- def xinfo_groups(self, name) -> Any: ...
744
- def xinfo_stream(self, name, full: bool = False) -> Any: ...
745
- def xlen(self, name: _Key) -> Any: ...
746
- def xpending(self, name, groupname) -> Any: ...
747
- def xpending_range(
748
- self, name: _Key, groupname, min, max, count: int, consumername: Incomplete | None = None, idle: int | None = None
749
- ) -> Any: ...
750
- def xrange(self, name, min: str = "-", max: str = "+", count: Incomplete | None = None) -> Any: ...
751
- def xread(self, streams, count: Incomplete | None = None, block: Incomplete | None = None) -> Any: ...
752
- def xreadgroup(
753
- self,
754
- groupname,
755
- consumername,
756
- streams,
757
- count: Incomplete | None = None,
758
- block: Incomplete | None = None,
759
- noack: bool = False,
760
- ) -> Any: ...
761
- def xrevrange(self, name, max: str = "+", min: str = "-", count: Incomplete | None = None) -> Any: ...
762
- def xtrim(
763
- self, name, maxlen: int | None = None, approximate: bool = True, minid: Incomplete | None = None, limit: int | None = None
764
- ) -> Any: ...
765
- # endregion
766
- # region sorted set commands
767
- def zadd(
768
- self,
769
- name: _Key,
770
- mapping: Mapping[_Key, _Value],
771
- nx: bool = False,
772
- xx: bool = False,
773
- ch: bool = False,
774
- incr: bool = False,
775
- gt: Incomplete | None = False,
776
- lt: Incomplete | None = False,
777
- ) -> Any: ...
778
- def zcard(self, name: _Key) -> Any: ...
779
- def zcount(self, name: _Key, min: _Value, max: _Value) -> Any: ...
780
- def zdiff(self, keys, withscores: bool = False) -> Any: ...
781
- def zdiffstore(self, dest, keys) -> Any: ...
782
- def zincrby(self, name: _Key, amount: float, value: _Value) -> Any: ...
783
- def zinter(self, keys, aggregate: Incomplete | None = None, withscores: bool = False) -> Any: ...
784
- def zinterstore(self, dest: _Key, keys: Iterable[_Key], aggregate: Literal["SUM", "MIN", "MAX"] | None = None) -> Any: ...
785
- def zlexcount(self, name: _Key, min: _Value, max: _Value) -> Any: ...
786
- def zpopmax(self, name: _Key, count: int | None = None) -> Any: ...
787
- def zpopmin(self, name: _Key, count: int | None = None) -> Any: ...
788
- def zrandmember(self, key, count: Incomplete | None = None, withscores: bool = False) -> Any: ...
789
- @overload
790
- def bzpopmax(self, keys: _Key | Iterable[_Key], timeout: Literal[0] = 0) -> Any: ...
791
- @overload
792
- def bzpopmax(self, keys: _Key | Iterable[_Key], timeout: float) -> Any: ...
793
- @overload
794
- def bzpopmin(self, keys: _Key | Iterable[_Key], timeout: Literal[0] = 0) -> Any: ...
795
- @overload
796
- def bzpopmin(self, keys: _Key | Iterable[_Key], timeout: float) -> Any: ...
797
- @overload # type: ignore[override]
798
- def zrange(
799
- self,
800
- name: _Key,
801
- start: int,
802
- end: int,
803
- desc: bool,
804
- withscores: Literal[True],
805
- score_cast_func: Callable[[_StrType], Any],
806
- byscore: bool = False,
807
- bylex: bool = False,
808
- offset: int | None = None,
809
- num: int | None = None,
810
- ) -> Any: ...
811
- @overload
812
- def zrange(
813
- self,
814
- name: _Key,
815
- start: int,
816
- end: int,
817
- desc: bool,
818
- withscores: Literal[True],
819
- score_cast_func: Callable[[_StrType], float] = ...,
820
- byscore: bool = False,
821
- bylex: bool = False,
822
- offset: int | None = None,
823
- num: int | None = None,
824
- ) -> Any: ...
825
- @overload
826
- def zrange(
827
- self,
828
- name: _Key,
829
- start: int,
830
- end: int,
831
- *,
832
- withscores: Literal[True],
833
- score_cast_func: Callable[[_StrType], None],
834
- byscore: bool = False,
835
- bylex: bool = False,
836
- offset: int | None = None,
837
- num: int | None = None,
838
- ) -> Any: ...
839
- @overload
840
- def zrange(
841
- self,
842
- name: _Key,
843
- start: int,
844
- end: int,
845
- *,
846
- withscores: Literal[True],
847
- score_cast_func: Callable[[_StrType], float] = ...,
848
- byscore: bool = False,
849
- bylex: bool = False,
850
- offset: int | None = None,
851
- num: int | None = None,
852
- ) -> Any: ...
853
- @overload
854
- def zrange(
855
- self,
856
- name: _Key,
857
- start: int,
858
- end: int,
859
- desc: bool = False,
860
- withscores: bool = False,
861
- score_cast_func: Callable[[_StrType], Any] = ...,
862
- byscore: bool = False,
863
- bylex: bool = False,
864
- offset: int | None = None,
865
- num: int | None = None,
866
- ) -> Any: ...
867
- @overload # type: ignore[override]
868
- def zrevrange(
869
- self, name: _Key, start: int, end: int, withscores: Literal[True], score_cast_func: Callable[[_StrType], None]
870
- ) -> Any: ...
871
- @overload
872
- def zrevrange(self, name: _Key, start: int, end: int, withscores: Literal[True]) -> Any: ...
873
- @overload
874
- def zrevrange(
875
- self, name: _Key, start: int, end: int, withscores: bool = False, score_cast_func: Callable[[Any], Any] = ...
876
- ) -> Any: ...
877
- def zrangestore(
878
- self,
879
- dest,
880
- name,
881
- start,
882
- end,
883
- byscore: bool = False,
884
- bylex: bool = False,
885
- desc: bool = False,
886
- offset: Incomplete | None = None,
887
- num: Incomplete | None = None,
888
- ) -> Any: ...
889
- def zrangebylex(self, name: _Key, min: _Value, max: _Value, start: int | None = None, num: int | None = None) -> Any: ...
890
- def zrevrangebylex(self, name: _Key, max: _Value, min: _Value, start: int | None = None, num: int | None = None) -> Any: ...
891
- @overload # type: ignore[override]
892
- def zrangebyscore(
893
- self,
894
- name: _Key,
895
- min: _Value,
896
- max: _Value,
897
- start: int | None = None,
898
- num: int | None = None,
899
- *,
900
- withscores: Literal[True],
901
- score_cast_func: Callable[[_StrType], None],
902
- ) -> Any: ...
903
- @overload
904
- def zrangebyscore(
905
- self, name: _Key, min: _Value, max: _Value, start: int | None = None, num: int | None = None, *, withscores: Literal[True]
906
- ) -> Any: ...
907
- @overload
908
- def zrangebyscore(
909
- self,
910
- name: _Key,
911
- min: _Value,
912
- max: _Value,
913
- start: int | None = None,
914
- num: int | None = None,
915
- withscores: bool = False,
916
- score_cast_func: Callable[[_StrType], Any] = ...,
917
- ) -> Any: ...
918
- @overload
919
- def zrevrangebyscore(
920
- self,
921
- name: _Key,
922
- max: _Value,
923
- min: _Value,
924
- start: int | None = None,
925
- num: int | None = None,
926
- *,
927
- withscores: Literal[True],
928
- score_cast_func: Callable[[_StrType], Any],
929
- ) -> Any: ...
930
- @overload
931
- def zrevrangebyscore(
932
- self, name: _Key, max: _Value, min: _Value, start: int | None = None, num: int | None = None, *, withscores: Literal[True]
933
- ) -> Any: ...
934
- @overload
935
- def zrevrangebyscore(
936
- self,
937
- name: _Key,
938
- max: _Value,
939
- min: _Value,
940
- start: int | None = None,
941
- num: int | None = None,
942
- withscores: bool = False,
943
- score_cast_func: Callable[[_StrType], Any] = ...,
944
- ) -> Any: ...
945
- def zrank(self, name: _Key, value: _Value, withscore: bool = False) -> Any: ...
946
- def zrem(self, name: _Key, *values: _Value) -> Any: ...
947
- def zremrangebylex(self, name: _Key, min: _Value, max: _Value) -> Any: ...
948
- def zremrangebyrank(self, name: _Key, min: int, max: int) -> Any: ...
949
- def zremrangebyscore(self, name: _Key, min: _Value, max: _Value) -> Any: ...
950
- def zrevrank(self, name: _Key, value: _Value, withscore: bool = False) -> Any: ...
951
- def zscore(self, name: _Key, value: _Value) -> Any: ...
952
- def zunion(self, keys, aggregate: Incomplete | None = None, withscores: bool = False) -> Any: ...
953
- def zunionstore(self, dest: _Key, keys: Iterable[_Key], aggregate: Literal["SUM", "MIN", "MAX"] | None = None) -> Any: ...
954
- def zmscore(self, key, members) -> Any: ...
955
- # endregion
956
- # region management commands
957
- def bgrewriteaof(self, **kwargs: _CommandOptions) -> Any: ...
958
- def bgsave(self, schedule: bool = True, **kwargs: _CommandOptions) -> Any: ...
959
- def role(self) -> Any: ...
960
- def client_kill(self, address: str, **kwargs: _CommandOptions) -> Any: ...
961
- def client_kill_filter(
962
- self,
963
- _id: Incomplete | None = None,
964
- _type: Incomplete | None = None,
965
- addr: Incomplete | None = None,
966
- skipme: Incomplete | None = None,
967
- laddr: Incomplete | None = None,
968
- user: Incomplete | None = None,
969
- **kwargs: _CommandOptions,
970
- ) -> Any: ...
971
- def client_info(self, **kwargs: _CommandOptions) -> Any: ...
972
- def client_list(self, _type: str | None = None, client_id: list[str] = [], **kwargs: _CommandOptions) -> Any: ...
973
- def client_getname(self, **kwargs: _CommandOptions) -> Any: ...
974
- def client_getredir(self, **kwargs: _CommandOptions) -> Any: ...
975
- def client_reply(self, reply, **kwargs: _CommandOptions) -> Any: ...
976
- def client_id(self, **kwargs: _CommandOptions) -> Any: ...
977
- def client_tracking_on(
978
- self,
979
- clientid: Incomplete | None = None,
980
- prefix=[],
981
- bcast: bool = False,
982
- optin: bool = False,
983
- optout: bool = False,
984
- noloop: bool = False,
985
- ) -> Any: ...
986
- def client_tracking_off(
987
- self,
988
- clientid: Incomplete | None = None,
989
- prefix=[],
990
- bcast: bool = False,
991
- optin: bool = False,
992
- optout: bool = False,
993
- noloop: bool = False,
994
- ) -> Any: ...
995
- def client_tracking(
996
- self,
997
- on: bool = True,
998
- clientid: Incomplete | None = None,
999
- prefix=[],
1000
- bcast: bool = False,
1001
- optin: bool = False,
1002
- optout: bool = False,
1003
- noloop: bool = False,
1004
- **kwargs: _CommandOptions,
1005
- ) -> Any: ...
1006
- def client_trackinginfo(self, **kwargs: _CommandOptions) -> Any: ...
1007
- def client_setname(self, name: str, **kwargs: _CommandOptions) -> Any: ...
1008
- def client_unblock(self, client_id, error: bool = False, **kwargs: _CommandOptions) -> Any: ...
1009
- def client_pause(self, timeout, all: bool = True, **kwargs: _CommandOptions) -> Any: ...
1010
- def client_unpause(self, **kwargs: _CommandOptions) -> Any: ...
1011
- def command(self, **kwargs: _CommandOptions) -> Any: ...
1012
- def command_info(self, **kwargs: _CommandOptions) -> Any: ...
1013
- def command_count(self, **kwargs: _CommandOptions) -> Any: ...
1014
- def config_get(self, pattern: PatternT = "*", *args: PatternT, **kwargs: _CommandOptions) -> Any: ...
1015
- def config_set(self, name: KeyT, value: EncodableT, *args: KeyT | EncodableT, **kwargs: _CommandOptions) -> Any: ...
1016
- def config_resetstat(self, **kwargs: _CommandOptions) -> Any: ...
1017
- def config_rewrite(self, **kwargs: _CommandOptions) -> Any: ...
1018
- def dbsize(self, **kwargs: _CommandOptions) -> Any: ...
1019
- def debug_object(self, key, **kwargs: _CommandOptions) -> Any: ...
1020
- def debug_segfault(self, **kwargs: _CommandOptions) -> Any: ...
1021
- def echo(self, value: _Value, **kwargs: _CommandOptions) -> Any: ...
1022
- def flushall(self, asynchronous: bool = False, **kwargs: _CommandOptions) -> Any: ...
1023
- def flushdb(self, asynchronous: bool = False, **kwargs: _CommandOptions) -> Any: ...
1024
- def sync(self) -> Any: ...
1025
- def psync(self, replicationid, offset) -> Any: ...
1026
- def swapdb(self, first, second, **kwargs: _CommandOptions) -> Any: ...
1027
- def select(self, index, **kwargs: _CommandOptions) -> Any: ...
1028
- def info(self, section: _Key | None = None, *args: _Key, **kwargs: _CommandOptions) -> Any: ...
1029
- def lastsave(self, **kwargs: _CommandOptions) -> Any: ...
1030
- def lolwut(self, *version_numbers: _Value, **kwargs: _CommandOptions) -> Any: ...
1031
- def migrate(
1032
- self,
1033
- host,
1034
- port,
1035
- keys,
1036
- destination_db,
1037
- timeout,
1038
- copy: bool = False,
1039
- replace: bool = False,
1040
- auth: Incomplete | None = None,
1041
- **kwargs: _CommandOptions,
1042
- ) -> Any: ...
1043
- def object(self, infotype, key, **kwargs: _CommandOptions) -> Any: ...
1044
- def memory_doctor(self, **kwargs: _CommandOptions) -> Any: ...
1045
- def memory_help(self, **kwargs: _CommandOptions) -> Any: ...
1046
- def memory_stats(self, **kwargs: _CommandOptions) -> Any: ...
1047
- def memory_malloc_stats(self, **kwargs: _CommandOptions) -> Any: ...
1048
- def memory_usage(self, key, samples: Incomplete | None = None, **kwargs: _CommandOptions) -> Any: ...
1049
- def memory_purge(self, **kwargs: _CommandOptions) -> Any: ...
1050
- def ping(self, **kwargs: _CommandOptions) -> Any: ...
1051
- def quit(self, **kwargs: _CommandOptions) -> Any: ...
1052
- def replicaof(self, *args, **kwargs: _CommandOptions) -> Any: ...
1053
- def save(self, **kwargs: _CommandOptions) -> Any: ...
1054
- def shutdown(
1055
- self,
1056
- save: bool = False,
1057
- nosave: bool = False,
1058
- now: bool = False,
1059
- force: bool = False,
1060
- abort: bool = False,
1061
- **kwargs: _CommandOptions,
1062
- ) -> Any: ...
1063
- def slaveof(self, host: Incomplete | None = None, port: Incomplete | None = None, **kwargs: _CommandOptions) -> Any: ...
1064
- def slowlog_get(self, num: Incomplete | None = None, **kwargs: _CommandOptions) -> Any: ...
1065
- def slowlog_len(self, **kwargs: _CommandOptions) -> Any: ...
1066
- def slowlog_reset(self, **kwargs: _CommandOptions) -> Any: ...
1067
- def time(self, **kwargs: _CommandOptions) -> Any: ...
1068
- def wait(self, num_replicas, timeout, **kwargs: _CommandOptions) -> Any: ...
1069
- # endregion
1070
- # region module commands
1071
- def module_load(self, path, *args) -> Any: ...
1072
- def module_unload(self, name) -> Any: ...
1073
- def module_list(self) -> Any: ...
1074
- def command_getkeys(self, *args) -> Any: ...
1075
- # endregion
1076
- # region pubsub commands
1077
- def publish(self, channel: _Key, message: _Key, **kwargs: _CommandOptions) -> Any: ...
1078
- def pubsub_channels(self, pattern: _Key = "*", **kwargs: _CommandOptions) -> Any: ...
1079
- def pubsub_numpat(self, **kwargs: _CommandOptions) -> Any: ...
1080
- def pubsub_numsub(self, *args: _Key, **kwargs: _CommandOptions) -> Any: ...
1081
- # endregion
1082
- # region script commands
1083
- def eval(self, script, numkeys, *keys_and_args) -> Any: ...
1084
- def evalsha(self, sha, numkeys, *keys_and_args) -> Any: ...
1085
- def script_exists(self, *args) -> Any: ...
1086
- def script_debug(self, *args) -> Any: ...
1087
- def script_flush(self, sync_type: Incomplete | None = None) -> Any: ...
1088
- def script_kill(self) -> Any: ...
1089
- def script_load(self, script) -> Any: ...
1090
- def register_script(self, script: str | _StrType) -> Any: ... # type: ignore[override]
1091
- # endregion