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.
- package/dist/pyright-langserver.js +1 -1
- package/dist/pyright-langserver.js.map +1 -1
- package/dist/pyright.js +1 -1
- package/dist/pyright.js.map +1 -1
- package/dist/typeshed-fallback/README.md +1 -1
- package/dist/typeshed-fallback/commit.txt +1 -1
- package/dist/typeshed-fallback/stdlib/VERSIONS +1 -0
- package/dist/typeshed-fallback/stdlib/_asyncio.pyi +3 -3
- package/dist/typeshed-fallback/stdlib/_blake2.pyi +12 -12
- package/dist/typeshed-fallback/stdlib/_bz2.pyi +7 -1
- package/dist/typeshed-fallback/stdlib/_collections_abc.pyi +3 -0
- package/dist/typeshed-fallback/stdlib/_contextvars.pyi +5 -3
- package/dist/typeshed-fallback/stdlib/_csv.pyi +4 -4
- package/dist/typeshed-fallback/stdlib/_ctypes.pyi +7 -7
- package/dist/typeshed-fallback/stdlib/_curses.pyi +3 -3
- package/dist/typeshed-fallback/stdlib/_dummy_threading.pyi +19 -127
- package/dist/typeshed-fallback/stdlib/_frozen_importlib.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/_interpqueues.pyi +9 -6
- package/dist/typeshed-fallback/stdlib/_interpreters.pyi +3 -1
- package/dist/typeshed-fallback/stdlib/_io.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/_json.pyi +5 -4
- package/dist/typeshed-fallback/stdlib/_lzma.pyi +16 -5
- package/dist/typeshed-fallback/stdlib/_pickle.pyi +286 -0
- package/dist/typeshed-fallback/stdlib/_sitebuiltins.pyi +3 -2
- package/dist/typeshed-fallback/stdlib/_socket.pyi +3 -1
- package/dist/typeshed-fallback/stdlib/_ssl.pyi +3 -4
- package/dist/typeshed-fallback/stdlib/_thread.pyi +87 -39
- package/dist/typeshed-fallback/stdlib/_tkinter.pyi +35 -20
- package/dist/typeshed-fallback/stdlib/_weakrefset.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/argparse.pyi +27 -20
- package/dist/typeshed-fallback/stdlib/array.pyi +13 -10
- package/dist/typeshed-fallback/stdlib/ast.pyi +24 -7
- package/dist/typeshed-fallback/stdlib/asyncio/__init__.pyi +1300 -0
- package/dist/typeshed-fallback/stdlib/asyncio/base_events.pyi +2 -0
- package/dist/typeshed-fallback/stdlib/asyncio/coroutines.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/events.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/exceptions.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/futures.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/locks.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/proactor_events.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/protocols.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/queues.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/runners.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/selector_events.pyi +2 -0
- package/dist/typeshed-fallback/stdlib/asyncio/streams.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/subprocess.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/taskgroups.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/tasks.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/threads.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/timeouts.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/transports.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/unix_events.pyi +3 -0
- package/dist/typeshed-fallback/stdlib/asyncio/windows_events.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/builtins.pyi +21 -15
- package/dist/typeshed-fallback/stdlib/codecs.pyi +2 -0
- package/dist/typeshed-fallback/stdlib/codeop.pyi +5 -1
- package/dist/typeshed-fallback/stdlib/collections/__init__.pyi +3 -1
- package/dist/typeshed-fallback/stdlib/concurrent/futures/process.pyi +12 -2
- package/dist/typeshed-fallback/stdlib/contextlib.pyi +21 -22
- package/dist/typeshed-fallback/stdlib/ctypes/__init__.pyi +69 -18
- package/dist/typeshed-fallback/stdlib/dataclasses.pyi +11 -3
- package/dist/typeshed-fallback/stdlib/datetime.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/decimal.pyi +0 -1
- package/dist/typeshed-fallback/stdlib/email/charset.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/email/header.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/email/headerregistry.pyi +2 -0
- package/dist/typeshed-fallback/stdlib/fractions.pyi +3 -3
- package/dist/typeshed-fallback/stdlib/gzip.pyi +5 -5
- package/dist/typeshed-fallback/stdlib/http/__init__.pyi +15 -6
- package/dist/typeshed-fallback/stdlib/http/client.pyi +80 -58
- package/dist/typeshed-fallback/stdlib/inspect.pyi +5 -5
- package/dist/typeshed-fallback/stdlib/ipaddress.pyi +5 -3
- package/dist/typeshed-fallback/stdlib/itertools.pyi +12 -12
- package/dist/typeshed-fallback/stdlib/json/scanner.pyi +4 -0
- package/dist/typeshed-fallback/stdlib/lib2to3/pgen2/pgen.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/lib2to3/pytree.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/mmap.pyi +6 -6
- package/dist/typeshed-fallback/stdlib/multiprocessing/managers.pyi +63 -17
- package/dist/typeshed-fallback/stdlib/multiprocessing/pool.pyi +3 -0
- package/dist/typeshed-fallback/stdlib/multiprocessing/reduction.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/multiprocessing/synchronize.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/numbers.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/operator.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/optparse.pyi +89 -32
- package/dist/typeshed-fallback/stdlib/os/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/parser.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/pickle.pyi +51 -266
- package/dist/typeshed-fallback/stdlib/pickletools.pyi +8 -1
- package/dist/typeshed-fallback/stdlib/plistlib.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/sched.pyi +3 -2
- package/dist/typeshed-fallback/stdlib/select.pyi +19 -13
- package/dist/typeshed-fallback/stdlib/selectors.pyi +5 -3
- package/dist/typeshed-fallback/stdlib/signal.pyi +47 -47
- package/dist/typeshed-fallback/stdlib/socket.pyi +8 -6
- package/dist/typeshed-fallback/stdlib/sqlite3/__init__.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/ssl.pyi +4 -0
- package/dist/typeshed-fallback/stdlib/sys/__init__.pyi +9 -3
- package/dist/typeshed-fallback/stdlib/tarfile.pyi +24 -10
- package/dist/typeshed-fallback/stdlib/telnetlib.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/threading.pyi +6 -53
- package/dist/typeshed-fallback/stdlib/tkinter/__init__.pyi +193 -3
- package/dist/typeshed-fallback/stdlib/tkinter/filedialog.pyi +9 -9
- package/dist/typeshed-fallback/stdlib/tkinter/font.pyi +5 -4
- package/dist/typeshed-fallback/stdlib/token.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/tokenize.pyi +3 -4
- package/dist/typeshed-fallback/stdlib/traceback.pyi +17 -4
- package/dist/typeshed-fallback/stdlib/types.pyi +45 -10
- package/dist/typeshed-fallback/stdlib/typing.pyi +45 -47
- package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +53 -12
- package/dist/typeshed-fallback/stdlib/unittest/mock.pyi +3 -1
- package/dist/typeshed-fallback/stdlib/unittest/runner.pyi +11 -12
- package/dist/typeshed-fallback/stdlib/unittest/suite.pyi +2 -0
- package/dist/typeshed-fallback/stdlib/weakref.pyi +19 -5
- package/dist/typeshed-fallback/stdlib/xml/dom/minidom.pyi +5 -4
- package/dist/typeshed-fallback/stdlib/xml/sax/expatreader.pyi +53 -0
- package/dist/typeshed-fallback/stdlib/xmlrpc/client.pyi +4 -3
- package/dist/typeshed-fallback/stdlib/xxlimited.pyi +4 -2
- package/dist/typeshed-fallback/stdlib/zipfile/_path/glob.pyi +22 -0
- package/dist/typeshed-fallback/stdlib/zoneinfo/__init__.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/METADATA.toml +7 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/common/encoding.pyi +10 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/common/errors.pyi +26 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/common/security.pyi +4 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/common/urls.pyi +19 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/consts.pyi +8 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/deprecate.pyi +7 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/__init__.pyi +29 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/async_app.pyi +16 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/async_openid.pyi +8 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/errors.pyi +23 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/framework_integration.pyi +13 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/registry.pyi +21 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/sync_app.pyi +93 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/sync_openid.pyi +7 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/__init__.pyi +44 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/drafts/__init__.pyi +3 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/drafts/_jwe_algorithms.pyi +27 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/drafts/_jwe_enc_cryptodome.pyi +13 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/drafts/_jwe_enc_cryptography.pyi +13 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/errors.pyi +72 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/jwk.pyi +4 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7515/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7515/jws.pyi +14 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7515/models.pyi +25 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7516/__init__.pyi +9 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7516/jwe.pyi +23 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7516/models.pyi +56 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/__init__.pyi +7 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/_cryptography_key.pyi +5 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/asymmetric_key.pyi +39 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/base_key.pyi +28 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/jwk.pyi +13 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/key_set.pyi +10 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/__init__.pyi +20 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/ec_key.pyi +24 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/jwe_algs.pyi +64 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/jwe_encs.pyi +27 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/jwe_zips.pyi +9 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/jws_algs.pyi +63 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/oct_key.pyi +23 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/rsa_key.pyi +23 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/util.pyi +2 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7519/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7519/claims.pyi +21 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7519/jwt.pyi +21 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc8037/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc8037/jws_eddsa.pyi +10 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc8037/okp_key.pyi +24 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/util.pyi +3 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/__init__.pyi +33 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/client.pyi +39 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/errors.pyi +1 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/__init__.pyi +35 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/authorization_server.pyi +21 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/base_server.pyi +12 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/client_auth.pyi +41 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/errors.pyi +56 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/models.pyi +21 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/parameters.pyi +5 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/resource_protector.pyi +5 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/rsa.pyi +2 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/signature.pyi +22 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/util.pyi +2 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/wrapper.pyi +33 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/__init__.pyi +22 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/auth.pyi +24 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/base.pyi +20 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/client.pyi +96 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/__init__.pyi +76 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/authenticate_client.pyi +13 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/authorization_server.pyi +46 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/errors.pyi +92 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/__init__.pyi +21 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/authorization_code.pyi +24 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/base.pyi +55 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/client_credentials.pyi +6 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/implicit.pyi +12 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/refresh_token.pyi +15 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/resource_owner_password_credentials.pyi +7 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/models.pyi +22 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/parameters.pyi +14 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/requests.pyi +48 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/resource_protector.pyi +19 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/token_endpoint.pyi +13 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/util.pyi +5 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/wrappers.pyi +5 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6750/__init__.pyi +15 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6750/errors.pyi +27 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6750/parameters.pyi +6 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6750/token.pyi +41 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6750/validator.pyi +6 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7009/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7009/parameters.pyi +5 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7009/revocation.pyi +9 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7521/__init__.pyi +3 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7521/client.pyi +39 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/__init__.pyi +18 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/assertion.pyi +19 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/auth.pyi +22 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/client.pyi +16 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/jwt_bearer.pyi +28 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/token.pyi +30 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/validator.pyi +24 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7591/__init__.pyi +17 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7591/claims.pyi +22 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7591/endpoint.pyi +24 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7591/errors.pyi +13 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7592/__init__.pyi +3 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7592/endpoint.pyi +26 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7636/__init__.pyi +3 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7636/challenge.pyi +20 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7662/__init__.pyi +5 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7662/introspection.pyi +11 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7662/models.pyi +8 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7662/token_validator.pyi +7 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8414/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8414/models.pyi +40 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8414/well_known.pyi +1 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8628/__init__.pyi +19 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8628/device_code.pyi +15 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8628/endpoint.pyi +21 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8628/errors.pyi +10 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8628/models.pyi +13 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8693/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/__init__.pyi +6 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/claims.pyi +16 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/introspection.pyi +13 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/revocation.pyi +9 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/token.pyi +23 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/token_validator.pyi +20 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/__init__.pyi +29 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/claims.pyi +37 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/errors.pyi +28 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/grants/__init__.pyi +5 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/grants/code.pyi +17 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/grants/hybrid.pyi +13 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/grants/implicit.pyi +16 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/grants/util.pyi +18 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/models.pyi +5 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/util.pyi +1 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/discovery/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/discovery/models.pyi +36 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/discovery/well_known.pyi +1 -0
- package/dist/typeshed-fallback/stubs/Flask-Migrate/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/Flask-Migrate/flask_migrate/__init__.pyi +2 -4
- package/dist/typeshed-fallback/stubs/Flask-SocketIO/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/Flask-SocketIO/flask_socketio/__init__.pyi +30 -4
- package/dist/typeshed-fallback/stubs/Markdown/markdown/core.pyi +2 -13
- package/dist/typeshed-fallback/stubs/PyAutoGUI/pyautogui/__init__.pyi +2 -2
- package/dist/typeshed-fallback/stubs/PyYAML/yaml/constructor.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Pygments/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/WebOb/webob/exc.pyi +1 -1
- package/dist/typeshed-fallback/stubs/click-log/METADATA.toml +3 -0
- package/dist/typeshed-fallback/stubs/click-log/click_log/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/click-log/click_log/core.pyi +15 -0
- package/dist/typeshed-fallback/stubs/click-log/click_log/options.pyi +12 -0
- package/dist/typeshed-fallback/stubs/click-web/METADATA.toml +3 -0
- package/dist/typeshed-fallback/stubs/click-web/click_web/__init__.pyi +16 -0
- package/dist/typeshed-fallback/stubs/click-web/click_web/exceptions.pyi +2 -0
- package/dist/typeshed-fallback/stubs/click-web/click_web/resources/cmd_exec.pyi +79 -0
- package/dist/typeshed-fallback/stubs/click-web/click_web/resources/cmd_form.pyi +6 -0
- package/dist/typeshed-fallback/stubs/click-web/click_web/resources/index.pyi +6 -0
- package/dist/typeshed-fallback/stubs/click-web/click_web/resources/input_fields.pyi +49 -0
- package/dist/typeshed-fallback/stubs/click-web/click_web/web_click_types.pyi +18 -0
- package/dist/typeshed-fallback/stubs/croniter/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/croniter/croniter/croniter.pyi +7 -0
- package/dist/typeshed-fallback/stubs/django-import-export/METADATA.toml +6 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/admin.pyi +114 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/exceptions.pyi +2 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/fields.pyi +34 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/formats/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/formats/base_formats.pyi +57 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/forms.pyi +31 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/instance_loaders.pyi +23 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/mixins.pyi +66 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/resources.pyi +232 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/results.pyi +73 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/signals.pyi +4 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/templatetags/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/templatetags/import_export_tags.pyi +8 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/tmp_storages.pyi +34 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/utils.pyi +18 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/widgets.pyi +66 -0
- package/dist/typeshed-fallback/stubs/docker/docker/models/containers.pyi +2 -2
- package/dist/typeshed-fallback/stubs/flake8-bugbear/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/fpdf2/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/__init__.pyi +2 -0
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/annotations.pyi +2 -2
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/enums.pyi +50 -4
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/fonts.pyi +3 -3
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/fpdf.pyi +53 -18
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/html.pyi +2 -0
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/image_parsing.pyi +10 -2
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/line_break.pyi +9 -3
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/outline.pyi +21 -0
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/output.pyi +19 -0
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/prefs.pyi +38 -4
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/table.pyi +13 -1
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/util.pyi +1 -0
- package/dist/typeshed-fallback/stubs/gdb/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/gdb/gdb/__init__.pyi +126 -9
- package/dist/typeshed-fallback/stubs/gdb/gdb/unwinder.pyi +2 -3
- package/dist/typeshed-fallback/stubs/gevent/gevent/select.pyi +7 -2
- package/dist/typeshed-fallback/stubs/hdbcli/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/ibm-db/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/ibm-db/ibm_db.pyi +11 -1
- package/dist/typeshed-fallback/stubs/icalendar/METADATA.toml +1 -5
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/timezone/tzp.pyi +1 -1
- package/dist/typeshed-fallback/stubs/jsonschema/METADATA.toml +0 -2
- package/dist/typeshed-fallback/stubs/jwcrypto/jwcrypto/jwk.pyi +4 -4
- package/dist/typeshed-fallback/stubs/lupa/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/m3u8/m3u8/httpclient.pyi +1 -1
- package/dist/typeshed-fallback/stubs/nanoleafapi/METADATA.toml +2 -0
- package/dist/typeshed-fallback/stubs/nanoleafapi/nanoleafapi/__init__.pyi +16 -0
- package/dist/typeshed-fallback/stubs/nanoleafapi/nanoleafapi/digital_twin.pyi +12 -0
- package/dist/typeshed-fallback/stubs/nanoleafapi/nanoleafapi/discovery.pyi +1 -0
- package/dist/typeshed-fallback/stubs/nanoleafapi/nanoleafapi/nanoleaf.pyi +68 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/classes/multidigraph.pyi +1 -1
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/styles/cell_style.pyi +1 -1
- package/dist/typeshed-fallback/stubs/peewee/peewee.pyi +4 -4
- package/dist/typeshed-fallback/stubs/pexpect/pexpect/pty_spawn.pyi +1 -1
- package/dist/typeshed-fallback/stubs/pika/pika/credentials.pyi +10 -7
- package/dist/typeshed-fallback/stubs/polib/polib.pyi +3 -2
- package/dist/typeshed-fallback/stubs/protobuf/METADATA.toml +2 -2
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/api_pb2.pyi +1 -1
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/descriptor_pb2.pyi +4 -8
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/runtime_version.pyi +23 -0
- package/dist/typeshed-fallback/stubs/pycocotools/METADATA.toml +1 -0
- package/dist/typeshed-fallback/stubs/pycocotools/pycocotools/coco.pyi +6 -11
- package/dist/typeshed-fallback/stubs/pycocotools/pycocotools/cocoeval.pyi +16 -30
- package/dist/typeshed-fallback/stubs/pycocotools/pycocotools/mask.pyi +7 -9
- package/dist/typeshed-fallback/stubs/pycurl/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/pycurl/pycurl.pyi +33 -32
- package/dist/typeshed-fallback/stubs/pynput/pynput/keyboard/_base.pyi +65 -65
- package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/relativedelta.pyi +3 -11
- package/dist/typeshed-fallback/stubs/pywin32/_win32typing.pyi +3 -3
- package/dist/typeshed-fallback/stubs/qrbill/qrbill/bill.pyi +2 -2
- package/dist/typeshed-fallback/stubs/requests-oauthlib/requests_oauthlib/oauth1_auth.pyi +1 -1
- package/dist/typeshed-fallback/stubs/seaborn/METADATA.toml +1 -11
- package/dist/typeshed-fallback/stubs/seaborn/seaborn/algorithms.pyi +13 -13
- package/dist/typeshed-fallback/stubs/setuptools/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/cmd.pyi +5 -0
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/bdist.pyi +1 -1
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/install_data.pyi +2 -1
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/dist.pyi +21 -21
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/extension.pyi +3 -4
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/extension.pyi +2 -3
- package/dist/typeshed-fallback/stubs/shapely/shapely/_enum.pyi +1 -1
- package/dist/typeshed-fallback/stubs/six/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/tabulate/tabulate/__init__.pyi +2 -1
- package/dist/typeshed-fallback/stubs/tqdm/tqdm/asyncio.pyi +2 -2
- package/dist/typeshed-fallback/stubs/vobject/METADATA.toml +2 -2
- package/dist/typeshed-fallback/stubs/vobject/vobject/__init__.pyi +2 -4
- package/dist/typeshed-fallback/stubs/vobject/vobject/base.pyi +26 -24
- package/dist/typeshed-fallback/stubs/vobject/vobject/behavior.pyi +5 -4
- package/dist/typeshed-fallback/stubs/vobject/vobject/icalendar.pyi +28 -37
- package/dist/typeshed-fallback/stubs/vobject/vobject/vcard.pyi +20 -20
- package/dist/typeshed-fallback/stubs/vobject/vobject/win32tz.pyi +22 -22
- package/package.json +1 -1
- package/dist/typeshed-fallback/stubs/python-gflags/METADATA.toml +0 -2
- package/dist/typeshed-fallback/stubs/python-gflags/gflags.pyi +0 -309
- package/dist/typeshed-fallback/stubs/redis/METADATA.toml +0 -12
- package/dist/typeshed-fallback/stubs/redis/redis/__init__.pyi +0 -72
- package/dist/typeshed-fallback/stubs/redis/redis/asyncio/__init__.pyi +0 -64
- package/dist/typeshed-fallback/stubs/redis/redis/asyncio/client.pyi +0 -1091
- package/dist/typeshed-fallback/stubs/redis/redis/asyncio/cluster.pyi +0 -229
- package/dist/typeshed-fallback/stubs/redis/redis/asyncio/connection.pyi +0 -363
- package/dist/typeshed-fallback/stubs/redis/redis/asyncio/lock.pyi +0 -51
- package/dist/typeshed-fallback/stubs/redis/redis/asyncio/parser.pyi +0 -9
- package/dist/typeshed-fallback/stubs/redis/redis/asyncio/retry.pyi +0 -12
- package/dist/typeshed-fallback/stubs/redis/redis/asyncio/sentinel.pyi +0 -162
- package/dist/typeshed-fallback/stubs/redis/redis/asyncio/utils.pyi +0 -15
- package/dist/typeshed-fallback/stubs/redis/redis/backoff.pyi +0 -31
- package/dist/typeshed-fallback/stubs/redis/redis/client.pyi +0 -817
- package/dist/typeshed-fallback/stubs/redis/redis/cluster.pyi +0 -265
- package/dist/typeshed-fallback/stubs/redis/redis/commands/__init__.pyi +0 -17
- package/dist/typeshed-fallback/stubs/redis/redis/commands/bf/__init__.pyi +0 -58
- package/dist/typeshed-fallback/stubs/redis/redis/commands/bf/commands.pyi +0 -112
- package/dist/typeshed-fallback/stubs/redis/redis/commands/bf/info.pyi +0 -43
- package/dist/typeshed-fallback/stubs/redis/redis/commands/cluster.pyi +0 -60
- package/dist/typeshed-fallback/stubs/redis/redis/commands/core.pyi +0 -1743
- package/dist/typeshed-fallback/stubs/redis/redis/commands/graph/__init__.pyi +0 -26
- package/dist/typeshed-fallback/stubs/redis/redis/commands/graph/commands.pyi +0 -25
- package/dist/typeshed-fallback/stubs/redis/redis/commands/graph/edge.pyi +0 -14
- package/dist/typeshed-fallback/stubs/redis/redis/commands/graph/exceptions.pyi +0 -5
- package/dist/typeshed-fallback/stubs/redis/redis/commands/graph/node.pyi +0 -18
- package/dist/typeshed-fallback/stubs/redis/redis/commands/graph/path.pyi +0 -18
- package/dist/typeshed-fallback/stubs/redis/redis/commands/graph/query_result.pyi +0 -74
- package/dist/typeshed-fallback/stubs/redis/redis/commands/helpers.pyi +0 -10
- package/dist/typeshed-fallback/stubs/redis/redis/commands/json/__init__.pyi +0 -15
- package/dist/typeshed-fallback/stubs/redis/redis/commands/json/commands.pyi +0 -32
- package/dist/typeshed-fallback/stubs/redis/redis/commands/json/decoders.pyi +0 -4
- package/dist/typeshed-fallback/stubs/redis/redis/commands/json/path.pyi +0 -5
- package/dist/typeshed-fallback/stubs/redis/redis/commands/parser.pyi +0 -8
- package/dist/typeshed-fallback/stubs/redis/redis/commands/redismodules.pyi +0 -14
- package/dist/typeshed-fallback/stubs/redis/redis/commands/search/__init__.pyi +0 -22
- package/dist/typeshed-fallback/stubs/redis/redis/commands/search/aggregation.pyi +0 -53
- package/dist/typeshed-fallback/stubs/redis/redis/commands/search/commands.pyi +0 -111
- package/dist/typeshed-fallback/stubs/redis/redis/commands/search/query.pyi +0 -52
- package/dist/typeshed-fallback/stubs/redis/redis/commands/search/result.pyi +0 -7
- package/dist/typeshed-fallback/stubs/redis/redis/commands/sentinel.pyi +0 -17
- package/dist/typeshed-fallback/stubs/redis/redis/commands/timeseries/__init__.pyi +0 -14
- package/dist/typeshed-fallback/stubs/redis/redis/commands/timeseries/commands.pyi +0 -160
- package/dist/typeshed-fallback/stubs/redis/redis/commands/timeseries/info.pyi +0 -18
- package/dist/typeshed-fallback/stubs/redis/redis/commands/timeseries/utils.pyi +0 -5
- package/dist/typeshed-fallback/stubs/redis/redis/connection.pyi +0 -289
- package/dist/typeshed-fallback/stubs/redis/redis/crc.pyi +0 -5
- package/dist/typeshed-fallback/stubs/redis/redis/credentials.pyi +0 -11
- package/dist/typeshed-fallback/stubs/redis/redis/exceptions.pyi +0 -42
- package/dist/typeshed-fallback/stubs/redis/redis/lock.pyi +0 -56
- package/dist/typeshed-fallback/stubs/redis/redis/ocsp.pyi +0 -21
- package/dist/typeshed-fallback/stubs/redis/redis/retry.pyi +0 -11
- package/dist/typeshed-fallback/stubs/redis/redis/sentinel.pyi +0 -62
- package/dist/typeshed-fallback/stubs/redis/redis/typing.pyi +0 -34
- package/dist/typeshed-fallback/stubs/redis/redis/utils.pyi +0 -22
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/compat/py310.pyi +0 -9
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/compat/py311.pyi +0 -4
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/compat/py312.pyi +0 -3
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/compat/py39.pyi +0 -7
- /package/dist/typeshed-fallback/stdlib/zipfile/{_path.pyi → _path/__init__.pyi} +0 -0
- /package/dist/typeshed-fallback/stubs/{setuptools/setuptools/compat → Authlib/authlib/common}/__init__.pyi +0 -0
|
@@ -7,12 +7,11 @@ import threading
|
|
|
7
7
|
from _typeshed import Incomplete
|
|
8
8
|
from collections.abc import Callable, Iterator, Mapping, Sequence
|
|
9
9
|
from contextlib import AbstractContextManager
|
|
10
|
-
from typing import Any, Final, Generic, Literal, Protocol, TypeVar, final, overload
|
|
10
|
+
from typing import Any, Final, Generic, Literal, Protocol, TypeVar, final, overload, type_check_only
|
|
11
11
|
from typing_extensions import TypeAlias, deprecated
|
|
12
12
|
|
|
13
13
|
import gdb.FrameDecorator
|
|
14
14
|
import gdb.types
|
|
15
|
-
import gdb.unwinder
|
|
16
15
|
import gdb.xmethod
|
|
17
16
|
|
|
18
17
|
# The following submodules are automatically imported
|
|
@@ -289,7 +288,15 @@ class PendingFrame:
|
|
|
289
288
|
class UnwindInfo:
|
|
290
289
|
def add_saved_register(self, reg: str | RegisterDescriptor | int, value: Value, /) -> None: ...
|
|
291
290
|
|
|
292
|
-
|
|
291
|
+
@type_check_only
|
|
292
|
+
class _Unwinder(Protocol):
|
|
293
|
+
@property
|
|
294
|
+
def name(self) -> str: ...
|
|
295
|
+
enabled: bool
|
|
296
|
+
|
|
297
|
+
def __call__(self, pending_frame: PendingFrame) -> UnwindInfo | None: ...
|
|
298
|
+
|
|
299
|
+
frame_unwinders: list[_Unwinder]
|
|
293
300
|
|
|
294
301
|
# Inferiors
|
|
295
302
|
|
|
@@ -468,7 +475,7 @@ class Progspace:
|
|
|
468
475
|
pretty_printers: list[_PrettyPrinterLookupFunction]
|
|
469
476
|
type_printers: list[gdb.types._TypePrinter]
|
|
470
477
|
frame_filters: dict[str, _FrameFilter]
|
|
471
|
-
frame_unwinders: list[
|
|
478
|
+
frame_unwinders: list[_Unwinder]
|
|
472
479
|
missing_debug_handlers: Incomplete
|
|
473
480
|
|
|
474
481
|
def block_for_pc(self, pc: int, /) -> Block | None: ...
|
|
@@ -493,7 +500,7 @@ class Objfile:
|
|
|
493
500
|
pretty_printers: list[_PrettyPrinterLookupFunction]
|
|
494
501
|
type_printers: list[gdb.types._TypePrinter]
|
|
495
502
|
frame_filters: dict[str, _FrameFilter]
|
|
496
|
-
frame_unwinders: list[
|
|
503
|
+
frame_unwinders: list[_Unwinder]
|
|
497
504
|
is_file: bool
|
|
498
505
|
|
|
499
506
|
def is_valid(self) -> bool: ...
|
|
@@ -664,21 +671,131 @@ class LineTable:
|
|
|
664
671
|
# Breakpoints
|
|
665
672
|
|
|
666
673
|
class Breakpoint:
|
|
674
|
+
|
|
675
|
+
# The where="spec" form of __init__(). See py-breakpoints.c:bppy_init():keywords for the positional order.
|
|
676
|
+
@overload
|
|
677
|
+
def __init__(
|
|
678
|
+
self,
|
|
679
|
+
# where
|
|
680
|
+
spec: str,
|
|
681
|
+
# options
|
|
682
|
+
type: int = ...,
|
|
683
|
+
wp_class: int = ...,
|
|
684
|
+
internal: bool = ...,
|
|
685
|
+
temporary: bool = ...,
|
|
686
|
+
qualified: bool = ...,
|
|
687
|
+
) -> None: ...
|
|
688
|
+
|
|
689
|
+
# The where="location" form of __init__(). A watchpoint (`type=BP_WATCHPOINT`) cannot be created with this form.
|
|
690
|
+
#
|
|
691
|
+
# We exclude the `wp_class` (watchpoint class) option here, even though py-breakpoints.c accepts it. It doesn't make sense
|
|
692
|
+
# unless type==BP_WATCHPOINT, and is silently ignored in those cases; allowing it in those cases is likely an oversight, not
|
|
693
|
+
# an intentional allowance.
|
|
694
|
+
#
|
|
695
|
+
# We repeat this 7 times because the type system doesn't have simple a way for us to say "at least one of `function`, `label`,
|
|
696
|
+
# or `line`", so we must repeat it for each combination of the 3.
|
|
697
|
+
#
|
|
698
|
+
# The len=3 combination.
|
|
699
|
+
@overload
|
|
700
|
+
def __init__(
|
|
701
|
+
self,
|
|
702
|
+
*,
|
|
703
|
+
# where
|
|
704
|
+
source: str = ...,
|
|
705
|
+
function: str,
|
|
706
|
+
label: str,
|
|
707
|
+
line: int | str,
|
|
708
|
+
# options
|
|
709
|
+
type: int = ...,
|
|
710
|
+
internal: bool = ...,
|
|
711
|
+
temporary: bool = ...,
|
|
712
|
+
qualified: bool = ...,
|
|
713
|
+
) -> None: ...
|
|
714
|
+
# The 3 len=2 combinations.
|
|
715
|
+
@overload
|
|
716
|
+
def __init__(
|
|
717
|
+
self,
|
|
718
|
+
*,
|
|
719
|
+
source: str = ...,
|
|
720
|
+
# where
|
|
721
|
+
label: str,
|
|
722
|
+
line: int | str,
|
|
723
|
+
# options
|
|
724
|
+
type: int = ...,
|
|
725
|
+
internal: bool = ...,
|
|
726
|
+
temporary: bool = ...,
|
|
727
|
+
qualified: bool = ...,
|
|
728
|
+
) -> None: ...
|
|
729
|
+
@overload
|
|
730
|
+
def __init__(
|
|
731
|
+
self,
|
|
732
|
+
*,
|
|
733
|
+
source: str = ...,
|
|
734
|
+
# where
|
|
735
|
+
function: str,
|
|
736
|
+
line: int | str,
|
|
737
|
+
# options
|
|
738
|
+
type: int = ...,
|
|
739
|
+
internal: bool = ...,
|
|
740
|
+
temporary: bool = ...,
|
|
741
|
+
qualified: bool = ...,
|
|
742
|
+
) -> None: ...
|
|
667
743
|
@overload
|
|
668
744
|
def __init__(
|
|
669
|
-
self,
|
|
745
|
+
self,
|
|
746
|
+
*,
|
|
747
|
+
source: str = ...,
|
|
748
|
+
# where
|
|
749
|
+
function: str,
|
|
750
|
+
label: str,
|
|
751
|
+
# options
|
|
752
|
+
type: int = ...,
|
|
753
|
+
internal: bool = ...,
|
|
754
|
+
temporary: bool = ...,
|
|
755
|
+
qualified: bool = ...,
|
|
670
756
|
) -> None: ...
|
|
757
|
+
# The 3 len=1 combinations.
|
|
671
758
|
@overload
|
|
672
759
|
def __init__(
|
|
673
760
|
self,
|
|
761
|
+
*,
|
|
674
762
|
source: str = ...,
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
763
|
+
# where
|
|
764
|
+
function: str,
|
|
765
|
+
# options
|
|
766
|
+
type: int = ...,
|
|
678
767
|
internal: bool = ...,
|
|
679
768
|
temporary: bool = ...,
|
|
680
769
|
qualified: bool = ...,
|
|
681
770
|
) -> None: ...
|
|
771
|
+
@overload
|
|
772
|
+
def __init__(
|
|
773
|
+
self,
|
|
774
|
+
*,
|
|
775
|
+
source: str = ...,
|
|
776
|
+
# where
|
|
777
|
+
label: str,
|
|
778
|
+
# options
|
|
779
|
+
type: int = ...,
|
|
780
|
+
internal: bool = ...,
|
|
781
|
+
temporary: bool = ...,
|
|
782
|
+
qualified: bool = ...,
|
|
783
|
+
) -> None: ...
|
|
784
|
+
@overload
|
|
785
|
+
def __init__(
|
|
786
|
+
self,
|
|
787
|
+
*,
|
|
788
|
+
source: str = ...,
|
|
789
|
+
# where
|
|
790
|
+
line: int | str,
|
|
791
|
+
# options
|
|
792
|
+
type: int = ...,
|
|
793
|
+
internal: bool = ...,
|
|
794
|
+
temporary: bool = ...,
|
|
795
|
+
qualified: bool = ...,
|
|
796
|
+
) -> None: ...
|
|
797
|
+
|
|
798
|
+
# Methods.
|
|
682
799
|
def stop(self) -> bool: ...
|
|
683
800
|
def is_valid(self) -> bool: ...
|
|
684
801
|
def delete(self) -> None: ...
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import gdb
|
|
2
|
-
from gdb import Frame, UnwindInfo
|
|
3
2
|
|
|
4
3
|
class FrameId:
|
|
5
4
|
def __init__(self, sp: gdb.Value | int, pc: gdb.Value | int, special: gdb.Value | int | None = None) -> None: ...
|
|
@@ -16,6 +15,6 @@ class Unwinder:
|
|
|
16
15
|
enabled: bool
|
|
17
16
|
|
|
18
17
|
def __init__(self, name: str) -> None: ...
|
|
19
|
-
def __call__(self, pending_frame:
|
|
18
|
+
def __call__(self, pending_frame: gdb.PendingFrame) -> gdb.UnwindInfo | None: ...
|
|
20
19
|
|
|
21
|
-
def register_unwinder(locus: gdb.Objfile | gdb.Progspace | None, unwinder:
|
|
20
|
+
def register_unwinder(locus: gdb.Objfile | gdb.Progspace | None, unwinder: gdb._Unwinder, replace: bool = ...) -> None: ...
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import sys
|
|
2
|
+
from _typeshed import FileDescriptorLike
|
|
2
3
|
from collections.abc import Iterable
|
|
3
4
|
from select import error as error
|
|
4
5
|
from typing import Any
|
|
@@ -8,8 +9,12 @@ def select(
|
|
|
8
9
|
) -> tuple[list[Any], list[Any], list[Any]]: ...
|
|
9
10
|
|
|
10
11
|
if sys.platform != "win32":
|
|
11
|
-
from select import poll as poll
|
|
12
|
-
|
|
13
12
|
__all__ = ["error", "poll", "select"]
|
|
14
13
|
else:
|
|
15
14
|
__all__ = ["error", "select"]
|
|
15
|
+
|
|
16
|
+
class poll:
|
|
17
|
+
def register(self, fd: FileDescriptorLike, eventmask: int = ...) -> None: ...
|
|
18
|
+
def modify(self, fd: FileDescriptorLike, eventmask: int) -> None: ...
|
|
19
|
+
def poll(self, timeout: float | None = None) -> list[tuple[int, int]]: ...
|
|
20
|
+
def unregister(self, fd: FileDescriptorLike) -> None: ...
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
version = "2.
|
|
1
|
+
version = "2.23.*"
|
|
2
2
|
# upstream_repository = closed-source
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
version = "3.2
|
|
1
|
+
version = "3.2.5"
|
|
2
2
|
upstream_repository = "https://github.com/ibmdb/python-ibmdb"
|
|
@@ -10,6 +10,7 @@ QUOTED_LITERAL_REPLACEMENT_OFF: int
|
|
|
10
10
|
QUOTED_LITERAL_REPLACEMENT_ON: int
|
|
11
11
|
SQL_API_SQLROWCOUNT: int
|
|
12
12
|
SQL_ATTR_AUTOCOMMIT: int
|
|
13
|
+
SQL_ATTR_CALL_RETURN: int
|
|
13
14
|
SQL_ATTR_CURRENT_SCHEMA: int
|
|
14
15
|
SQL_ATTR_CURSOR_TYPE: int
|
|
15
16
|
SQL_ATTR_INFO_ACCTSTR: int
|
|
@@ -69,6 +70,11 @@ SQL_SMALLINT: int
|
|
|
69
70
|
SQL_TABLE_STAT: int
|
|
70
71
|
SQL_TINYINT: int
|
|
71
72
|
SQL_TRUE: int
|
|
73
|
+
SQL_TXN_NO_COMMIT: int
|
|
74
|
+
SQL_TXN_READ_COMMITTED: int
|
|
75
|
+
SQL_TXN_READ_UNCOMMITTED: int
|
|
76
|
+
SQL_TXN_REPEATABLE_READ: int
|
|
77
|
+
SQL_TXN_SERIALIZABLE: int
|
|
72
78
|
SQL_TYPE_DATE: int
|
|
73
79
|
SQL_TYPE_TIME: int
|
|
74
80
|
SQL_TYPE_TIMESTAMP: int
|
|
@@ -83,7 +89,6 @@ USE_WCHAR: int
|
|
|
83
89
|
WCHAR_NO: int
|
|
84
90
|
WCHAR_YES: int
|
|
85
91
|
|
|
86
|
-
# TODO: SQL_ATTR_TXN_ISOLATION: int
|
|
87
92
|
SQL_ATTR_ACCESS_MODE: int
|
|
88
93
|
SQL_ATTR_ALLOW_INTERLEAVED_GETDATA: int
|
|
89
94
|
SQL_ATTR_ANSI_APP: int
|
|
@@ -262,6 +267,7 @@ def connect(
|
|
|
262
267
|
def createdb(connection: IBM_DBConnection, dbName: str, codeSet: str = ..., mode: str = ..., /) -> bool: ...
|
|
263
268
|
def createdbNX(connection: IBM_DBConnection, dbName: str, codeSet: str = ..., mode: str = ..., /) -> bool: ...
|
|
264
269
|
def cursor_type(stmt: IBM_DBStatement, /) -> int: ...
|
|
270
|
+
def debug(option: str | bool) -> None: ...
|
|
265
271
|
def dropdb(connection: IBM_DBConnection, dbName: str, /) -> bool: ...
|
|
266
272
|
def exec_immediate(
|
|
267
273
|
connection: IBM_DBConnection, statement: str | None, options: dict[int, int] = ..., /
|
|
@@ -270,6 +276,9 @@ def execute(stmt: IBM_DBStatement, parameters: tuple[object, ...] | None = ...,
|
|
|
270
276
|
def execute_many(
|
|
271
277
|
stmt: IBM_DBStatement, seq_of_parameters: tuple[object, ...], options: dict[int, int] = ..., /
|
|
272
278
|
) -> int | None: ...
|
|
279
|
+
def fetchall(stmt: IBM_DBStatement, /) -> list[tuple[object, ...]]: ...
|
|
280
|
+
def fetchmany(stmt: IBM_DBStatement, numberOfRows: int, /) -> list[tuple[object, ...]]: ...
|
|
281
|
+
def fetchone(stmt: IBM_DBStatement, /) -> tuple[object, ...]: ...
|
|
273
282
|
def fetch_assoc(stmt: IBM_DBStatement, row_number: int = ..., /) -> dict[str, object] | bool: ...
|
|
274
283
|
def fetch_both(stmt: IBM_DBStatement, row_number: int = ..., /) -> dict[int | str, object] | bool: ...
|
|
275
284
|
def fetch_row(stmt: IBM_DBStatement, row_number: int = ..., /) -> bool: ...
|
|
@@ -298,6 +307,7 @@ def get_db_info(connection: IBM_DBConnection, option: int, /) -> str | bool: ...
|
|
|
298
307
|
def get_last_serial_value(stmt: IBM_DBStatement, /) -> str | bool: ...
|
|
299
308
|
def get_num_result(stmt: IBM_DBStatement, /) -> int | bool: ...
|
|
300
309
|
def get_option(resc: IBM_DBConnection | IBM_DBStatement, options: int, type: int, /) -> Any: ...
|
|
310
|
+
def get_sqlcode(connection_or_stmt: IBM_DBConnection | IBM_DBStatement | None = None, /) -> str: ...
|
|
301
311
|
def next_result(stmt: IBM_DBStatement, /) -> IBM_DBStatement | bool: ...
|
|
302
312
|
def num_fields(stmt: IBM_DBStatement, /) -> int | bool: ...
|
|
303
313
|
def num_rows(stmt: IBM_DBStatement, /) -> int: ...
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
version = "6.1.*"
|
|
2
2
|
upstream_repository = "https://github.com/collective/icalendar"
|
|
3
|
-
requires = [
|
|
4
|
-
"types-python-dateutil",
|
|
5
|
-
"types-pytz",
|
|
6
|
-
"backports.zoneinfo; python_version<'3.9'",
|
|
7
|
-
]
|
|
3
|
+
requires = ["types-python-dateutil", "types-pytz"]
|
|
8
4
|
|
|
9
5
|
[tool.stubtest]
|
|
10
6
|
stubtest_requirements = ["pytz"]
|
|
@@ -23,7 +23,7 @@ class TZP:
|
|
|
23
23
|
def fix_rrule_until(self, rrule: rrule, ical_rrule: vRecur) -> None: ...
|
|
24
24
|
def create_timezone(self, timezone_component: Timezone) -> datetime.tzinfo: ...
|
|
25
25
|
def clean_timezone_id(self, tzid: str) -> str: ...
|
|
26
|
-
def timezone(self,
|
|
26
|
+
def timezone(self, tz_id: str) -> datetime.tzinfo | None: ...
|
|
27
27
|
def uses_pytz(self) -> bool: ...
|
|
28
28
|
def uses_zoneinfo(self) -> bool: ...
|
|
29
29
|
@property
|
|
@@ -29,10 +29,10 @@ priv_bytes: Incomplete
|
|
|
29
29
|
JWKTypesRegistry: Incomplete
|
|
30
30
|
|
|
31
31
|
class ParmType(Enum):
|
|
32
|
-
name:
|
|
33
|
-
b64
|
|
34
|
-
b64u
|
|
35
|
-
unsupported
|
|
32
|
+
name = "A string with a name" # pyright: ignore[reportAssignmentType]
|
|
33
|
+
b64 = "Base64url Encoded"
|
|
34
|
+
b64u = "Base64urlUint Encoded"
|
|
35
|
+
unsupported = "Unsupported Parameter"
|
|
36
36
|
|
|
37
37
|
class JWKParameter(NamedTuple):
|
|
38
38
|
description: Incomplete
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
version = "2.
|
|
1
|
+
version = "2.4.*"
|
|
2
2
|
upstream_repository = "https://github.com/scoder/lupa"
|
|
@@ -16,4 +16,4 @@ class DefaultHTTPClient:
|
|
|
16
16
|
) -> tuple[str, str]: ...
|
|
17
17
|
|
|
18
18
|
class HTTPSHandler:
|
|
19
|
-
def __new__(cls, verify_ssl: bool = True) -> urllib.request.HTTPSHandler: ... # type: ignore
|
|
19
|
+
def __new__(cls, verify_ssl: bool = True) -> urllib.request.HTTPSHandler: ... # type: ignore[misc]
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
from nanoleafapi.digital_twin import NanoleafDigitalTwin as NanoleafDigitalTwin
|
|
2
|
+
from nanoleafapi.nanoleaf import (
|
|
3
|
+
BLUE as BLUE,
|
|
4
|
+
GREEN as GREEN,
|
|
5
|
+
LIGHT_BLUE as LIGHT_BLUE,
|
|
6
|
+
ORANGE as ORANGE,
|
|
7
|
+
PINK as PINK,
|
|
8
|
+
PURPLE as PURPLE,
|
|
9
|
+
RED as RED,
|
|
10
|
+
WHITE as WHITE,
|
|
11
|
+
YELLOW as YELLOW,
|
|
12
|
+
Nanoleaf as Nanoleaf,
|
|
13
|
+
NanoleafConnectionError as NanoleafConnectionError,
|
|
14
|
+
NanoleafEffectCreationError as NanoleafEffectCreationError,
|
|
15
|
+
NanoleafRegistrationError as NanoleafRegistrationError,
|
|
16
|
+
)
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
from nanoleafapi.nanoleaf import Nanoleaf
|
|
2
|
+
|
|
3
|
+
class NanoleafDigitalTwin:
|
|
4
|
+
nanoleaf: Nanoleaf
|
|
5
|
+
tile_dict: dict[str, dict[str, int]]
|
|
6
|
+
def __init__(self, nl: Nanoleaf) -> None: ...
|
|
7
|
+
def set_color(self, panel_id: int, rgb: tuple[int, int, int]) -> None: ...
|
|
8
|
+
def set_all_colors(self, rgb: tuple[int, int, int]) -> None: ...
|
|
9
|
+
def get_ids(self) -> list[int]: ...
|
|
10
|
+
def get_color(self, panel_id: int) -> tuple[int, int, int]: ...
|
|
11
|
+
def get_all_colors(self) -> dict[int, tuple[int, int, int]]: ...
|
|
12
|
+
def sync(self) -> bool: ...
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
def discover_devices(timeout: int = 30, debug: bool = False) -> dict[str | None, str]: ...
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
from collections.abc import Callable
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
RED: tuple[int, int, int]
|
|
6
|
+
ORANGE: tuple[int, int, int]
|
|
7
|
+
YELLOW: tuple[int, int, int]
|
|
8
|
+
GREEN: tuple[int, int, int]
|
|
9
|
+
LIGHT_BLUE: tuple[int, int, int]
|
|
10
|
+
BLUE: tuple[int, int, int]
|
|
11
|
+
PINK: tuple[int, int, int]
|
|
12
|
+
PURPLE: tuple[int, int, int]
|
|
13
|
+
WHITE: tuple[int, int, int]
|
|
14
|
+
|
|
15
|
+
class Nanoleaf:
|
|
16
|
+
ip: str
|
|
17
|
+
print_errors: bool
|
|
18
|
+
url: str
|
|
19
|
+
auth_token: str
|
|
20
|
+
already_registered: bool
|
|
21
|
+
def __init__(self, ip: str, auth_token: str | None = None, print_errors: bool = False) -> None: ...
|
|
22
|
+
def create_auth_token(self) -> str | None: ...
|
|
23
|
+
def delete_auth_token(self, auth_token: str) -> bool: ...
|
|
24
|
+
def check_connection(self) -> None: ...
|
|
25
|
+
def get_info(self) -> dict[str, Incomplete]: ...
|
|
26
|
+
def get_name(self) -> str: ...
|
|
27
|
+
def get_auth_token(self) -> str | None: ...
|
|
28
|
+
def get_ids(self) -> list[int]: ...
|
|
29
|
+
@staticmethod
|
|
30
|
+
def get_custom_base_effect(anim_type: str = "custom", loop: bool = True) -> dict[str, Incomplete]: ...
|
|
31
|
+
def power_off(self) -> bool: ...
|
|
32
|
+
def power_on(self) -> bool: ...
|
|
33
|
+
def get_power(self) -> bool: ...
|
|
34
|
+
def toggle_power(self) -> bool: ...
|
|
35
|
+
def set_color(self, rgb: tuple[int, int, int]) -> bool: ...
|
|
36
|
+
def set_brightness(self, brightness: int, duration: int = 0) -> bool: ...
|
|
37
|
+
def increment_brightness(self, brightness: int) -> bool: ...
|
|
38
|
+
def get_brightness(self) -> int: ...
|
|
39
|
+
def identify(self) -> bool: ...
|
|
40
|
+
def set_hue(self, value: int) -> bool: ...
|
|
41
|
+
def increment_hue(self, value: int) -> bool: ...
|
|
42
|
+
def get_hue(self) -> int: ...
|
|
43
|
+
def set_saturation(self, value: int) -> bool: ...
|
|
44
|
+
def increment_saturation(self, value: int) -> bool: ...
|
|
45
|
+
def get_saturation(self) -> int: ...
|
|
46
|
+
def set_color_temp(self, value: int) -> bool: ...
|
|
47
|
+
def increment_color_temp(self, value: int) -> bool: ...
|
|
48
|
+
def get_color_temp(self) -> int: ...
|
|
49
|
+
def get_color_mode(self) -> str: ...
|
|
50
|
+
def get_current_effect(self) -> str: ...
|
|
51
|
+
def set_effect(self, effect_name: str) -> bool: ...
|
|
52
|
+
def list_effects(self) -> list[str]: ...
|
|
53
|
+
def write_effect(self, effect_dict: dict[str, Incomplete]) -> bool: ...
|
|
54
|
+
def effect_exists(self, effect_name: str) -> bool: ...
|
|
55
|
+
def pulsate(self, rgb: tuple[int, int, int], speed: float = 1) -> bool: ...
|
|
56
|
+
def flow(self, rgb_list: list[tuple[int, int, int]], speed: float = 1) -> bool: ...
|
|
57
|
+
def spectrum(self, speed: float = 1) -> bool: ...
|
|
58
|
+
def enable_extcontrol(self) -> bool: ...
|
|
59
|
+
def get_layout(self) -> dict[str, Incomplete]: ...
|
|
60
|
+
def register_event(self, func: Callable[[dict[str, Incomplete]], Any], event_types: list[int]) -> None: ...
|
|
61
|
+
|
|
62
|
+
class NanoleafRegistrationError(Exception):
|
|
63
|
+
def __init__(self) -> None: ...
|
|
64
|
+
|
|
65
|
+
class NanoleafConnectionError(Exception):
|
|
66
|
+
def __init__(self) -> None: ...
|
|
67
|
+
|
|
68
|
+
class NanoleafEffectCreationError(Exception): ...
|
|
@@ -20,6 +20,6 @@ class MultiDiGraph(MultiGraph[_Node], DiGraph[_Node]):
|
|
|
20
20
|
def in_degree(self) -> InMultiDegreeView[_Node]: ...
|
|
21
21
|
@cached_property
|
|
22
22
|
def out_degree(self) -> OutMultiDegreeView[_Node]: ...
|
|
23
|
-
def to_undirected(self, reciprocal: bool = False, as_view: bool = False) -> MultiGraph[_Node]: ... # type: ignore
|
|
23
|
+
def to_undirected(self, reciprocal: bool = False, as_view: bool = False) -> MultiGraph[_Node]: ... # type: ignore[override]
|
|
24
24
|
def reverse(self, copy: bool = True) -> MultiDiGraph[_Node]: ...
|
|
25
25
|
def copy(self, as_view: bool = False) -> MultiDiGraph[_Node]: ...
|
|
@@ -31,7 +31,7 @@ class StyleArray(array[int]):
|
|
|
31
31
|
xfId: ArrayDescriptor[int]
|
|
32
32
|
def __new__(cls, args: bytes | bytearray | Iterable[int] = [0, 0, 0, 0, 0, 0, 0, 0, 0]) -> Self: ...
|
|
33
33
|
def __init__(self, args: bytes | bytearray | Iterable[int] = [0, 0, 0, 0, 0, 0, 0, 0, 0]) -> None: ...
|
|
34
|
-
def __hash__(self) -> int: ...
|
|
34
|
+
def __hash__(self) -> int: ... # type: ignore[override]
|
|
35
35
|
def __copy__(self) -> StyleArray: ...
|
|
36
36
|
def __deepcopy__(self, memo: Unused) -> StyleArray: ...
|
|
37
37
|
|
|
@@ -838,7 +838,7 @@ class Database(_callable_context_manager):
|
|
|
838
838
|
def rollback(self): ...
|
|
839
839
|
def batch_commit(self, it, n) -> Generator[Incomplete, None, None]: ...
|
|
840
840
|
def table_exists(self, table_name, schema: str | None = None): ...
|
|
841
|
-
def get_tables(self, schema: str | None = None) ->
|
|
841
|
+
def get_tables(self, schema: str | None = None) -> list[str]: ...
|
|
842
842
|
def get_indexes(self, table, schema: str | None = None) -> list[IndexMetadata]: ...
|
|
843
843
|
def get_columns(self, table, schema: str | None = None) -> list[ColumnMetadata]: ...
|
|
844
844
|
def get_primary_keys(self, table, schema: str | None = None) -> None: ...
|
|
@@ -909,7 +909,7 @@ class SqliteDatabase(Database):
|
|
|
909
909
|
def last_insert_id(self, cursor, query_type: Incomplete | None = ...): ...
|
|
910
910
|
def rows_affected(self, cursor): ...
|
|
911
911
|
def begin(self, lock_type: Incomplete | None = ...) -> None: ...
|
|
912
|
-
def get_tables(self, schema: str | None = None): ...
|
|
912
|
+
def get_tables(self, schema: str | None = None) -> list[str]: ...
|
|
913
913
|
def get_views(self, schema: str | None = None) -> list[ViewMetadata]: ...
|
|
914
914
|
def get_indexes(self, table, schema: str | None = None) -> list[IndexMetadata]: ...
|
|
915
915
|
def get_columns(self, table, schema: str | None = None) -> list[ColumnMetadata]: ...
|
|
@@ -946,7 +946,7 @@ class PostgresqlDatabase(Database):
|
|
|
946
946
|
def last_insert_id(self, cursor, query_type: Incomplete | None = ...): ...
|
|
947
947
|
def rows_affected(self, cursor): ...
|
|
948
948
|
def begin(self, isolation_level: str | None = None) -> None: ...
|
|
949
|
-
def get_tables(self, schema: str | None = None): ...
|
|
949
|
+
def get_tables(self, schema: str | None = None) -> list[str]: ...
|
|
950
950
|
def get_views(self, schema: str | None = None) -> list[ViewMetadata]: ...
|
|
951
951
|
def get_indexes(self, table, schema: str | None = None) -> list[IndexMetadata]: ...
|
|
952
952
|
def get_columns(self, table, schema: str | None = None) -> list[ColumnMetadata]: ...
|
|
@@ -980,7 +980,7 @@ class MySQLDatabase(Database):
|
|
|
980
980
|
def is_connection_usable(self) -> bool: ...
|
|
981
981
|
def default_values_insert(self, ctx): ...
|
|
982
982
|
def begin(self, isolation_level: str | None = None) -> None: ...
|
|
983
|
-
def get_tables(self, schema: str | None = None): ...
|
|
983
|
+
def get_tables(self, schema: str | None = None) -> list[str]: ...
|
|
984
984
|
def get_views(self, schema: str | None = None) -> list[ViewMetadata]: ...
|
|
985
985
|
def get_indexes(self, table, schema: str | None = None) -> list[IndexMetadata]: ...
|
|
986
986
|
def get_columns(self, table, schema: str | None = None) -> list[ColumnMetadata]: ...
|
|
@@ -61,7 +61,7 @@ class spawn(SpawnBase[AnyStr]):
|
|
|
61
61
|
def eof(self) -> bool: ...
|
|
62
62
|
def terminate(self, force: bool = False) -> bool: ...
|
|
63
63
|
status: int | None
|
|
64
|
-
exitstatus:
|
|
64
|
+
exitstatus: int | None
|
|
65
65
|
signalstatus: int | None
|
|
66
66
|
terminated: bool
|
|
67
67
|
def wait(self) -> int: ...
|
|
@@ -1,20 +1,23 @@
|
|
|
1
|
-
from _typeshed import Incomplete
|
|
2
1
|
from logging import Logger
|
|
3
|
-
from typing import ClassVar
|
|
4
|
-
from typing_extensions import TypeAlias
|
|
2
|
+
from typing import ClassVar, Protocol
|
|
5
3
|
|
|
6
4
|
from .spec import Connection
|
|
7
5
|
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
class _Credentials(Protocol):
|
|
7
|
+
TYPE: ClassVar[str]
|
|
8
|
+
erase_on_connect: bool
|
|
9
|
+
def __eq__(self, other: object) -> bool: ...
|
|
10
|
+
def __ne__(self, other: object) -> bool: ...
|
|
11
|
+
def response_for(self, start: Connection.Start) -> tuple[str | None, bytes | None]: ...
|
|
12
|
+
def erase_credentials(self) -> None: ...
|
|
10
13
|
|
|
11
14
|
LOGGER: Logger
|
|
12
15
|
|
|
13
16
|
class PlainCredentials:
|
|
14
17
|
TYPE: ClassVar[str]
|
|
18
|
+
erase_on_connect: bool
|
|
15
19
|
username: str
|
|
16
20
|
password: str
|
|
17
|
-
erase_on_connect: bool
|
|
18
21
|
def __init__(self, username: str, password: str, erase_on_connect: bool = False) -> None: ...
|
|
19
22
|
def __eq__(self, other: object) -> bool: ...
|
|
20
23
|
def __ne__(self, other: object) -> bool: ...
|
|
@@ -30,4 +33,4 @@ class ExternalCredentials:
|
|
|
30
33
|
def response_for(self, start: Connection.Start) -> tuple[str | None, bytes | None]: ...
|
|
31
34
|
def erase_credentials(self) -> None: ...
|
|
32
35
|
|
|
33
|
-
VALID_TYPES:
|
|
36
|
+
VALID_TYPES: list[_Credentials]
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
from collections.abc import Callable
|
|
2
|
+
from pathlib import Path
|
|
2
3
|
from typing import IO, Any, Generic, Literal, SupportsIndex, TypeVar, overload
|
|
3
4
|
|
|
4
5
|
_TB = TypeVar("_TB", bound=_BaseEntry)
|
|
@@ -11,9 +12,9 @@ default_encoding: str
|
|
|
11
12
|
# encoding: str
|
|
12
13
|
# check_for_duplicates: bool
|
|
13
14
|
@overload
|
|
14
|
-
def pofile(pofile: str, *, klass: type[_TP], **kwargs: Any) -> _TP: ...
|
|
15
|
+
def pofile(pofile: str | Path, *, klass: type[_TP], **kwargs: Any) -> _TP: ...
|
|
15
16
|
@overload
|
|
16
|
-
def pofile(pofile: str, **kwargs: Any) -> POFile: ...
|
|
17
|
+
def pofile(pofile: str | Path, **kwargs: Any) -> POFile: ...
|
|
17
18
|
@overload
|
|
18
19
|
def mofile(mofile: str, *, klass: type[_TM], **kwargs: Any) -> _TM: ...
|
|
19
20
|
@overload
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Using an exact number in the specifier for scripts/sync_protobuf/google_protobuf.py
|
|
2
|
-
version = "~=5.
|
|
2
|
+
version = "~=5.29.1"
|
|
3
3
|
upstream_repository = "https://github.com/protocolbuffers/protobuf"
|
|
4
|
-
extra_description = "Partially generated using [mypy-protobuf==3.6.0](https://github.com/nipunn1313/mypy-protobuf/tree/v3.6.0) and libprotoc
|
|
4
|
+
extra_description = "Partially generated using [mypy-protobuf==3.6.0](https://github.com/nipunn1313/mypy-protobuf/tree/v3.6.0) and libprotoc 28.1 on [protobuf v29.1](https://github.com/protocolbuffers/protobuf/releases/tag/v29.1) (python `protobuf==5.29.1`)."
|
|
5
5
|
partial_stub = true
|
|
6
6
|
|
|
7
7
|
[tool.stubtest]
|
|
@@ -220,7 +220,7 @@ class Mixin(google.protobuf.message.Message):
|
|
|
220
220
|
The mixin construct implies that all methods in `AccessControl` are
|
|
221
221
|
also declared with same name and request/response types in
|
|
222
222
|
`Storage`. A documentation generator or annotation processor will
|
|
223
|
-
see the effective `Storage.GetAcl` method after
|
|
223
|
+
see the effective `Storage.GetAcl` method after inheriting
|
|
224
224
|
documentation and annotations as follows:
|
|
225
225
|
|
|
226
226
|
service Storage {
|
|
@@ -54,7 +54,7 @@ class _EditionEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTy
|
|
|
54
54
|
EDITION_2024: _Edition.ValueType # 1001
|
|
55
55
|
EDITION_1_TEST_ONLY: _Edition.ValueType # 1
|
|
56
56
|
"""Placeholder editions for testing feature resolution. These should not be
|
|
57
|
-
used or
|
|
57
|
+
used or relied on outside of tests.
|
|
58
58
|
"""
|
|
59
59
|
EDITION_2_TEST_ONLY: _Edition.ValueType # 2
|
|
60
60
|
EDITION_99997_TEST_ONLY: _Edition.ValueType # 99997
|
|
@@ -90,7 +90,7 @@ comparison.
|
|
|
90
90
|
EDITION_2024: Edition.ValueType # 1001
|
|
91
91
|
EDITION_1_TEST_ONLY: Edition.ValueType # 1
|
|
92
92
|
"""Placeholder editions for testing feature resolution. These should not be
|
|
93
|
-
used or
|
|
93
|
+
used or relied on outside of tests.
|
|
94
94
|
"""
|
|
95
95
|
EDITION_2_TEST_ONLY: Edition.ValueType # 2
|
|
96
96
|
EDITION_99997_TEST_ONLY: Edition.ValueType # 99997
|
|
@@ -1188,10 +1188,7 @@ class FieldOptions(google.protobuf.message.Message):
|
|
|
1188
1188
|
RETENTION_SOURCE: FieldOptions._OptionRetention.ValueType # 2
|
|
1189
1189
|
|
|
1190
1190
|
class OptionRetention(_OptionRetention, metaclass=_OptionRetentionEnumTypeWrapper):
|
|
1191
|
-
"""If set to RETENTION_SOURCE, the option will be omitted from the binary.
|
|
1192
|
-
Note: as of January 2023, support for this is in progress and does not yet
|
|
1193
|
-
have an effect (b/264593489).
|
|
1194
|
-
"""
|
|
1191
|
+
"""If set to RETENTION_SOURCE, the option will be omitted from the binary."""
|
|
1195
1192
|
|
|
1196
1193
|
RETENTION_UNKNOWN: FieldOptions.OptionRetention.ValueType # 0
|
|
1197
1194
|
RETENTION_RUNTIME: FieldOptions.OptionRetention.ValueType # 1
|
|
@@ -1217,8 +1214,7 @@ class FieldOptions(google.protobuf.message.Message):
|
|
|
1217
1214
|
class OptionTargetType(_OptionTargetType, metaclass=_OptionTargetTypeEnumTypeWrapper):
|
|
1218
1215
|
"""This indicates the types of entities that the field may apply to when used
|
|
1219
1216
|
as an option. If it is unset, then the field may be freely used as an
|
|
1220
|
-
option on any kind of entity.
|
|
1221
|
-
in progress and does not yet have an effect (b/264593489).
|
|
1217
|
+
option on any kind of entity.
|
|
1222
1218
|
"""
|
|
1223
1219
|
|
|
1224
1220
|
TARGET_TYPE_UNKNOWN: FieldOptions.OptionTargetType.ValueType # 0
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
from enum import Enum
|
|
2
|
+
from typing import Final
|
|
3
|
+
|
|
4
|
+
class Domain(Enum):
|
|
5
|
+
GOOGLE_INTERNAL = 1
|
|
6
|
+
PUBLIC = 2
|
|
7
|
+
|
|
8
|
+
OSS_DOMAIN: Final[Domain]
|
|
9
|
+
OSS_MAJOR: Final[int]
|
|
10
|
+
OSS_MINOR: Final[int]
|
|
11
|
+
OSS_PATCH: Final[int]
|
|
12
|
+
OSS_SUFFIX: Final[str]
|
|
13
|
+
DOMAIN: Final[Domain]
|
|
14
|
+
MAJOR: Final[int]
|
|
15
|
+
MINOR: Final[int]
|
|
16
|
+
PATCH: Final[int]
|
|
17
|
+
SUFFIX: Final[str]
|
|
18
|
+
|
|
19
|
+
class VersionError(Exception): ...
|
|
20
|
+
|
|
21
|
+
def ValidateProtobufRuntimeVersion(
|
|
22
|
+
gen_domain: Domain, gen_major: int, gen_minor: int, gen_patch: int, gen_suffix: str, location: str
|
|
23
|
+
) -> None: ...
|