basedpyright 1.36.2 → 1.37.0-961d59bacff1958014fe4e9ed2ef3116fe2266e2
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 +6 -6
- package/dist/typeshed-fallback/commit.txt +1 -1
- package/dist/typeshed-fallback/stdlib/_compression.pyi +13 -2
- package/dist/typeshed-fallback/stdlib/_ctypes.pyi +49 -16
- package/dist/typeshed-fallback/stdlib/_winapi.pyi +9 -0
- package/dist/typeshed-fallback/stdlib/_zstd.pyi +7 -2
- package/dist/typeshed-fallback/stdlib/argparse.pyi +39 -10
- package/dist/typeshed-fallback/stdlib/asyncio/coroutines.pyi +27 -8
- package/dist/typeshed-fallback/stdlib/asyncio/protocols.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/asyncio/runners.pyi +5 -2
- package/dist/typeshed-fallback/stdlib/asyncio/trsock.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/builtins.pyi +54 -31
- package/dist/typeshed-fallback/stdlib/calendar.pyi +3 -1
- package/dist/typeshed-fallback/stdlib/codecs.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/compression/_common/_streams.pyi +13 -2
- package/dist/typeshed-fallback/stdlib/compression/zstd/__init__.pyi +7 -2
- package/dist/typeshed-fallback/stdlib/compression/zstd/_zstdfile.pyi +6 -6
- package/dist/typeshed-fallback/stdlib/contextlib.pyi +15 -6
- package/dist/typeshed-fallback/stdlib/ctypes/__init__.pyi +3 -0
- package/dist/typeshed-fallback/stdlib/enum.pyi +2 -0
- package/dist/typeshed-fallback/stdlib/heapq.pyi +5 -0
- package/dist/typeshed-fallback/stdlib/html/parser.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/http/client.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/imaplib.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/importlib/readers.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/importlib/resources/abc.pyi +3 -2
- package/dist/typeshed-fallback/stdlib/importlib/resources/simple.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/importlib/util.pyi +15 -1
- package/dist/typeshed-fallback/stdlib/ipaddress.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/locale.pyi +4 -0
- package/dist/typeshed-fallback/stdlib/mimetypes.pyi +6 -6
- package/dist/typeshed-fallback/stdlib/mmap.pyi +12 -12
- package/dist/typeshed-fallback/stdlib/multiprocessing/dummy/__init__.pyi +20 -8
- package/dist/typeshed-fallback/stdlib/multiprocessing/managers.pyi +4 -1
- package/dist/typeshed-fallback/stdlib/multiprocessing/process.pyi +4 -0
- package/dist/typeshed-fallback/stdlib/multiprocessing/synchronize.pyi +3 -0
- package/dist/typeshed-fallback/stdlib/optparse.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/os/__init__.pyi +217 -127
- package/dist/typeshed-fallback/stdlib/parser.pyi +4 -4
- package/dist/typeshed-fallback/stdlib/pathlib/__init__.pyi +11 -0
- package/dist/typeshed-fallback/stdlib/pdb.pyi +14 -4
- package/dist/typeshed-fallback/stdlib/pyexpat/__init__.pyi +6 -0
- package/dist/typeshed-fallback/stdlib/select.pyi +8 -4
- package/dist/typeshed-fallback/stdlib/socket.pyi +15 -0
- package/dist/typeshed-fallback/stdlib/sqlite3/__init__.pyi +3 -2
- package/dist/typeshed-fallback/stdlib/ssl.pyi +3 -0
- package/dist/typeshed-fallback/stdlib/stat.pyi +108 -1
- package/dist/typeshed-fallback/stdlib/subprocess.pyi +60 -61
- package/dist/typeshed-fallback/stdlib/sys/__init__.pyi +41 -4
- package/dist/typeshed-fallback/stdlib/sys/_monitoring.pyi +8 -4
- package/dist/typeshed-fallback/stdlib/sysconfig.pyi +13 -4
- package/dist/typeshed-fallback/stdlib/tarfile.pyi +6 -6
- package/dist/typeshed-fallback/stdlib/threading.pyi +9 -4
- package/dist/typeshed-fallback/stdlib/tkinter/constants.pyi +6 -6
- package/dist/typeshed-fallback/stdlib/tkinter/ttk.pyi +14 -6
- package/dist/typeshed-fallback/stdlib/types.pyi +8 -11
- package/dist/typeshed-fallback/stdlib/typing.pyi +18 -12
- package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/unittest/mock.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/unittest/util.pyi +19 -2
- package/dist/typeshed-fallback/stdlib/urllib/request.pyi +7 -0
- package/dist/typeshed-fallback/stdlib/uuid.pyi +6 -5
- package/dist/typeshed-fallback/stdlib/winreg.pyi +3 -3
- package/dist/typeshed-fallback/stdlib/xml/etree/ElementTree.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/zipfile/__init__.pyi +2 -0
- package/dist/typeshed-fallback/stdlib/zlib.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Authlib/METADATA.toml +1 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/common/urls.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/async_app.pyi +4 -3
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/async_openid.pyi +4 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/framework_integration.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/registry.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/sync_app.pyi +3 -3
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/sync_openid.pyi +4 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_client/__init__.pyi +10 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_client/apps.pyi +14 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_client/integration.pyi +11 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_oauth1/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_oauth1/authorization_server.pyi +26 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_oauth1/nonce.pyi +1 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_oauth1/resource_protector.pyi +14 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_oauth2/__init__.pyi +8 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_oauth2/authorization_server.pyi +24 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_oauth2/endpoints.pyi +5 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_oauth2/requests.pyi +20 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_oauth2/resource_protector.pyi +15 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_oauth2/signals.pyi +6 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_client/__init__.pyi +20 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_client/apps.pyi +18 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_client/integration.pyi +10 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_oauth1/__init__.pyi +7 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_oauth1/authorization_server.pyi +29 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_oauth1/cache.pyi +8 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_oauth1/resource_protector.pyi +18 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_oauth2/__init__.pyi +7 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_oauth2/authorization_server.pyi +23 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_oauth2/errors.pyi +14 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_oauth2/requests.pyi +27 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_oauth2/resource_protector.pyi +15 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_oauth2/signals.pyi +5 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/httpx_client/__init__.pyi +37 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/httpx_client/assertion_client.pyi +50 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/httpx_client/oauth1_client.pyi +56 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/httpx_client/oauth2_client.pyi +72 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/httpx_client/utils.pyi +7 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/requests_client/__init__.pyi +28 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/requests_client/assertion_session.pyi +31 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/requests_client/oauth1_session.pyi +29 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/requests_client/oauth2_session.pyi +43 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/requests_client/utils.pyi +6 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/sqla_oauth2/__init__.pyi +20 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/sqla_oauth2/client_mixin.pyi +55 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/sqla_oauth2/functions.pyi +21 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/sqla_oauth2/tokens_mixins.pyi +39 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/starlette_client/__init__.pyi +14 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/starlette_client/apps.pyi +16 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/starlette_client/integration.pyi +13 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/drafts/_jwe_algorithms.pyi +12 -10
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/drafts/_jwe_enc_cryptography.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/jwk.pyi +6 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7515/jws.pyi +6 -4
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7515/models.pyi +3 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7516/jwe.pyi +9 -8
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7516/models.pyi +12 -11
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/_cryptography_key.pyi +35 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/asymmetric_key.pyi +6 -5
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/base_key.pyi +8 -8
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/jwk.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/key_set.pyi +3 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/jwe_algs.pyi +28 -23
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/jwe_encs.pyi +6 -5
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/jws_algs.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/oct_key.pyi +5 -4
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/rsa_key.pyi +2 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/util.pyi +4 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7519/jwt.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc8037/jws_eddsa.pyi +4 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc8037/okp_key.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/client.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/authorization_server.pyi +7 -7
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/base_server.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/client_auth.pyi +6 -6
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/errors.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/models.pyi +8 -8
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/parameters.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/resource_protector.pyi +4 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/rsa.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/signature.pyi +20 -18
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/util.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/base.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/client.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/authorization_server.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/authorization_code.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/base.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/resource_owner_password_credentials.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/parameters.pyi +5 -3
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/resource_protector.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/token_endpoint.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/wrappers.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6750/errors.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6750/parameters.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6750/validator.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7009/revocation.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/assertion.pyi +3 -3
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/auth.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/client.pyi +5 -3
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/jwt_bearer.pyi +6 -5
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7591/endpoint.pyi +4 -4
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7592/endpoint.pyi +8 -8
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7662/introspection.pyi +3 -3
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7662/token_validator.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8414/well_known.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8628/device_code.pyi +3 -3
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8628/endpoint.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8628/models.pyi +4 -4
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/introspection.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/revocation.pyi +3 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/token.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/token_validator.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/claims.pyi +6 -8
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/grants/code.pyi +2 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/grants/hybrid.pyi +4 -4
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/grants/implicit.pyi +6 -4
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/userinfo.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/util.pyi +7 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/discovery/models.pyi +1 -3
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/discovery/well_known.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Deprecated/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/Deprecated/deprecated/__init__.pyi +7 -2
- package/dist/typeshed-fallback/stubs/Deprecated/deprecated/params.pyi +20 -0
- package/dist/typeshed-fallback/stubs/Flask-SocketIO/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/Markdown/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/Markdown/markdown/htmlparser.pyi +2 -0
- package/dist/typeshed-fallback/stubs/PyMySQL/pymysql/cursors.pyi +1 -0
- package/dist/typeshed-fallback/stubs/Pygments/pygments/console.pyi +4 -4
- package/dist/typeshed-fallback/stubs/Pygments/pygments/filter.pyi +3 -3
- package/dist/typeshed-fallback/stubs/Pygments/pygments/filters/__init__.pyi +14 -14
- package/dist/typeshed-fallback/stubs/Pygments/pygments/formatter.pyi +10 -9
- package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/__init__.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/_mapping.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/bbcode.pyi +5 -4
- package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/html.pyi +27 -26
- package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/img.pyi +33 -32
- package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/irc.pyi +7 -6
- package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/latex.pyi +21 -20
- package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/other.pyi +9 -8
- package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/pangomarkup.pyi +5 -4
- package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/rtf.pyi +6 -5
- package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/svg.pyi +15 -14
- package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/terminal.pyi +7 -6
- package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/terminal256.pyi +18 -17
- package/dist/typeshed-fallback/stubs/Pygments/pygments/lexers/__init__.pyi +6 -7
- package/dist/typeshed-fallback/stubs/Pygments/pygments/plugin.pyi +5 -5
- package/dist/typeshed-fallback/stubs/Pygments/pygments/regexopt.pyi +3 -3
- package/dist/typeshed-fallback/stubs/Pygments/pygments/scanner.pyi +6 -6
- package/dist/typeshed-fallback/stubs/Pygments/pygments/unistring.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Pygments/pygments/util.pyi +5 -5
- package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/BufferedTokenStream.pyi +14 -15
- package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/CommonTokenFactory.pyi +15 -7
- package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/CommonTokenStream.pyi +1 -3
- package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/FileStream.pyi +2 -4
- package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/InputStream.pyi +13 -11
- package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/Lexer.pyi +43 -29
- package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/Parser.pyi +47 -34
- package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/ParserInterpreter.pyi +13 -13
- package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/ParserRuleContext.pyi +30 -23
- package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/Recognizer.pyi +26 -17
- package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/RuleContext.pyi +22 -20
- package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/Token.pyi +26 -25
- package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/tree/Tree.pyi +30 -26
- package/dist/typeshed-fallback/stubs/assertpy/assertpy/assertpy.pyi +13 -10
- package/dist/typeshed-fallback/stubs/assertpy/assertpy/base.pyi +4 -5
- package/dist/typeshed-fallback/stubs/assertpy/assertpy/collection.pyi +12 -4
- package/dist/typeshed-fallback/stubs/assertpy/assertpy/contains.pyi +10 -8
- package/dist/typeshed-fallback/stubs/assertpy/assertpy/dict.pyi +8 -6
- package/dist/typeshed-fallback/stubs/assertpy/assertpy/dynamic.pyi +1 -1
- package/dist/typeshed-fallback/stubs/assertpy/assertpy/extracting.pyi +4 -2
- package/dist/typeshed-fallback/stubs/assertpy/assertpy/file.pyi +2 -3
- package/dist/typeshed-fallback/stubs/atheris/METADATA.toml +6 -0
- package/dist/typeshed-fallback/stubs/atheris/atheris/__init__.pyi +9 -0
- package/dist/typeshed-fallback/stubs/atheris/atheris/function_hooks.pyi +14 -0
- package/dist/typeshed-fallback/stubs/atheris/atheris/import_hook.pyi +36 -0
- package/dist/typeshed-fallback/stubs/atheris/atheris/instrument_bytecode.pyi +7 -0
- package/dist/typeshed-fallback/stubs/atheris/atheris/utils.pyi +18 -0
- package/dist/typeshed-fallback/stubs/atheris/atheris/version_dependent.pyi +27 -0
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/__init__.pyi +2 -1
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/async_context.pyi +15 -5
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/async_recorder.pyi +28 -9
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/context.pyi +7 -7
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/daemon_config.pyi +9 -7
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/emitters/udp_emitter.pyi +2 -2
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/lambda_launcher.pyi +8 -12
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/models/entity.pyi +1 -1
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/models/facade_segment.pyi +1 -1
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/models/http.pyi +9 -9
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/models/segment.pyi +1 -1
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/models/subsegment.pyi +3 -2
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/models/throwable.pyi +11 -3
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/patcher.pyi +3 -2
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/plugins/ec2_plugin.pyi +3 -3
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/plugins/ecs_plugin.pyi +2 -2
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/plugins/elasticbeanstalk_plugin.pyi +3 -3
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/recorder.pyi +19 -15
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/sampling/rule_cache.pyi +1 -1
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/sampling/sampler.pyi +3 -1
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/sampling/sampling_rule.pyi +23 -13
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/sampling/target_poller.pyi +5 -1
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/ext/psycopg/__init__.pyi +3 -0
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/ext/psycopg/patch.pyi +1 -0
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/ext/util.pyi +1 -1
- package/dist/typeshed-fallback/stubs/bleach/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/bleach/bleach/html5lib_shim.pyi +1 -1
- package/dist/typeshed-fallback/stubs/bleach/bleach/linkifier.pyi +1 -1
- package/dist/typeshed-fallback/stubs/bleach/bleach/sanitizer.pyi +2 -2
- package/dist/typeshed-fallback/stubs/braintree/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/address.pyi +8 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/address_gateway.pyi +3 -2
- package/dist/typeshed-fallback/stubs/braintree/braintree/client_token.pyi +5 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/client_token_gateway.pyi +5 -3
- package/dist/typeshed-fallback/stubs/braintree/braintree/error_codes.pyi +11 -2
- package/dist/typeshed-fallback/stubs/braintree/braintree/payment_method.pyi +30 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/payment_method_gateway.pyi +30 -2
- package/dist/typeshed-fallback/stubs/braintree/braintree/subscription.pyi +10 -5
- package/dist/typeshed-fallback/stubs/braintree/braintree/subscription_details.pyi +5 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/subscription_gateway.pyi +12 -5
- package/dist/typeshed-fallback/stubs/braintree/braintree/transaction.pyi +6 -2
- package/dist/typeshed-fallback/stubs/braintree/braintree/transaction_gateway.pyi +5 -2
- package/dist/typeshed-fallback/stubs/colorful/METADATA.toml +2 -0
- package/dist/typeshed-fallback/stubs/colorful/colorful/ansi.pyi +14 -0
- package/dist/typeshed-fallback/stubs/colorful/colorful/colors.pyi +6 -0
- package/dist/typeshed-fallback/stubs/colorful/colorful/core.pyi +102 -0
- package/dist/typeshed-fallback/stubs/colorful/colorful/styles.pyi +4 -0
- package/dist/typeshed-fallback/stubs/colorful/colorful/terminal.pyi +16 -0
- package/dist/typeshed-fallback/stubs/colorful/colorful/utils.pyi +2 -0
- package/dist/typeshed-fallback/stubs/decorator/decorator.pyi +2 -2
- package/dist/typeshed-fallback/stubs/django-filter/django_filters/filterset.pyi +3 -1
- package/dist/typeshed-fallback/stubs/docker/docker/api/container.pyi +6 -1
- package/dist/typeshed-fallback/stubs/docker/docker/api/daemon.pyi +12 -4
- package/dist/typeshed-fallback/stubs/docker/docker/api/exec_api.pyi +123 -7
- package/dist/typeshed-fallback/stubs/docker/docker/client.pyi +12 -8
- package/dist/typeshed-fallback/stubs/docker/docker/models/containers.pyi +27 -17
- package/dist/typeshed-fallback/stubs/docker/docker/models/images.pyi +1 -1
- package/dist/typeshed-fallback/stubs/docker/docker/models/resource.pyi +5 -5
- package/dist/typeshed-fallback/stubs/docutils/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/body.pyi +10 -0
- package/dist/typeshed-fallback/stubs/et_xmlfile/METADATA.toml +2 -0
- package/dist/typeshed-fallback/stubs/et_xmlfile/et_xmlfile/__init__.pyi +9 -0
- package/dist/typeshed-fallback/stubs/et_xmlfile/et_xmlfile/incremental_tree.pyi +170 -0
- package/dist/typeshed-fallback/stubs/et_xmlfile/et_xmlfile/xmlfile.pyi +37 -0
- package/dist/typeshed-fallback/stubs/fanstatic/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/flake8-bugbear/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/flake8-bugbear/bugbear.pyi +37 -65
- package/dist/typeshed-fallback/stubs/flake8-builtins/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/flake8-simplify/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/flake8-simplify/flake8_simplify/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/flake8-simplify/flake8_simplify/constants.pyi +6 -3
- package/dist/typeshed-fallback/stubs/flake8-simplify/flake8_simplify/utils.pyi +0 -1
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/drawing.pyi +145 -81
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/text_region.pyi +1 -1
- package/dist/typeshed-fallback/stubs/geopandas/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/geopandas/geopandas/array.pyi +7 -14
- package/dist/typeshed-fallback/stubs/geopandas/geopandas/geodataframe.pyi +1 -0
- package/dist/typeshed-fallback/stubs/gevent/METADATA.toml +2 -2
- package/dist/typeshed-fallback/stubs/gevent/gevent/events.pyi +1 -12
- package/dist/typeshed-fallback/stubs/gevent/gevent/libuv/watcher.pyi +1 -0
- package/dist/typeshed-fallback/stubs/gevent/gevent/os.pyi +1 -0
- package/dist/typeshed-fallback/stubs/gevent/gevent/signal.pyi +2 -1
- package/dist/typeshed-fallback/stubs/google-cloud-ndb/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/_cache.pyi +9 -10
- package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/_datastore_query.pyi +1 -2
- package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/_eventloop.pyi +11 -10
- package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/blobstore.pyi +6 -6
- package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/context.pyi +21 -21
- package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/exceptions.pyi +2 -2
- package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/global_cache.pyi +13 -14
- package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/key.pyi +2 -3
- package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/metadata.pyi +1 -2
- package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/polymodel.pyi +2 -2
- package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/query.pyi +26 -27
- package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/stats.pyi +37 -37
- package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/tasklets.pyi +7 -7
- package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/utils.pyi +4 -4
- package/dist/typeshed-fallback/stubs/greenlet/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/arbiter.pyi +2 -2
- package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/sock.pyi +2 -0
- package/dist/typeshed-fallback/stubs/html5lib/METADATA.toml +1 -0
- package/dist/typeshed-fallback/stubs/html5lib/html5lib/_ihatexml.pyi +21 -23
- package/dist/typeshed-fallback/stubs/html5lib/html5lib/_inputstream.pyi +79 -71
- package/dist/typeshed-fallback/stubs/html5lib/html5lib/_tokenizer.pyi +87 -51
- package/dist/typeshed-fallback/stubs/html5lib/html5lib/_utils.pyi +18 -11
- package/dist/typeshed-fallback/stubs/html5lib/html5lib/constants.pyi +1 -3
- package/dist/typeshed-fallback/stubs/html5lib/html5lib/filters/alphabeticalattributes.pyi +3 -2
- package/dist/typeshed-fallback/stubs/html5lib/html5lib/filters/base.pyi +9 -6
- package/dist/typeshed-fallback/stubs/html5lib/html5lib/filters/inject_meta_charset.pyi +5 -3
- package/dist/typeshed-fallback/stubs/html5lib/html5lib/filters/lint.pyi +5 -3
- package/dist/typeshed-fallback/stubs/html5lib/html5lib/filters/optionaltags.pyi +1 -2
- package/dist/typeshed-fallback/stubs/html5lib/html5lib/filters/sanitizer.pyi +6 -6
- package/dist/typeshed-fallback/stubs/html5lib/html5lib/filters/whitespace.pyi +2 -2
- package/dist/typeshed-fallback/stubs/html5lib/html5lib/html5parser.pyi +2 -2
- package/dist/typeshed-fallback/stubs/html5lib/html5lib/serializer.pyi +75 -19
- package/dist/typeshed-fallback/stubs/html5lib/html5lib/treeadapters/sax.pyi +0 -3
- package/dist/typeshed-fallback/stubs/hvac/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/auth_methods/__init__.pyi +3 -4
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/auth_methods/aws.pyi +2 -2
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/auth_methods/azure.pyi +3 -2
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/auth_methods/gcp.pyi +3 -2
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/auth_methods/kubernetes.pyi +1 -0
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/auth_methods/legacy_mfa.pyi +2 -4
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/secrets_engines/__init__.pyi +3 -4
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/secrets_engines/identity.pyi +2 -2
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/secrets_engines/kv.pyi +3 -3
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/system_backend/__init__.pyi +3 -4
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/system_backend/system_backend_mixin.pyi +2 -2
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/system_backend/wrapping.pyi +2 -3
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/vault_api_category.pyi +2 -3
- package/dist/typeshed-fallback/stubs/icalendar/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/__init__.pyi +0 -1
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/alarms.pyi +2 -2
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/cal.pyi +16 -9
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/parser.pyi +2 -1
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/prop.pyi +3 -3
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/timezone/zoneinfo.pyi +1 -5
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/__init__.pyi +5 -5
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/abstract/__init__.pyi +3 -3
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/abstract/attrDef.pyi +13 -13
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/abstract/attribute.pyi +9 -9
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/abstract/cursor.pyi +28 -27
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/abstract/entry.pyi +11 -11
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/core/exceptions.pyi +8 -8
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/core/pooling.pyi +15 -15
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/core/rdns.pyi +7 -7
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/core/results.pyi +3 -3
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/core/server.pyi +15 -14
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/core/timezone.pyi +3 -3
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/core/tls.pyi +13 -13
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/core/usage.pyi +6 -6
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/extend/__init__.pyi +4 -4
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/extend/microsoft/dirSync.pyi +12 -12
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/extend/microsoft/persistentSearch.pyi +7 -7
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/extend/standard/PersistentSearch.pyi +13 -13
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/operation/modify.pyi +2 -2
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/operation/search.pyi +5 -5
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/protocol/formatters/formatters.pyi +2 -2
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/protocol/formatters/standard.pyi +2 -2
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/protocol/oid.pyi +2 -2
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/protocol/rfc2849.pyi +2 -2
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/protocol/rfc4512.pyi +59 -59
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/strategy/asyncStream.pyi +7 -7
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/strategy/asynchronous.pyi +6 -6
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/strategy/base.pyi +7 -7
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/strategy/ldifProducer.pyi +4 -4
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/strategy/mockAsync.pyi +2 -2
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/strategy/mockBase.pyi +9 -9
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/strategy/mockSync.pyi +2 -2
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/strategy/restartable.pyi +4 -4
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/strategy/reusable.pyi +20 -20
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/strategy/sync.pyi +3 -3
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/utils/config.pyi +2 -2
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/utils/hashed.pyi +3 -3
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/utils/log.pyi +3 -3
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/utils/ntlm.pyi +41 -41
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/utils/repr.pyi +2 -2
- package/dist/typeshed-fallback/stubs/lupa/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/netaddr/netaddr/ip/__init__.pyi +4 -1
- package/dist/typeshed-fallback/stubs/netaddr/netaddr/ip/iana.pyi +8 -8
- package/dist/typeshed-fallback/stubs/networkx/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/steinertree.pyi +4 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/treewidth.pyi +11 -7
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/assortativity/mixing.pyi +4 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/matching.pyi +3 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/matrix.pyi +8 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/closeness.pyi +2 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/current_flow_betweenness.pyi +2 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/eigenvector.pyi +3 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/katz.pyi +5 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/percolation.pyi +3 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/reaching.pyi +3 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/subgraph_alg.pyi +2 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/cluster.pyi +13 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/__init__.pyi +1 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/bipartitions.pyi +22 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/core.pyi +6 -5
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/dag.pyi +0 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/distance_regular.pyi +2 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/ismags.pyi +17 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/non_randomness.pyi +1 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/perfect_graph.pyi +7 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/planarity.pyi +13 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/similarity.pyi +19 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/threshold.pyi +0 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tree/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tree/distance_measures.pyi +10 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/wiener.pyi +3 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/classes/digraph.pyi +13 -7
- package/dist/typeshed-fallback/stubs/networkx/networkx/classes/function.pyi +3 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/classes/graph.pyi +12 -6
- package/dist/typeshed-fallback/stubs/networkx/networkx/classes/multidigraph.pyi +10 -9
- package/dist/typeshed-fallback/stubs/networkx/networkx/classes/multigraph.pyi +23 -13
- package/dist/typeshed-fallback/stubs/networkx/networkx/drawing/layout.pyi +0 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/drawing/nx_pylab.pyi +20 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/generators/expanders.pyi +9 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/generators/random_graphs.pyi +21 -16
- package/dist/typeshed-fallback/stubs/networkx/networkx/generators/small.pyi +3 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/readwrite/json_graph/node_link.pyi +2 -24
- package/dist/typeshed-fallback/stubs/networkx/networkx/utils/misc.pyi +1 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/utils/random_sequence.pyi +5 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/utils/union_find.pyi +12 -10
- package/dist/typeshed-fallback/stubs/parsimonious/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/parsimonious/parsimonious/exceptions.pyi +5 -3
- package/dist/typeshed-fallback/stubs/peewee/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/internal/containers.pyi +8 -3
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/internal/well_known_types.pyi +2 -2
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/message.pyi +1 -1
- package/dist/typeshed-fallback/stubs/psutil/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/psutil/psutil/__init__.pyi +57 -77
- package/dist/typeshed-fallback/stubs/psutil/psutil/_common.pyi +135 -262
- package/dist/typeshed-fallback/stubs/psutil/psutil/_ntuples.pyi +384 -0
- package/dist/typeshed-fallback/stubs/psutil/psutil/_psaix.pyi +100 -86
- package/dist/typeshed-fallback/stubs/psutil/psutil/_psbsd.pyi +213 -168
- package/dist/typeshed-fallback/stubs/psutil/psutil/_pslinux.pyi +181 -237
- package/dist/typeshed-fallback/stubs/psutil/psutil/_psosx.pyi +81 -100
- package/dist/typeshed-fallback/stubs/psutil/psutil/_psposix.pyi +78 -4
- package/dist/typeshed-fallback/stubs/psutil/psutil/_pssunos.pyi +141 -119
- package/dist/typeshed-fallback/stubs/psutil/psutil/_psutil_aix.pyi +58 -0
- package/dist/typeshed-fallback/stubs/psutil/psutil/_psutil_bsd.pyi +141 -0
- package/dist/typeshed-fallback/stubs/psutil/psutil/_psutil_linux.pyi +47 -15
- package/dist/typeshed-fallback/stubs/psutil/psutil/_psutil_osx.pyi +77 -49
- package/dist/typeshed-fallback/stubs/psutil/psutil/_psutil_sunos.pyi +63 -0
- package/dist/typeshed-fallback/stubs/psutil/psutil/_psutil_windows.pyi +102 -91
- package/dist/typeshed-fallback/stubs/psutil/psutil/_pswindows.pyi +175 -200
- package/dist/typeshed-fallback/stubs/pycurl/pycurl.pyi +5 -3
- package/dist/typeshed-fallback/stubs/pyinstaller/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/python-crontab/crontab.pyi +4 -4
- package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/parser/_parser.pyi +6 -7
- package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/rrule.pyi +28 -25
- package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/tz/_common.pyi +8 -3
- package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/tz/tz.pyi +21 -19
- package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/tz/win.pyi +5 -4
- package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/zoneinfo/__init__.pyi +2 -1
- package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/zoneinfo/rebuild.pyi +5 -1
- package/dist/typeshed-fallback/stubs/python-jenkins/jenkins/__init__.pyi +13 -6
- package/dist/typeshed-fallback/stubs/pytz/pytz/lazy.pyi +2 -2
- package/dist/typeshed-fallback/stubs/pyxdg/xdg/RecentFiles.pyi +5 -7
- package/dist/typeshed-fallback/stubs/qrbill/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/qrbill/qrbill/bill.pyi +10 -0
- package/dist/typeshed-fallback/stubs/regex/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/regex/regex/__init__.pyi +64 -1
- package/dist/typeshed-fallback/stubs/regex/regex/{regex.pyi → _main.pyi} +66 -0
- package/dist/typeshed-fallback/stubs/regex/regex/_regex.pyi +1 -1
- package/dist/typeshed-fallback/stubs/regex/regex/_regex_core.pyi +59 -19
- package/dist/typeshed-fallback/stubs/reportlab/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/testutils.pyi +27 -25
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/flowables.pyi +1 -1
- package/dist/typeshed-fallback/stubs/requests/requests/exceptions.pyi +2 -1
- package/dist/typeshed-fallback/stubs/seaborn/seaborn/_core/data.pyi +2 -3
- package/dist/typeshed-fallback/stubs/seaborn/seaborn/_core/typing.pyi +0 -2
- package/dist/typeshed-fallback/stubs/seaborn/seaborn/categorical.pyi +1 -1
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/__init__.pyi +102 -45
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/cmd.pyi +6 -3
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/compilers/C/base.pyi +8 -2
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/compilers/C/msvc.pyi +3 -0
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/spawn.pyi +14 -4
- package/dist/typeshed-fallback/stubs/simple-websocket/METADATA.toml +3 -0
- package/dist/typeshed-fallback/stubs/simple-websocket/simple_websocket/__init__.pyi +3 -0
- package/dist/typeshed-fallback/stubs/simple-websocket/simple_websocket/aiows.pyi +130 -0
- package/dist/typeshed-fallback/stubs/simple-websocket/simple_websocket/asgi.pyi +44 -0
- package/dist/typeshed-fallback/stubs/simple-websocket/simple_websocket/errors.pyi +12 -0
- package/dist/typeshed-fallback/stubs/simple-websocket/simple_websocket/ws.pyi +136 -0
- package/dist/typeshed-fallback/stubs/tensorflow/METADATA.toml +16 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/__init__.pyi +437 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/_aliases.pyi +70 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/audio.pyi +7 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/autodiff.pyi +63 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/autograph/__init__.pyi +17 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/autograph/experimental.pyi +30 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/bitwise.pyi +37 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/compiler/xla/service/hlo_pb2.pyi +2113 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/compiler/xla/service/hlo_profile_printer_data_pb2.pyi +187 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/compiler/xla/service/metrics_pb2.pyi +283 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/compiler/xla/service/test_compilation_environment_pb2.pyi +59 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/compiler/xla/service/xla_compile_result_pb2.pyi +167 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/compiler/xla/tsl/protobuf/bfc_memory_map_pb2.pyi +218 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/compiler/xla/tsl/protobuf/test_log_pb2.pyi +707 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/compiler/xla/xla_data_pb2.pyi +2681 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/compiler/xla/xla_pb2.pyi +2558 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/config/__init__.pyi +12 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/config/experimental.pyi +16 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/example/example_parser_configuration_pb2.pyi +153 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/example/example_pb2.pyi +330 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/example/feature_pb2.pyi +222 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/allocation_description_pb2.pyi +64 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/api_def_pb2.pyi +312 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/attr_value_pb2.pyi +274 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/cost_graph_pb2.pyi +229 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/cpp_shape_inference_pb2.pyi +110 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/dataset_metadata_pb2.pyi +25 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/dataset_options_pb2.pyi +720 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/dataset_pb2.pyi +116 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/device_attributes_pb2.pyi +140 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/full_type_pb2.pyi +617 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/function_pb2.pyi +309 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/graph_debug_info_pb2.pyi +210 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/graph_pb2.pyi +100 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/graph_transfer_info_pb2.pyi +290 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/kernel_def_pb2.pyi +116 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/log_memory_pb2.pyi +218 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/model_pb2.pyi +368 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/node_def_pb2.pyi +192 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/op_def_pb2.pyi +391 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/optimized_function_graph_pb2.pyi +166 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/reader_base_pb2.pyi +52 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/resource_handle_pb2.pyi +104 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/step_stats_pb2.pyi +332 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/summary_pb2.pyi +368 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/tensor_description_pb2.pyi +49 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/tensor_pb2.pyi +235 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/tensor_shape_pb2.pyi +74 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/tensor_slice_pb2.pyi +56 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/types_pb2.pyi +220 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/variable_pb2.pyi +229 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/versions_pb2.pyi +57 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/bfc_memory_map_pb2.pyi +15 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/cluster_pb2.pyi +126 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/composite_tensor_variant_pb2.pyi +33 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/config_pb2.pyi +1867 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/control_flow_pb2.pyi +243 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/core_platform_payloads_pb2.pyi +66 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/data_service_pb2.pyi +243 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/debug_event_pb2.pyi +746 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/debug_pb2.pyi +199 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/device_filters_pb2.pyi +124 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/device_properties_pb2.pyi +154 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/error_codes_pb2.pyi +33 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/fingerprint_pb2.pyi +76 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/meta_graph_pb2.pyi +735 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/named_tensor_pb2.pyi +41 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/queue_runner_pb2.pyi +73 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/remote_tensor_handle_pb2.pyi +96 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/rewriter_config_pb2.pyi +588 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/rpc_options_pb2.pyi +9 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/saved_model_pb2.pyi +51 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/saved_object_graph_pb2.pyi +715 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/saver_pb2.pyi +113 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/service_config_pb2.pyi +275 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/snapshot_pb2.pyi +164 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/status_pb2.pyi +13 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/struct_pb2.pyi +536 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/tensor_bundle_pb2.pyi +160 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/tensorflow_server_pb2.pyi +125 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/tpu/compilation_result_pb2.pyi +85 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/tpu/dynamic_padding_pb2.pyi +47 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/tpu/optimization_parameters_pb2.pyi +1326 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/tpu/topology_pb2.pyi +149 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/tpu/tpu_embedding_configuration_pb2.pyi +326 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/trackable_object_graph_pb2.pyi +213 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/transport_options_pb2.pyi +28 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/verifier_config_pb2.pyi +65 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/util/event_pb2.pyi +419 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/util/memmapped_file_system_pb2.pyi +65 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/util/saved_tensor_slice_pb2.pyi +171 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/util/test_log_pb2.pyi +24 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/data/__init__.pyi +272 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/data/experimental.pyi +32 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/distribute/__init__.pyi +3 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/distribute/coordinator.pyi +3 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/distribute/experimental/coordinator.pyi +11 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/dtypes.pyi +57 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/experimental/__init__.pyi +10 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/experimental/dtensor.pyi +19 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/feature_column/__init__.pyi +95 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/initializers.pyi +1 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/io/__init__.pyi +104 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/io/gfile.pyi +11 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/__init__.pyi +15 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/activations.pyi +35 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/callbacks.pyi +170 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/constraints.pyi +16 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/initializers.pyi +50 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/layers/__init__.pyi +446 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/losses.pyi +177 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/metrics.pyi +117 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/models.pyi +167 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/optimizers/__init__.pyi +7 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/optimizers/legacy/__init__.pyi +61 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/optimizers/schedules.pyi +103 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/regularizers.pyi +21 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/linalg.pyi +55 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/math.pyi +298 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/nn.pyi +194 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/distribute/distribute_lib.pyi +5 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/feature_column/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/feature_column/feature_column_v2.pyi +273 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/feature_column/sequence_feature_column.pyi +30 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/framework/dtypes.pyi +7 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/keras/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/keras/protobuf/projector_config_pb2.pyi +129 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/keras/protobuf/saved_metadata_pb2.pyi +89 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/keras/protobuf/versions_pb2.pyi +63 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/trackable/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/trackable/autotrackable.pyi +3 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/trackable/base.pyi +5 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/trackable/resource.pyi +9 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/trackable/ressource.pyi +7 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/training/tracking/autotrackable.pyi +3 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/random.pyi +231 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/raw_ops.pyi +44 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/saved_model/__init__.pyi +125 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/saved_model/experimental.pyi +39 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/signal.pyi +6 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/sparse.pyi +31 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/strings.pyi +241 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/summary.pyi +58 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/train/__init__.pyi +74 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/train/experimental.pyi +12 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/tsl/protobuf/coordination_config_pb2.pyi +156 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/tsl/protobuf/coordination_service_pb2.pyi +666 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/tsl/protobuf/distributed_runtime_payloads_pb2.pyi +69 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/tsl/protobuf/dnn_pb2.pyi +619 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/tsl/protobuf/error_codes_pb2.pyi +291 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/tsl/protobuf/histogram_pb2.pyi +78 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/tsl/protobuf/rpc_options_pb2.pyi +85 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/tsl/protobuf/status_pb2.pyi +34 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/types/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/types/experimental.pyi +30 -0
- package/dist/typeshed-fallback/stubs/ttkthemes/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/ttkthemes/ttkthemes/themed_style.pyi +1 -1
- package/dist/typeshed-fallback/stubs/ttkthemes/ttkthemes/themed_tk.pyi +11 -12
- package/dist/typeshed-fallback/stubs/tzdata/METADATA.toml +2 -0
- package/dist/typeshed-fallback/stubs/tzdata/tzdata/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/webencodings/METADATA.toml +2 -0
- package/dist/typeshed-fallback/stubs/webencodings/webencodings/__init__.pyi +33 -0
- package/dist/typeshed-fallback/stubs/webencodings/webencodings/labels.pyi +3 -0
- package/dist/typeshed-fallback/stubs/webencodings/webencodings/mklabels.pyi +5 -0
- package/dist/typeshed-fallback/stubs/webencodings/webencodings/x_user_defined.pyi +21 -0
- package/dist/typeshed-fallback/stubs/yt-dlp/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/__init__.pyi +2 -0
- package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/extractor/common.pyi +1 -0
- package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/globals.pyi +12 -1
- package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/utils/_jsruntime.pyi +38 -0
- package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/utils/_legacy.pyi +2 -68
- package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/utils/_utils.pyi +1 -1
- package/package.json +7 -7
- package/dist/typeshed-fallback/stdlib/_typeshed/README.md +0 -34
- package/dist/typeshed-fallback/stubs/ExifRead/METADATA.toml +0 -3
- package/dist/typeshed-fallback/stubs/ExifRead/exifread/__init__.pyi +0 -17
- package/dist/typeshed-fallback/stubs/ExifRead/exifread/_types.pyi +0 -15
- package/dist/typeshed-fallback/stubs/ExifRead/exifread/classes.pyi +0 -47
- package/dist/typeshed-fallback/stubs/ExifRead/exifread/exceptions.pyi +0 -2
- package/dist/typeshed-fallback/stubs/ExifRead/exifread/exif_log.pyi +0 -24
- package/dist/typeshed-fallback/stubs/ExifRead/exifread/heic.pyi +0 -56
- package/dist/typeshed-fallback/stubs/ExifRead/exifread/jpeg.pyi +0 -7
- package/dist/typeshed-fallback/stubs/ExifRead/exifread/tags/__init__.pyi +0 -15
- package/dist/typeshed-fallback/stubs/ExifRead/exifread/tags/exif.pyi +0 -7
- package/dist/typeshed-fallback/stubs/ExifRead/exifread/tags/makernote/apple.pyi +0 -3
- package/dist/typeshed-fallback/stubs/ExifRead/exifread/tags/makernote/canon.pyi +0 -26
- package/dist/typeshed-fallback/stubs/ExifRead/exifread/tags/makernote/casio.pyi +0 -3
- package/dist/typeshed-fallback/stubs/ExifRead/exifread/tags/makernote/fujifilm.pyi +0 -3
- package/dist/typeshed-fallback/stubs/ExifRead/exifread/tags/makernote/nikon.pyi +0 -6
- package/dist/typeshed-fallback/stubs/ExifRead/exifread/tags/makernote/olympus.pyi +0 -6
- package/dist/typeshed-fallback/stubs/ExifRead/exifread/utils.pyi +0 -22
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/kernighan_lin.pyi +0 -16
- package/dist/typeshed-fallback/stubs/psutil/psutil/_psutil_posix.pyi +0 -34
- package/dist/typeshed-fallback/stubs/vobject/@tests/stubtest_allowlist.txt +0 -22
- /package/dist/typeshed-fallback/stubs/{ExifRead/exifread/tags/makernote → colorful/colorful}/__init__.pyi +0 -0
|
@@ -0,0 +1,446 @@
|
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
from collections.abc import Callable, Iterable, Sequence
|
|
3
|
+
from typing import Any, Generic, Literal, TypeVar, overload, type_check_only
|
|
4
|
+
from typing_extensions import Self, TypeAlias
|
|
5
|
+
|
|
6
|
+
import tensorflow as tf
|
|
7
|
+
from tensorflow import Tensor, Variable
|
|
8
|
+
from tensorflow._aliases import AnyArray, DataSequence, DTypeLike, Float, TensorCompatible, TensorLike
|
|
9
|
+
from tensorflow.keras.activations import _Activation
|
|
10
|
+
from tensorflow.keras.constraints import Constraint
|
|
11
|
+
from tensorflow.keras.initializers import _Initializer
|
|
12
|
+
from tensorflow.keras.regularizers import Regularizer, _Regularizer
|
|
13
|
+
|
|
14
|
+
_InputT_contra = TypeVar("_InputT_contra", contravariant=True)
|
|
15
|
+
_OutputT_co = TypeVar("_OutputT_co", covariant=True)
|
|
16
|
+
|
|
17
|
+
class InputSpec:
|
|
18
|
+
dtype: str | None
|
|
19
|
+
shape: tuple[int | None, ...]
|
|
20
|
+
ndim: int | None
|
|
21
|
+
max_ndim: int | None
|
|
22
|
+
min_ndim: int | None
|
|
23
|
+
axes: dict[int, int | None] | None
|
|
24
|
+
def __init__(
|
|
25
|
+
self,
|
|
26
|
+
dtype: DTypeLike | None = None,
|
|
27
|
+
shape: Iterable[int | None] | None = None,
|
|
28
|
+
ndim: int | None = None,
|
|
29
|
+
max_ndim: int | None = None,
|
|
30
|
+
min_ndim: int | None = None,
|
|
31
|
+
axes: dict[int, int | None] | None = None,
|
|
32
|
+
allow_last_axis_squeeze: bool = False,
|
|
33
|
+
name: str | None = None,
|
|
34
|
+
optional: bool = False,
|
|
35
|
+
) -> None: ...
|
|
36
|
+
def get_config(self) -> dict[str, Any]: ...
|
|
37
|
+
@classmethod
|
|
38
|
+
def from_config(cls, config: dict[str, Any]) -> type[Self]: ...
|
|
39
|
+
|
|
40
|
+
# Most layers have input and output type of just Tensor and when we support default type variables,
|
|
41
|
+
# maybe worth trying.
|
|
42
|
+
class Layer(tf.Module, Generic[_InputT_contra, _OutputT_co]):
|
|
43
|
+
# The most general type is ContainerGeneric[InputSpec] as it really
|
|
44
|
+
# depends on _InputT_contra. For most Layers it is just InputSpec
|
|
45
|
+
# though. Maybe describable with HKT?
|
|
46
|
+
input_spec: InputSpec | Any
|
|
47
|
+
|
|
48
|
+
@property
|
|
49
|
+
def trainable(self) -> bool: ...
|
|
50
|
+
@trainable.setter
|
|
51
|
+
def trainable(self, value: bool) -> None: ...
|
|
52
|
+
def __init__(
|
|
53
|
+
self,
|
|
54
|
+
*,
|
|
55
|
+
activity_regularizer: _Regularizer = None,
|
|
56
|
+
trainable: bool = True,
|
|
57
|
+
dtype: DTypeLike | None = None,
|
|
58
|
+
autocast: bool = True,
|
|
59
|
+
name: str | None = None,
|
|
60
|
+
# **kwargs
|
|
61
|
+
input_dim: int | None = None,
|
|
62
|
+
input_shape: Any = None,
|
|
63
|
+
) -> None: ...
|
|
64
|
+
|
|
65
|
+
# *args/**kwargs are allowed, but have obscure footguns and tensorflow documentation discourages their usage.
|
|
66
|
+
# First argument will automatically be cast to layer's compute dtype, but any other tensor arguments will not be.
|
|
67
|
+
# Also various tensorflow tools/apis can misbehave if they encounter a layer with *args/**kwargs.
|
|
68
|
+
def __call__(
|
|
69
|
+
self, inputs: _InputT_contra, *, training: bool = False, mask: TensorCompatible | None = None
|
|
70
|
+
) -> _OutputT_co: ...
|
|
71
|
+
def call(self, inputs: _InputT_contra, /) -> _OutputT_co: ...
|
|
72
|
+
|
|
73
|
+
# input_shape's real type depends on _InputT_contra, but we can't express that without HKT.
|
|
74
|
+
# For example _InputT_contra tf.Tensor -> tf.TensorShape, _InputT_contra dict[str, tf.Tensor] -> dict[str, tf.TensorShape].
|
|
75
|
+
def build(self, input_shape: Any, /) -> None: ...
|
|
76
|
+
@overload
|
|
77
|
+
def compute_output_shape(self: Layer[tf.Tensor, tf.Tensor], input_shape: tf.TensorShape, /) -> tf.TensorShape: ...
|
|
78
|
+
@overload
|
|
79
|
+
def compute_output_shape(self, input_shape: Any, /) -> Any: ...
|
|
80
|
+
def add_weight(
|
|
81
|
+
self,
|
|
82
|
+
shape: Iterable[int | None] | None = None,
|
|
83
|
+
initializer: _Initializer | None = None,
|
|
84
|
+
dtype: DTypeLike | None = None,
|
|
85
|
+
trainable: bool = True,
|
|
86
|
+
autocast: bool = True,
|
|
87
|
+
regularizer: _Regularizer = None,
|
|
88
|
+
constraint: _Constraint = None,
|
|
89
|
+
aggregation: Literal["mean", "sum", "only_first_replica"] = "mean",
|
|
90
|
+
name: str | None = None,
|
|
91
|
+
) -> tf.Variable: ...
|
|
92
|
+
def add_loss(self, loss: tf.Tensor | Sequence[tf.Tensor] | Callable[[], tf.Tensor]) -> None: ...
|
|
93
|
+
def count_params(self) -> int: ...
|
|
94
|
+
@property
|
|
95
|
+
def trainable_variables(self) -> list[Variable]: ...
|
|
96
|
+
@property
|
|
97
|
+
def non_trainable_variables(self) -> list[Variable]: ...
|
|
98
|
+
@property
|
|
99
|
+
def trainable_weights(self) -> list[Variable]: ...
|
|
100
|
+
@property
|
|
101
|
+
def non_trainable_weights(self) -> list[Variable]: ...
|
|
102
|
+
@property
|
|
103
|
+
def losses(self) -> list[Tensor]: ...
|
|
104
|
+
def get_weights(self) -> list[AnyArray]: ...
|
|
105
|
+
def set_weights(self, weights: Sequence[AnyArray]) -> None: ...
|
|
106
|
+
def get_config(self) -> dict[str, Any]: ...
|
|
107
|
+
@classmethod
|
|
108
|
+
def from_config(cls, config: dict[str, Any]) -> Self: ...
|
|
109
|
+
def __getattr__(self, name: str) -> Incomplete: ...
|
|
110
|
+
|
|
111
|
+
# Every layer has trainable, dtype, name, and dynamic. At runtime these
|
|
112
|
+
# are mainly handled with **kwargs, passed up and then validated.
|
|
113
|
+
# In actual implementation there's 12 allowed keyword arguments, but only
|
|
114
|
+
# 4 are documented and other 8 are mainly internal. The other 8 can be found
|
|
115
|
+
# https://github.com/keras-team/keras/blob/e6784e4302c7b8cd116b74a784f4b78d60e83c26/keras/engine/base_layer.py#L329
|
|
116
|
+
# PEP 692 support would be very helpful here and allow removing stubtest allowlist for
|
|
117
|
+
# all layer constructors.
|
|
118
|
+
|
|
119
|
+
# TODO: Replace last Any after adding tf.keras.mixed_precision.Policy.
|
|
120
|
+
_LayerDtype: TypeAlias = DTypeLike | dict[str, Any] | Any
|
|
121
|
+
|
|
122
|
+
_Constraint: TypeAlias = str | dict[str, Any] | Constraint | None
|
|
123
|
+
|
|
124
|
+
# IndexLookup is not exported by Keras
|
|
125
|
+
@type_check_only
|
|
126
|
+
class _IndexLookup(Layer[tf.Tensor, tf.Tensor]):
|
|
127
|
+
def __init__(
|
|
128
|
+
self,
|
|
129
|
+
max_tokens: int | None,
|
|
130
|
+
num_oov_indices: int,
|
|
131
|
+
mask_token: str | None,
|
|
132
|
+
oov_token: str,
|
|
133
|
+
vocabulary_dtype: Literal["int64", "string"],
|
|
134
|
+
vocabulary: str | None | TensorCompatible = None,
|
|
135
|
+
idf_weights: TensorCompatible | None = None,
|
|
136
|
+
invert: bool = False,
|
|
137
|
+
output_mode: Literal["int", "count", "multi_hot", "one_hot", "tf_idf"] = "int",
|
|
138
|
+
sparse: bool = False,
|
|
139
|
+
pad_to_max_tokens: bool = False,
|
|
140
|
+
name: str | None = None,
|
|
141
|
+
*,
|
|
142
|
+
# **kwargs
|
|
143
|
+
vocabulary_size: int | None = None,
|
|
144
|
+
has_input_vocabulary: bool = ...,
|
|
145
|
+
trainable: bool | None = None,
|
|
146
|
+
dtype: _LayerDtype | None = None,
|
|
147
|
+
# **kwargs passed to Layer
|
|
148
|
+
activity_regularizer: _Regularizer = None,
|
|
149
|
+
autocast: bool = True,
|
|
150
|
+
) -> None: ...
|
|
151
|
+
def compute_output_signature(self, input_spec) -> tf.TensorSpec: ...
|
|
152
|
+
def get_vocabulary(self, include_special_tokens: bool = True) -> list[Incomplete]: ...
|
|
153
|
+
def vocabulary_size(self) -> int: ...
|
|
154
|
+
|
|
155
|
+
class StringLookup(_IndexLookup):
|
|
156
|
+
def __init__(
|
|
157
|
+
self,
|
|
158
|
+
max_tokens: int | None = None,
|
|
159
|
+
num_oov_indices: int = 1,
|
|
160
|
+
mask_token: str | None = None,
|
|
161
|
+
oov_token: str = "[UNK]",
|
|
162
|
+
vocabulary: str | None | TensorCompatible = None,
|
|
163
|
+
idf_weights: TensorCompatible | None = None,
|
|
164
|
+
invert: bool = False,
|
|
165
|
+
output_mode: Literal["int", "count", "multi_hot", "one_hot", "tf_idf"] = "int",
|
|
166
|
+
pad_to_max_tokens: bool = False,
|
|
167
|
+
sparse: bool = False,
|
|
168
|
+
encoding: str = "utf-8",
|
|
169
|
+
name: str | None = None,
|
|
170
|
+
*,
|
|
171
|
+
# **kwargs passed to IndexLookup
|
|
172
|
+
vocabulary_size: int | None = None,
|
|
173
|
+
has_input_vocabulary: bool = ...,
|
|
174
|
+
trainable: bool | None = None,
|
|
175
|
+
dtype: _LayerDtype | None = None,
|
|
176
|
+
activity_regularizer: _Regularizer = None,
|
|
177
|
+
autocast: bool = True,
|
|
178
|
+
) -> None: ...
|
|
179
|
+
def adapt(self, data: tf.data.Dataset[TensorLike] | AnyArray | DataSequence, steps: Float | None = None) -> None: ...
|
|
180
|
+
|
|
181
|
+
class IntegerLookup(_IndexLookup):
|
|
182
|
+
def __init__(
|
|
183
|
+
self,
|
|
184
|
+
max_tokens: int | None = None,
|
|
185
|
+
num_oov_indices: int = 1,
|
|
186
|
+
mask_token: int | None = None,
|
|
187
|
+
oov_token: int = -1,
|
|
188
|
+
vocabulary: str | None | TensorCompatible = None,
|
|
189
|
+
vocabulary_dtype: Literal["int64"] = "int64",
|
|
190
|
+
idf_weights: TensorCompatible | None = None,
|
|
191
|
+
invert: bool = False,
|
|
192
|
+
output_mode: Literal["int", "count", "multi_hot", "one_hot", "tf_idf"] = "int",
|
|
193
|
+
sparse: bool = False,
|
|
194
|
+
pad_to_max_tokens: bool = False,
|
|
195
|
+
name: str | None = None,
|
|
196
|
+
*,
|
|
197
|
+
# **kwargs passed to IndexLookup
|
|
198
|
+
vocabulary_size: int | None = None,
|
|
199
|
+
has_input_vocabulary: bool = ...,
|
|
200
|
+
trainable: bool | None = None,
|
|
201
|
+
dtype: _LayerDtype | None = None,
|
|
202
|
+
activity_regularizer: _Regularizer = None,
|
|
203
|
+
autocast: bool = True,
|
|
204
|
+
) -> None: ...
|
|
205
|
+
def adapt(self, data: tf.data.Dataset[TensorLike] | AnyArray | DataSequence, steps: Float | None = None) -> None: ...
|
|
206
|
+
|
|
207
|
+
# Layer's compute_output_shape commonly have instance as first argument name instead of self.
|
|
208
|
+
# This is an artifact of actual implementation commonly uses a decorator to define it.
|
|
209
|
+
# Layer.build has same weirdness sometimes. For both marked as positional only.
|
|
210
|
+
class Dense(Layer[tf.Tensor, tf.Tensor]):
|
|
211
|
+
def __init__(
|
|
212
|
+
self,
|
|
213
|
+
units: int,
|
|
214
|
+
activation: _Activation = None,
|
|
215
|
+
use_bias: bool = True,
|
|
216
|
+
kernel_initializer: _Initializer = "glorot_uniform",
|
|
217
|
+
bias_initializer: _Initializer = "zeros",
|
|
218
|
+
kernel_regularizer: _Regularizer = None,
|
|
219
|
+
bias_regularizer: _Regularizer = None,
|
|
220
|
+
activity_regularizer: _Regularizer = None,
|
|
221
|
+
kernel_constraint: _Constraint = None,
|
|
222
|
+
bias_constraint: _Constraint = None,
|
|
223
|
+
lora_rank: int | None = None,
|
|
224
|
+
*,
|
|
225
|
+
# **kwargs passed to Layer
|
|
226
|
+
trainable: bool = True,
|
|
227
|
+
dtype: _LayerDtype | None = None,
|
|
228
|
+
autocast: bool = True,
|
|
229
|
+
name: str | None = None,
|
|
230
|
+
) -> None: ...
|
|
231
|
+
|
|
232
|
+
class BatchNormalization(Layer[tf.Tensor, tf.Tensor]):
|
|
233
|
+
def __init__(
|
|
234
|
+
self,
|
|
235
|
+
axis: int = -1,
|
|
236
|
+
momentum: float = 0.99,
|
|
237
|
+
epsilon: float = 0.001,
|
|
238
|
+
center: bool = True,
|
|
239
|
+
scale: bool = True,
|
|
240
|
+
beta_initializer: _Initializer = "zeros",
|
|
241
|
+
gamma_initializer: _Initializer = "ones",
|
|
242
|
+
moving_mean_initializer: _Initializer = "zeros",
|
|
243
|
+
moving_variance_initializer: _Initializer = "ones",
|
|
244
|
+
beta_regularizer: _Regularizer = None,
|
|
245
|
+
gamma_regularizer: _Regularizer = None,
|
|
246
|
+
beta_constraint: _Constraint = None,
|
|
247
|
+
gamma_constraint: _Constraint = None,
|
|
248
|
+
synchronized: bool = False,
|
|
249
|
+
*,
|
|
250
|
+
# **kwargs passed to Layer
|
|
251
|
+
activity_regularizer: _Regularizer = None,
|
|
252
|
+
trainable: bool = True,
|
|
253
|
+
dtype: _LayerDtype | None = None,
|
|
254
|
+
autocast: bool = True,
|
|
255
|
+
name: str | None = None,
|
|
256
|
+
) -> None: ...
|
|
257
|
+
|
|
258
|
+
class ReLU(Layer[tf.Tensor, tf.Tensor]):
|
|
259
|
+
def __init__(
|
|
260
|
+
self,
|
|
261
|
+
max_value: float | None = None,
|
|
262
|
+
negative_slope: float | None = 0.0,
|
|
263
|
+
threshold: float | None = 0.0,
|
|
264
|
+
*,
|
|
265
|
+
# **kwargs passed to Layer
|
|
266
|
+
activity_regularizer: _Regularizer = None,
|
|
267
|
+
trainable: bool = True,
|
|
268
|
+
dtype: _LayerDtype | None = None,
|
|
269
|
+
autocast: bool = True,
|
|
270
|
+
name: str | None = None,
|
|
271
|
+
) -> None: ...
|
|
272
|
+
|
|
273
|
+
class Dropout(Layer[tf.Tensor, tf.Tensor]):
|
|
274
|
+
def __init__(
|
|
275
|
+
self,
|
|
276
|
+
rate: float,
|
|
277
|
+
noise_shape: TensorCompatible | Sequence[int | None] | None = None,
|
|
278
|
+
seed: int | None = None,
|
|
279
|
+
*,
|
|
280
|
+
# **kwargs passed to Layer
|
|
281
|
+
activity_regularizer: _Regularizer = None,
|
|
282
|
+
trainable: bool = True,
|
|
283
|
+
dtype: _LayerDtype | None = None,
|
|
284
|
+
autocast: bool = True,
|
|
285
|
+
name: str | None = None,
|
|
286
|
+
) -> None: ...
|
|
287
|
+
|
|
288
|
+
class Embedding(Layer[tf.Tensor, tf.Tensor]):
|
|
289
|
+
def __init__(
|
|
290
|
+
self,
|
|
291
|
+
input_dim: int,
|
|
292
|
+
output_dim: int,
|
|
293
|
+
embeddings_initializer: _Initializer = "uniform",
|
|
294
|
+
embeddings_regularizer: _Regularizer = None,
|
|
295
|
+
embeddings_constraint: _Constraint = None,
|
|
296
|
+
mask_zero: bool = False,
|
|
297
|
+
weights=None,
|
|
298
|
+
lora_rank: int | None = None,
|
|
299
|
+
*,
|
|
300
|
+
input_length: int | None = None,
|
|
301
|
+
# **kwargs passed to Layer
|
|
302
|
+
activity_regularizer: _Regularizer = None,
|
|
303
|
+
trainable: bool = True,
|
|
304
|
+
dtype: _LayerDtype | None = None,
|
|
305
|
+
autocast: bool = True,
|
|
306
|
+
name: str | None = None,
|
|
307
|
+
) -> None: ...
|
|
308
|
+
|
|
309
|
+
class Conv2D(Layer[tf.Tensor, tf.Tensor]):
|
|
310
|
+
def __init__(
|
|
311
|
+
self,
|
|
312
|
+
filters: int,
|
|
313
|
+
kernel_size: int | Iterable[int],
|
|
314
|
+
strides: int | Iterable[int] = (1, 1),
|
|
315
|
+
padding: Literal["valid", "same"] = "valid",
|
|
316
|
+
data_format: None | Literal["channels_last", "channels_first"] = None,
|
|
317
|
+
dilation_rate: int | Iterable[int] = (1, 1),
|
|
318
|
+
groups: int = 1,
|
|
319
|
+
activation: _Activation = None,
|
|
320
|
+
use_bias: bool = True,
|
|
321
|
+
kernel_initializer: _Initializer = "glorot_uniform",
|
|
322
|
+
bias_initializer: _Initializer = "zeros",
|
|
323
|
+
kernel_regularizer: _Regularizer = None,
|
|
324
|
+
bias_regularizer: _Regularizer = None,
|
|
325
|
+
activity_regularizer: _Regularizer = None,
|
|
326
|
+
kernel_constraint: _Constraint = None,
|
|
327
|
+
bias_constraint: _Constraint = None,
|
|
328
|
+
*,
|
|
329
|
+
# **kwargs passed to Layer
|
|
330
|
+
trainable: bool = True,
|
|
331
|
+
dtype: _LayerDtype | None = None,
|
|
332
|
+
autocast: bool = True,
|
|
333
|
+
name: str | None = None,
|
|
334
|
+
) -> None: ...
|
|
335
|
+
|
|
336
|
+
Convolution2D = Conv2D
|
|
337
|
+
|
|
338
|
+
class Identity(Layer[tf.Tensor, tf.Tensor]):
|
|
339
|
+
def __init__(
|
|
340
|
+
self,
|
|
341
|
+
*,
|
|
342
|
+
# **kwargs passed to Layer
|
|
343
|
+
activity_regularizer: _Regularizer = None,
|
|
344
|
+
trainable: bool = True,
|
|
345
|
+
dtype: _LayerDtype | None = None,
|
|
346
|
+
autocast: bool = True,
|
|
347
|
+
name: str | None = None,
|
|
348
|
+
) -> None: ...
|
|
349
|
+
|
|
350
|
+
class LayerNormalization(Layer[tf.Tensor, tf.Tensor]):
|
|
351
|
+
def __init__(
|
|
352
|
+
self,
|
|
353
|
+
axis: int = -1,
|
|
354
|
+
epsilon: float = 0.001,
|
|
355
|
+
center: bool = True,
|
|
356
|
+
scale: bool = True,
|
|
357
|
+
rms_scaling: bool = False,
|
|
358
|
+
beta_initializer: _Initializer = "zeros",
|
|
359
|
+
gamma_initializer: _Initializer = "ones",
|
|
360
|
+
beta_regularizer: _Regularizer = None,
|
|
361
|
+
gamma_regularizer: _Regularizer = None,
|
|
362
|
+
beta_constraint: _Constraint = None,
|
|
363
|
+
gamma_constraint: _Constraint = None,
|
|
364
|
+
*,
|
|
365
|
+
# **kwargs passed to Layer
|
|
366
|
+
activity_regularizer: _Regularizer = None,
|
|
367
|
+
trainable: bool = True,
|
|
368
|
+
dtype: _LayerDtype | None = None,
|
|
369
|
+
autocast: bool = True,
|
|
370
|
+
name: str | None = None,
|
|
371
|
+
) -> None: ...
|
|
372
|
+
|
|
373
|
+
class MultiHeadAttention(Layer[Any, tf.Tensor]):
|
|
374
|
+
def __init__(
|
|
375
|
+
self,
|
|
376
|
+
num_heads: int,
|
|
377
|
+
key_dim: int | None,
|
|
378
|
+
value_dim: int | None = None,
|
|
379
|
+
dropout: float = 0.0,
|
|
380
|
+
use_bias: bool = True,
|
|
381
|
+
output_shape: tuple[int, ...] | None = None,
|
|
382
|
+
attention_axes: tuple[int, ...] | None = None,
|
|
383
|
+
kernel_initializer: _Initializer = "glorot_uniform",
|
|
384
|
+
bias_initializer: _Initializer = "zeros",
|
|
385
|
+
kernel_regularizer: Regularizer | None = None,
|
|
386
|
+
bias_regularizer: _Regularizer | None = None,
|
|
387
|
+
activity_regularizer: _Regularizer | None = None,
|
|
388
|
+
kernel_constraint: _Constraint | None = None,
|
|
389
|
+
bias_constraint: _Constraint | None = None,
|
|
390
|
+
seed: int | None = None,
|
|
391
|
+
*,
|
|
392
|
+
# **kwargs passed to Layer
|
|
393
|
+
trainable: bool = True,
|
|
394
|
+
dtype: _LayerDtype | None = None,
|
|
395
|
+
autocast: bool = True,
|
|
396
|
+
name: str | None = None,
|
|
397
|
+
) -> None: ...
|
|
398
|
+
@overload # type: ignore[override]
|
|
399
|
+
def __call__(
|
|
400
|
+
self,
|
|
401
|
+
query: tf.Tensor,
|
|
402
|
+
value: tf.Tensor,
|
|
403
|
+
key: tf.Tensor | None,
|
|
404
|
+
attention_mask: tf.Tensor | None,
|
|
405
|
+
return_attention_scores: Literal[False],
|
|
406
|
+
training: bool,
|
|
407
|
+
use_causal_mask: bool,
|
|
408
|
+
) -> tf.Tensor: ...
|
|
409
|
+
@overload
|
|
410
|
+
def __call__(
|
|
411
|
+
self,
|
|
412
|
+
query: tf.Tensor,
|
|
413
|
+
value: tf.Tensor,
|
|
414
|
+
key: tf.Tensor | None,
|
|
415
|
+
attention_mask: tf.Tensor | None,
|
|
416
|
+
return_attention_scores: Literal[True],
|
|
417
|
+
training: bool,
|
|
418
|
+
use_causal_mask: bool,
|
|
419
|
+
) -> tuple[tf.Tensor, tf.Tensor]: ...
|
|
420
|
+
@overload
|
|
421
|
+
def __call__(
|
|
422
|
+
self,
|
|
423
|
+
query: tf.Tensor,
|
|
424
|
+
value: tf.Tensor,
|
|
425
|
+
key: tf.Tensor | None = None,
|
|
426
|
+
attention_mask: tf.Tensor | None = None,
|
|
427
|
+
return_attention_scores: bool = False,
|
|
428
|
+
training: bool = False,
|
|
429
|
+
use_causal_mask: bool = False,
|
|
430
|
+
) -> tuple[tf.Tensor, tf.Tensor] | tf.Tensor: ...
|
|
431
|
+
|
|
432
|
+
class GaussianDropout(Layer[tf.Tensor, tf.Tensor]):
|
|
433
|
+
def __init__(
|
|
434
|
+
self,
|
|
435
|
+
rate: float,
|
|
436
|
+
seed: int | None = None,
|
|
437
|
+
*,
|
|
438
|
+
# **kwargs passed to Layer
|
|
439
|
+
activity_regularizer: _Regularizer = None,
|
|
440
|
+
trainable: bool = True,
|
|
441
|
+
dtype: _LayerDtype | None = None,
|
|
442
|
+
autocast: bool = True,
|
|
443
|
+
name: str | None = None,
|
|
444
|
+
) -> None: ...
|
|
445
|
+
|
|
446
|
+
def __getattr__(name: str): ... # incomplete module
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
from abc import ABC, abstractmethod
|
|
2
|
+
from collections.abc import Callable
|
|
3
|
+
from typing import Any, Final, Literal, TypeVar, overload
|
|
4
|
+
from typing_extensions import Self, TypeAlias, TypeGuard
|
|
5
|
+
|
|
6
|
+
from tensorflow import Tensor
|
|
7
|
+
from tensorflow._aliases import KerasSerializable, TensorCompatible
|
|
8
|
+
from tensorflow.keras.metrics import (
|
|
9
|
+
binary_crossentropy as binary_crossentropy,
|
|
10
|
+
categorical_crossentropy as categorical_crossentropy,
|
|
11
|
+
)
|
|
12
|
+
|
|
13
|
+
class Loss(ABC):
|
|
14
|
+
reduction: _ReductionValues
|
|
15
|
+
name: str | None
|
|
16
|
+
def __init__(self, name: str | None = None, reduction: _ReductionValues = "sum_over_batch_size", dtype=None) -> None: ...
|
|
17
|
+
@abstractmethod
|
|
18
|
+
def call(self, y_true: Tensor, y_pred: Tensor) -> Tensor: ...
|
|
19
|
+
@classmethod
|
|
20
|
+
def from_config(cls, config: dict[str, Any]) -> Self: ...
|
|
21
|
+
def get_config(self) -> dict[str, Any]: ...
|
|
22
|
+
def __call__(
|
|
23
|
+
self, y_true: TensorCompatible, y_pred: TensorCompatible, sample_weight: TensorCompatible | None = None
|
|
24
|
+
) -> Tensor: ...
|
|
25
|
+
|
|
26
|
+
class BinaryCrossentropy(Loss):
|
|
27
|
+
def __init__(
|
|
28
|
+
self,
|
|
29
|
+
from_logits: bool = False,
|
|
30
|
+
label_smoothing: float = 0.0,
|
|
31
|
+
axis: int = -1,
|
|
32
|
+
reduction: _ReductionValues = "sum_over_batch_size",
|
|
33
|
+
name: str | None = "binary_crossentropy",
|
|
34
|
+
dtype=None,
|
|
35
|
+
) -> None: ...
|
|
36
|
+
def call(self, y_true: Tensor, y_pred: Tensor) -> Tensor: ...
|
|
37
|
+
|
|
38
|
+
class BinaryFocalCrossentropy(Loss):
|
|
39
|
+
def __init__(
|
|
40
|
+
self,
|
|
41
|
+
apply_class_balancing: bool = False,
|
|
42
|
+
alpha: float = 0.25,
|
|
43
|
+
gamma: float = 2.0,
|
|
44
|
+
from_logits: bool = False,
|
|
45
|
+
label_smoothing: float = 0.0,
|
|
46
|
+
axis: int = -1,
|
|
47
|
+
reduction: _ReductionValues = "sum_over_batch_size",
|
|
48
|
+
name: str | None = "binary_focal_crossentropy",
|
|
49
|
+
dtype=None,
|
|
50
|
+
) -> None: ...
|
|
51
|
+
def call(self, y_true: Tensor, y_pred: Tensor) -> Tensor: ...
|
|
52
|
+
|
|
53
|
+
class CategoricalCrossentropy(Loss):
|
|
54
|
+
def __init__(
|
|
55
|
+
self,
|
|
56
|
+
from_logits: bool = False,
|
|
57
|
+
label_smoothing: float = 0.0,
|
|
58
|
+
axis: int = -1,
|
|
59
|
+
reduction: _ReductionValues = "sum_over_batch_size",
|
|
60
|
+
name: str | None = "categorical_crossentropy",
|
|
61
|
+
dtype=None,
|
|
62
|
+
) -> None: ...
|
|
63
|
+
def call(self, y_true: Tensor, y_pred: Tensor) -> Tensor: ...
|
|
64
|
+
|
|
65
|
+
class CategoricalHinge(Loss):
|
|
66
|
+
def __init__(
|
|
67
|
+
self, reduction: _ReductionValues = "sum_over_batch_size", name: str | None = "categorical_hinge", dtype=None
|
|
68
|
+
) -> None: ...
|
|
69
|
+
def call(self, y_true: Tensor, y_pred: Tensor) -> Tensor: ...
|
|
70
|
+
|
|
71
|
+
class CosineSimilarity(Loss):
|
|
72
|
+
def __init__(
|
|
73
|
+
self,
|
|
74
|
+
axis: int = -1,
|
|
75
|
+
reduction: _ReductionValues = "sum_over_batch_size",
|
|
76
|
+
name: str | None = "cosine_similarity",
|
|
77
|
+
dtype=None,
|
|
78
|
+
) -> None: ...
|
|
79
|
+
def call(self, y_true: Tensor, y_pred: Tensor) -> Tensor: ...
|
|
80
|
+
|
|
81
|
+
class Hinge(Loss):
|
|
82
|
+
def __init__(self, reduction: _ReductionValues = "sum_over_batch_size", name: str | None = "hinge", dtype=None) -> None: ...
|
|
83
|
+
def call(self, y_true: Tensor, y_pred: Tensor) -> Tensor: ...
|
|
84
|
+
|
|
85
|
+
class Huber(Loss):
|
|
86
|
+
def __init__(
|
|
87
|
+
self, delta: float = 1.0, reduction: _ReductionValues = "sum_over_batch_size", name: str | None = "huber_loss", dtype=None
|
|
88
|
+
) -> None: ...
|
|
89
|
+
def call(self, y_true: Tensor, y_pred: Tensor) -> Tensor: ...
|
|
90
|
+
|
|
91
|
+
class KLDivergence(Loss):
|
|
92
|
+
def __init__(
|
|
93
|
+
self, reduction: _ReductionValues = "sum_over_batch_size", name: str | None = "kl_divergence", dtype=None
|
|
94
|
+
) -> None: ...
|
|
95
|
+
def call(self, y_true: Tensor, y_pred: Tensor) -> Tensor: ...
|
|
96
|
+
|
|
97
|
+
class LogCosh(Loss):
|
|
98
|
+
def __init__(
|
|
99
|
+
self, reduction: _ReductionValues = "sum_over_batch_size", name: str | None = "log_cosh", dtype=None
|
|
100
|
+
) -> None: ...
|
|
101
|
+
def call(self, y_true: Tensor, y_pred: Tensor) -> Tensor: ...
|
|
102
|
+
|
|
103
|
+
class MeanAbsoluteError(Loss):
|
|
104
|
+
def __init__(
|
|
105
|
+
self, reduction: _ReductionValues = "sum_over_batch_size", name: str | None = "mean_absolute_error", dtype=None
|
|
106
|
+
) -> None: ...
|
|
107
|
+
def call(self, y_true: Tensor, y_pred: Tensor) -> Tensor: ...
|
|
108
|
+
|
|
109
|
+
class MeanAbsolutePercentageError(Loss):
|
|
110
|
+
def __init__(
|
|
111
|
+
self, reduction: _ReductionValues = "sum_over_batch_size", name: str | None = "mean_absolute_percentage_error", dtype=None
|
|
112
|
+
) -> None: ...
|
|
113
|
+
def call(self, y_true: Tensor, y_pred: Tensor) -> Tensor: ...
|
|
114
|
+
|
|
115
|
+
class MeanSquaredError(Loss):
|
|
116
|
+
def __init__(
|
|
117
|
+
self, reduction: _ReductionValues = "sum_over_batch_size", name: str | None = "mean_squared_error", dtype=None
|
|
118
|
+
) -> None: ...
|
|
119
|
+
def call(self, y_true: Tensor, y_pred: Tensor) -> Tensor: ...
|
|
120
|
+
|
|
121
|
+
class MeanSquaredLogarithmicError(Loss):
|
|
122
|
+
def __init__(
|
|
123
|
+
self, reduction: _ReductionValues = "sum_over_batch_size", name: str | None = "mean_squared_logarithmic_error", dtype=None
|
|
124
|
+
) -> None: ...
|
|
125
|
+
def call(self, y_true: Tensor, y_pred: Tensor) -> Tensor: ...
|
|
126
|
+
|
|
127
|
+
class Poisson(Loss):
|
|
128
|
+
def __init__(self, reduction: _ReductionValues = "sum_over_batch_size", name: str | None = "poisson", dtype=None) -> None: ...
|
|
129
|
+
def call(self, y_true: Tensor, y_pred: Tensor) -> Tensor: ...
|
|
130
|
+
|
|
131
|
+
class SparseCategoricalCrossentropy(Loss):
|
|
132
|
+
def __init__(
|
|
133
|
+
self,
|
|
134
|
+
from_logits: bool = False,
|
|
135
|
+
ignore_class: int | None = None,
|
|
136
|
+
reduction: _ReductionValues = "sum_over_batch_size",
|
|
137
|
+
name: str = "sparse_categorical_crossentropy",
|
|
138
|
+
dtype=None,
|
|
139
|
+
) -> None: ...
|
|
140
|
+
def call(self, y_true: Tensor, y_pred: Tensor) -> Tensor: ...
|
|
141
|
+
|
|
142
|
+
class SquaredHinge(Loss):
|
|
143
|
+
def __init__(
|
|
144
|
+
self, reduction: _ReductionValues = "sum_over_batch_size", name: str | None = "squared_hinge", dtype=None
|
|
145
|
+
) -> None: ...
|
|
146
|
+
def call(self, y_true: Tensor, y_pred: Tensor) -> Tensor: ...
|
|
147
|
+
|
|
148
|
+
class Reduction:
|
|
149
|
+
AUTO: Final = "auto"
|
|
150
|
+
NONE: Final = "none"
|
|
151
|
+
SUM: Final = "sum"
|
|
152
|
+
SUM_OVER_BATCH_SIZE: Final = "sum_over_batch_size"
|
|
153
|
+
@classmethod
|
|
154
|
+
def all(cls) -> tuple[_ReductionValues, ...]: ...
|
|
155
|
+
@classmethod
|
|
156
|
+
def validate(cls, key: object) -> TypeGuard[_ReductionValues]: ...
|
|
157
|
+
|
|
158
|
+
_ReductionValues: TypeAlias = Literal["auto", "none", "sum", "sum_over_batch_size"]
|
|
159
|
+
|
|
160
|
+
def categorical_hinge(y_true: TensorCompatible, y_pred: TensorCompatible) -> Tensor: ...
|
|
161
|
+
def huber(y_true: TensorCompatible, y_pred: TensorCompatible, delta: float = 1.0) -> Tensor: ...
|
|
162
|
+
def deserialize(name: str | dict[str, Any], custom_objects: dict[str, Any] | None = None) -> Loss: ...
|
|
163
|
+
def serialize(loss: KerasSerializable) -> dict[str, Any]: ...
|
|
164
|
+
|
|
165
|
+
_FuncT = TypeVar("_FuncT", bound=Callable[..., Any])
|
|
166
|
+
|
|
167
|
+
@overload
|
|
168
|
+
def get(identifier: None) -> None: ...
|
|
169
|
+
@overload
|
|
170
|
+
def get(identifier: str | dict[str, Any]) -> Loss: ...
|
|
171
|
+
@overload
|
|
172
|
+
def get(identifier: _FuncT) -> _FuncT: ...
|
|
173
|
+
|
|
174
|
+
# This is complete with respect to methods documented defined here,
|
|
175
|
+
# but many methods get re-exported here from tf.keras.metrics that aren't
|
|
176
|
+
# covered yet.
|
|
177
|
+
def __getattr__(name: str): ... # incomplete module
|