basedpyright 1.10.3 → 1.10.4
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/commit.txt +1 -1
- package/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi +7 -2
- package/dist/typeshed-fallback/stdlib/asyncio/constants.pyi +3 -3
- package/dist/typeshed-fallback/stdlib/asyncio/locks.pyi +4 -4
- package/dist/typeshed-fallback/stdlib/asyncio/sslproto.pyi +9 -9
- package/dist/typeshed-fallback/stdlib/asyncio/streams.pyi +10 -5
- package/dist/typeshed-fallback/stdlib/contextlib.pyi +23 -22
- package/dist/typeshed-fallback/stdlib/email/message.pyi +26 -27
- package/dist/typeshed-fallback/stdlib/email/parser.pyi +25 -15
- package/dist/typeshed-fallback/stdlib/http/__init__.pyi +68 -68
- package/dist/typeshed-fallback/stdlib/http/client.pyi +7 -21
- package/dist/typeshed-fallback/stdlib/inspect.pyi +24 -24
- package/dist/typeshed-fallback/stdlib/multiprocessing/synchronize.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/os/__init__.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/plistlib.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/pstats.pyi +9 -9
- package/dist/typeshed-fallback/stdlib/py_compile.pyi +3 -3
- package/dist/typeshed-fallback/stdlib/signal.pyi +46 -46
- package/dist/typeshed-fallback/stdlib/socket.pyi +75 -75
- package/dist/typeshed-fallback/stdlib/ssl.pyi +81 -81
- package/dist/typeshed-fallback/stdlib/tkinter/__init__.pyi +38 -38
- package/dist/typeshed-fallback/stdlib/typing.pyi +22 -14
- package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/uuid.pyi +3 -3
- package/dist/typeshed-fallback/stdlib/winreg.pyi +75 -46
- package/dist/typeshed-fallback/stubs/Pillow/METADATA.toml +1 -0
- package/dist/typeshed-fallback/stubs/Pillow/PIL/BlpImagePlugin.pyi +7 -7
- package/dist/typeshed-fallback/stubs/Pillow/PIL/ExifTags.pyi +331 -331
- package/dist/typeshed-fallback/stubs/Pillow/PIL/FtexImagePlugin.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Pillow/PIL/Image.pyi +28 -28
- package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageCms.pyi +7 -7
- package/dist/typeshed-fallback/stubs/Pillow/PIL/ImageFont.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Pillow/PIL/PngImagePlugin.pyi +5 -5
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/sampling/reservoir.pyi +3 -3
- package/dist/typeshed-fallback/stubs/boltons/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/boltons/boltons/ecoutils.pyi +0 -1
- package/dist/typeshed-fallback/stubs/boltons/boltons/funcutils.pyi +15 -0
- package/dist/typeshed-fallback/stubs/boltons/boltons/ioutils.pyi +0 -2
- package/dist/typeshed-fallback/stubs/boltons/boltons/strutils.pyi +4 -6
- package/dist/typeshed-fallback/stubs/boltons/boltons/urlutils.pyi +2 -0
- package/dist/typeshed-fallback/stubs/capturer/METADATA.toml +2 -0
- package/dist/typeshed-fallback/stubs/capturer/capturer.pyi +122 -0
- package/dist/typeshed-fallback/stubs/croniter/croniter/croniter.pyi +1 -1
- package/dist/typeshed-fallback/stubs/dateparser/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/dateparser/dateparser/utils/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/docker/METADATA.toml +3 -0
- package/dist/typeshed-fallback/stubs/docker/docker/__init__.pyi +7 -0
- package/dist/typeshed-fallback/stubs/docker/docker/api/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/docker/docker/api/build.pyi +55 -0
- package/dist/typeshed-fallback/stubs/docker/docker/api/client.pyi +55 -0
- package/dist/typeshed-fallback/stubs/docker/docker/api/config.pyi +7 -0
- package/dist/typeshed-fallback/stubs/docker/docker/api/container.pyi +109 -0
- package/dist/typeshed-fallback/stubs/docker/docker/api/daemon.pyi +23 -0
- package/dist/typeshed-fallback/stubs/docker/docker/api/exec_api.pyi +22 -0
- package/dist/typeshed-fallback/stubs/docker/docker/api/image.pyi +59 -0
- package/dist/typeshed-fallback/stubs/docker/docker/api/network.pyi +34 -0
- package/dist/typeshed-fallback/stubs/docker/docker/api/plugin.pyi +14 -0
- package/dist/typeshed-fallback/stubs/docker/docker/api/secret.pyi +7 -0
- package/dist/typeshed-fallback/stubs/docker/docker/api/service.pyi +47 -0
- package/dist/typeshed-fallback/stubs/docker/docker/api/swarm.pyi +41 -0
- package/dist/typeshed-fallback/stubs/docker/docker/api/volume.pyi +14 -0
- package/dist/typeshed-fallback/stubs/docker/docker/auth.pyi +40 -0
- package/dist/typeshed-fallback/stubs/docker/docker/client.pyi +49 -0
- package/dist/typeshed-fallback/stubs/docker/docker/constants.pyi +22 -0
- package/dist/typeshed-fallback/stubs/docker/docker/context/__init__.pyi +2 -0
- package/dist/typeshed-fallback/stubs/docker/docker/context/api.pyi +30 -0
- package/dist/typeshed-fallback/stubs/docker/docker/context/config.pyi +10 -0
- package/dist/typeshed-fallback/stubs/docker/docker/context/context.pyi +47 -0
- package/dist/typeshed-fallback/stubs/docker/docker/credentials/__init__.pyi +8 -0
- package/dist/typeshed-fallback/stubs/docker/docker/credentials/constants.pyi +4 -0
- package/dist/typeshed-fallback/stubs/docker/docker/credentials/errors.pyi +7 -0
- package/dist/typeshed-fallback/stubs/docker/docker/credentials/store.pyi +11 -0
- package/dist/typeshed-fallback/stubs/docker/docker/credentials/utils.pyi +1 -0
- package/dist/typeshed-fallback/stubs/docker/docker/errors.pyi +71 -0
- package/dist/typeshed-fallback/stubs/docker/docker/models/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/docker/docker/models/configs.pyi +13 -0
- package/dist/typeshed-fallback/stubs/docker/docker/models/containers.pyi +81 -0
- package/dist/typeshed-fallback/stubs/docker/docker/models/images.pyi +43 -0
- package/dist/typeshed-fallback/stubs/docker/docker/models/networks.pyi +19 -0
- package/dist/typeshed-fallback/stubs/docker/docker/models/nodes.pyi +13 -0
- package/dist/typeshed-fallback/stubs/docker/docker/models/plugins.pyi +25 -0
- package/dist/typeshed-fallback/stubs/docker/docker/models/resource.pyi +27 -0
- package/dist/typeshed-fallback/stubs/docker/docker/models/secrets.pyi +13 -0
- package/dist/typeshed-fallback/stubs/docker/docker/models/services.pyi +27 -0
- package/dist/typeshed-fallback/stubs/docker/docker/models/swarm.pyi +33 -0
- package/dist/typeshed-fallback/stubs/docker/docker/models/volumes.pyi +16 -0
- package/dist/typeshed-fallback/stubs/docker/docker/tls.pyi +10 -0
- package/dist/typeshed-fallback/stubs/docker/docker/transport/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/docker/docker/transport/basehttpadapter.pyi +4 -0
- package/dist/typeshed-fallback/stubs/docker/docker/transport/npipeconn.pyi +29 -0
- package/dist/typeshed-fallback/stubs/docker/docker/transport/npipesocket.pyi +49 -0
- package/dist/typeshed-fallback/stubs/docker/docker/transport/sshconn.pyi +49 -0
- package/dist/typeshed-fallback/stubs/docker/docker/transport/unixconn.pyi +31 -0
- package/dist/typeshed-fallback/stubs/docker/docker/types/__init__.pyi +35 -0
- package/dist/typeshed-fallback/stubs/docker/docker/types/base.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docker/docker/types/containers.pyi +164 -0
- package/dist/typeshed-fallback/stubs/docker/docker/types/daemon.pyi +6 -0
- package/dist/typeshed-fallback/stubs/docker/docker/types/healthcheck.pyi +24 -0
- package/dist/typeshed-fallback/stubs/docker/docker/types/networks.pyi +31 -0
- package/dist/typeshed-fallback/stubs/docker/docker/types/services.pyi +170 -0
- package/dist/typeshed-fallback/stubs/docker/docker/types/swarm.pyi +29 -0
- package/dist/typeshed-fallback/stubs/docker/docker/utils/__init__.pyi +32 -0
- package/dist/typeshed-fallback/stubs/docker/docker/utils/build.pyi +38 -0
- package/dist/typeshed-fallback/stubs/docker/docker/utils/config.pyi +10 -0
- package/dist/typeshed-fallback/stubs/docker/docker/utils/decorators.pyi +3 -0
- package/dist/typeshed-fallback/stubs/docker/docker/utils/fnmatch.pyi +5 -0
- package/dist/typeshed-fallback/stubs/docker/docker/utils/json_stream.pyi +10 -0
- package/dist/typeshed-fallback/stubs/docker/docker/utils/ports.pyi +9 -0
- package/dist/typeshed-fallback/stubs/docker/docker/utils/proxy.pyi +33 -0
- package/dist/typeshed-fallback/stubs/docker/docker/utils/socket.pyi +18 -0
- package/dist/typeshed-fallback/stubs/docker/docker/utils/utils.pyi +34 -0
- package/dist/typeshed-fallback/stubs/docker/docker/version.pyi +1 -0
- package/dist/typeshed-fallback/stubs/docutils/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/docutils/docutils/frontend.pyi +55 -11
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/states.pyi +1 -1
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/tableparser.pyi +1 -1
- package/dist/typeshed-fallback/stubs/docutils/docutils/statemachine.pyi +3 -2
- package/dist/typeshed-fallback/stubs/editdistance/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/editdistance/editdistance/__init__.pyi +2 -0
- package/dist/typeshed-fallback/stubs/flake8-bugbear/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/flake8-builtins/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/enums.pyi +163 -163
- package/dist/typeshed-fallback/stubs/gdb/gdb/__init__.pyi +5 -0
- package/dist/typeshed-fallback/stubs/hdbcli/hdbcli/dbapi.pyi +2 -1
- package/dist/typeshed-fallback/stubs/icalendar/METADATA.toml +3 -0
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/__init__.pyi +40 -0
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/cal.pyi +86 -0
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/caselessdict.pyi +43 -0
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/parser.pyi +58 -0
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/parser_tools.pyi +17 -0
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/prop.pyi +225 -0
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/timezone_cache.pyi +0 -0
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/tools.pyi +10 -0
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/windows_to_olson.pyi +3 -0
- package/dist/typeshed-fallback/stubs/influxdb-client/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/influxdb-client/influxdb_client/client/flux_csv_parser.pyi +5 -5
- package/dist/typeshed-fallback/stubs/influxdb-client/influxdb_client/client/write_api.pyi +3 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/betweenness.pyi +9 -7
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/betweenness_subset.pyi +8 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/closeness.pyi +11 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/degree_alg.pyi +4 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/dispersion.pyi +5 -6
- package/dist/typeshed-fallback/stubs/networkx/networkx/convert.pyi +5 -5
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/worksheet/worksheet.pyi +7 -2
- package/dist/typeshed-fallback/stubs/paramiko/paramiko/client.pyi +4 -3
- package/dist/typeshed-fallback/stubs/paramiko/paramiko/config.pyi +2 -1
- package/dist/typeshed-fallback/stubs/paramiko/paramiko/dsskey.pyi +3 -3
- package/dist/typeshed-fallback/stubs/paramiko/paramiko/ecdsakey.pyi +3 -3
- package/dist/typeshed-fallback/stubs/paramiko/paramiko/ed25519key.pyi +2 -2
- package/dist/typeshed-fallback/stubs/paramiko/paramiko/hostkeys.pyi +4 -3
- package/dist/typeshed-fallback/stubs/paramiko/paramiko/pkey.pyi +4 -3
- package/dist/typeshed-fallback/stubs/paramiko/paramiko/primes.pyi +3 -1
- package/dist/typeshed-fallback/stubs/paramiko/paramiko/rsakey.pyi +3 -3
- package/dist/typeshed-fallback/stubs/paramiko/paramiko/sftp_server.pyi +2 -1
- package/dist/typeshed-fallback/stubs/paramiko/paramiko/transport.pyi +2 -1
- package/dist/typeshed-fallback/stubs/paramiko/paramiko/util.pyi +3 -3
- package/dist/typeshed-fallback/stubs/peewee/METADATA.toml +9 -1
- package/dist/typeshed-fallback/stubs/peewee/peewee.pyi +53 -22
- package/dist/typeshed-fallback/stubs/peewee/playhouse/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/peewee/playhouse/flask_utils.pyi +28 -0
- package/dist/typeshed-fallback/stubs/pika/pika/delivery_mode.pyi +2 -2
- package/dist/typeshed-fallback/stubs/pika/pika/exchange_type.pyi +4 -4
- package/dist/typeshed-fallback/stubs/protobuf/METADATA.toml +4 -2
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/any_pb2.pyi +13 -8
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/api_pb2.pyi +25 -19
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/compiler/plugin_pb2.pyi +51 -17
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/descriptor.pyi +84 -82
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/descriptor_pb2.pyi +743 -161
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/descriptor_pool.pyi +3 -7
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/duration_pb2.pyi +4 -3
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/empty_pb2.pyi +2 -2
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/field_mask_pb2.pyi +5 -3
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/internal/builder.pyi +2 -3
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/internal/containers.pyi +6 -5
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/internal/decoder.pyi +3 -3
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/internal/well_known_types.pyi +5 -7
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/json_format.pyi +19 -19
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/message.pyi +3 -3
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/message_factory.pyi +2 -2
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/source_context_pb2.pyi +4 -3
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/struct_pb2.pyi +17 -12
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/text_format.pyi +94 -92
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/timestamp_pb2.pyi +5 -6
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/type_pb2.pyi +43 -20
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/wrappers_pb2.pyi +50 -19
- package/dist/typeshed-fallback/stubs/psutil/psutil/_common.pyi +5 -5
- package/dist/typeshed-fallback/stubs/psutil/psutil/_pslinux.pyi +4 -4
- package/dist/typeshed-fallback/stubs/psutil/psutil/_psutil_windows.pyi +8 -6
- package/dist/typeshed-fallback/stubs/psutil/psutil/_pswindows.pyi +10 -10
- package/dist/typeshed-fallback/stubs/psycopg2/psycopg2/_psycopg.pyi +3 -3
- package/dist/typeshed-fallback/stubs/psycopg2/psycopg2/pool.pyi +2 -2
- package/dist/typeshed-fallback/stubs/pyOpenSSL/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/pyOpenSSL/OpenSSL/SSL.pyi +2 -3
- package/dist/typeshed-fallback/stubs/pycurl/METADATA.toml +2 -13
- package/dist/typeshed-fallback/stubs/pycurl/pycurl.pyi +669 -639
- package/dist/typeshed-fallback/stubs/pyinstaller/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/pyinstaller/PyInstaller/building/build_main.pyi +2 -1
- package/dist/typeshed-fallback/stubs/pyinstaller/PyInstaller/building/splash.pyi +19 -1
- package/dist/typeshed-fallback/stubs/pynput/pynput/keyboard/_base.pyi +64 -64
- package/dist/typeshed-fallback/stubs/pynput/pynput/mouse/_base.pyi +33 -33
- package/dist/typeshed-fallback/stubs/python-crontab/crontab.pyi +4 -4
- package/dist/typeshed-fallback/stubs/pytz/pytz/lazy.pyi +11 -7
- package/dist/typeshed-fallback/stubs/pywin32/win32comext/propsys/propsys.pyi +1 -1
- package/dist/typeshed-fallback/stubs/qrbill/METADATA.toml +3 -0
- package/dist/typeshed-fallback/stubs/qrbill/qrbill/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/qrbill/qrbill/bill.pyi +180 -0
- package/dist/typeshed-fallback/stubs/qrcode/qrcode/constants.pyi +6 -4
- package/dist/typeshed-fallback/stubs/qrcode/qrcode/main.pyi +68 -18
- package/dist/typeshed-fallback/stubs/qrcode/qrcode/util.pyi +24 -13
- package/dist/typeshed-fallback/stubs/redis/redis/asyncio/client.pyi +7 -7
- package/dist/typeshed-fallback/stubs/redis/redis/asyncio/cluster.pyi +56 -5
- package/dist/typeshed-fallback/stubs/redis/redis/asyncio/connection.pyi +210 -128
- package/dist/typeshed-fallback/stubs/redis/redis/asyncio/sentinel.pyi +141 -48
- package/dist/typeshed-fallback/stubs/redis/redis/cluster.pyi +1 -1
- package/dist/typeshed-fallback/stubs/redis/redis/commands/cluster.pyi +1 -1
- package/dist/typeshed-fallback/stubs/redis/redis/typing.pyi +2 -2
- package/dist/typeshed-fallback/stubs/regex/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/regex/regex/_regex_core.pyi +34 -34
- package/dist/typeshed-fallback/stubs/requests-oauthlib/requests_oauthlib/oauth2_session.pyi +1 -3
- package/dist/typeshed-fallback/stubs/s2clientprotocol/METADATA.toml +3 -0
- package/dist/typeshed-fallback/stubs/s2clientprotocol/s2clientprotocol/common_pb2.pyi +25 -23
- package/dist/typeshed-fallback/stubs/s2clientprotocol/s2clientprotocol/data_pb2.pyi +31 -28
- package/dist/typeshed-fallback/stubs/s2clientprotocol/s2clientprotocol/debug_pb2.pyi +53 -48
- package/dist/typeshed-fallback/stubs/s2clientprotocol/s2clientprotocol/error_pb2.pyi +1 -0
- package/dist/typeshed-fallback/stubs/s2clientprotocol/s2clientprotocol/query_pb2.pyi +33 -32
- package/dist/typeshed-fallback/stubs/s2clientprotocol/s2clientprotocol/raw_pb2.pyi +85 -71
- package/dist/typeshed-fallback/stubs/s2clientprotocol/s2clientprotocol/sc2api_pb2.pyi +246 -197
- package/dist/typeshed-fallback/stubs/s2clientprotocol/s2clientprotocol/score_pb2.pyi +31 -16
- package/dist/typeshed-fallback/stubs/s2clientprotocol/s2clientprotocol/spatial_pb2.pyi +75 -34
- package/dist/typeshed-fallback/stubs/s2clientprotocol/s2clientprotocol/ui_pb2.pyi +61 -59
- package/dist/typeshed-fallback/stubs/seaborn/seaborn/_core/groupby.pyi +2 -2
- package/dist/typeshed-fallback/stubs/seaborn/seaborn/_core/plot.pyi +1 -1
- package/dist/typeshed-fallback/stubs/seaborn/seaborn/_core/scales.pyi +3 -3
- package/dist/typeshed-fallback/stubs/seaborn/seaborn/_core/typing.pyi +1 -1
- package/dist/typeshed-fallback/stubs/seaborn/seaborn/axisgrid.pyi +1 -1
- package/dist/typeshed-fallback/stubs/seaborn/seaborn/categorical.pyi +12 -13
- package/dist/typeshed-fallback/stubs/seaborn/seaborn/matrix.pyi +5 -7
- package/dist/typeshed-fallback/stubs/seaborn/seaborn/utils.pyi +1 -3
- package/dist/typeshed-fallback/stubs/setuptools/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/setuptools/distutils/_modified.pyi +1 -0
- package/dist/typeshed-fallback/stubs/setuptools/distutils/command/bdist.pyi +1 -0
- package/dist/typeshed-fallback/stubs/setuptools/distutils/command/install_lib.pyi +1 -0
- package/dist/typeshed-fallback/stubs/setuptools/distutils/compat/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/ccompiler.pyi +1 -1
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/bdist.pyi +25 -0
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/register.pyi +13 -0
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/sdist.pyi +10 -1
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/upload.pyi +13 -1
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/compat/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/editable_wheel.pyi +3 -3
- package/dist/typeshed-fallback/stubs/tqdm/tqdm/contrib/discord.pyi +1 -6
- package/dist/typeshed-fallback/stubs/tqdm/tqdm/contrib/slack.pyi +3 -1
- package/dist/typeshed-fallback/stubs/tqdm/tqdm/contrib/telegram.pyi +3 -1
- package/dist/typeshed-fallback/stubs/tqdm/tqdm/rich.pyi +3 -3
- package/dist/typeshed-fallback/stubs/waitress/METADATA.toml +1 -4
- package/dist/typeshed-fallback/stubs/waitress/waitress/__init__.pyi +16 -5
- package/dist/typeshed-fallback/stubs/waitress/waitress/adjustments.pyi +12 -9
- package/dist/typeshed-fallback/stubs/waitress/waitress/buffers.pyi +8 -9
- package/dist/typeshed-fallback/stubs/waitress/waitress/channel.pyi +14 -11
- package/dist/typeshed-fallback/stubs/waitress/waitress/compat.pyi +6 -28
- package/dist/typeshed-fallback/stubs/waitress/waitress/parser.pyi +3 -2
- package/dist/typeshed-fallback/stubs/waitress/waitress/proxy_headers.pyi +12 -11
- package/dist/typeshed-fallback/stubs/waitress/waitress/rfc7230.pyi +27 -12
- package/dist/typeshed-fallback/stubs/waitress/waitress/runner.pyi +6 -5
- package/dist/typeshed-fallback/stubs/waitress/waitress/server.pyi +40 -37
- package/dist/typeshed-fallback/stubs/waitress/waitress/task.pyi +11 -10
- package/dist/typeshed-fallback/stubs/waitress/waitress/trigger.pyi +4 -3
- package/dist/typeshed-fallback/stubs/waitress/waitress/utilities.pyi +11 -11
- package/dist/typeshed-fallback/stubs/waitress/waitress/wasyncore.pyi +31 -34
- package/package.json +1 -1
- package/dist/typeshed-fallback/stubs/tzlocal/METADATA.toml +0 -4
- package/dist/typeshed-fallback/stubs/tzlocal/tzlocal/__init__.pyi +0 -8
- package/dist/typeshed-fallback/stubs/tzlocal/tzlocal/utils.pyi +0 -4
- package/dist/typeshed-fallback/stubs/tzlocal/tzlocal/windows_tz.pyi +0 -4
|
@@ -13,40 +13,84 @@ __docformat__: str
|
|
|
13
13
|
def store_multiple(option, opt, value, parser, *args, **kwargs) -> None: ...
|
|
14
14
|
def read_config_file(option, opt, value, parser) -> None: ...
|
|
15
15
|
def validate_encoding(
|
|
16
|
-
setting,
|
|
16
|
+
setting,
|
|
17
|
+
value: Incomplete | None = None,
|
|
18
|
+
option_parser: Incomplete | None = None,
|
|
19
|
+
config_parser: Incomplete | None = None,
|
|
20
|
+
config_section: Incomplete | None = None,
|
|
17
21
|
): ...
|
|
18
22
|
def validate_encoding_error_handler(
|
|
19
|
-
setting,
|
|
23
|
+
setting,
|
|
24
|
+
value: Incomplete | None = None,
|
|
25
|
+
option_parser: Incomplete | None = None,
|
|
26
|
+
config_parser: Incomplete | None = None,
|
|
27
|
+
config_section: Incomplete | None = None,
|
|
20
28
|
): ...
|
|
21
29
|
def validate_encoding_and_error_handler(
|
|
22
30
|
setting, value, option_parser, config_parser: Incomplete | None = None, config_section: Incomplete | None = None
|
|
23
31
|
): ...
|
|
24
32
|
def validate_boolean(
|
|
25
|
-
setting,
|
|
33
|
+
setting,
|
|
34
|
+
value: Incomplete | None = None,
|
|
35
|
+
option_parser: Incomplete | None = None,
|
|
36
|
+
config_parser: Incomplete | None = None,
|
|
37
|
+
config_section: Incomplete | None = None,
|
|
26
38
|
) -> bool: ...
|
|
27
39
|
def validate_nonnegative_int(
|
|
28
|
-
setting,
|
|
40
|
+
setting,
|
|
41
|
+
value: Incomplete | None = None,
|
|
42
|
+
option_parser: Incomplete | None = None,
|
|
43
|
+
config_parser: Incomplete | None = None,
|
|
44
|
+
config_section: Incomplete | None = None,
|
|
29
45
|
) -> int: ...
|
|
30
46
|
def validate_threshold(
|
|
31
|
-
setting,
|
|
47
|
+
setting,
|
|
48
|
+
value: Incomplete | None = None,
|
|
49
|
+
option_parser: Incomplete | None = None,
|
|
50
|
+
config_parser: Incomplete | None = None,
|
|
51
|
+
config_section: Incomplete | None = None,
|
|
32
52
|
) -> int: ...
|
|
33
53
|
def validate_colon_separated_string_list(
|
|
34
|
-
setting,
|
|
54
|
+
setting,
|
|
55
|
+
value: Incomplete | None = None,
|
|
56
|
+
option_parser: Incomplete | None = None,
|
|
57
|
+
config_parser: Incomplete | None = None,
|
|
58
|
+
config_section: Incomplete | None = None,
|
|
35
59
|
) -> list[str]: ...
|
|
36
60
|
def validate_comma_separated_list(
|
|
37
|
-
setting,
|
|
61
|
+
setting,
|
|
62
|
+
value: Incomplete | None = None,
|
|
63
|
+
option_parser: Incomplete | None = None,
|
|
64
|
+
config_parser: Incomplete | None = None,
|
|
65
|
+
config_section: Incomplete | None = None,
|
|
38
66
|
) -> list[str]: ...
|
|
39
67
|
def validate_url_trailing_slash(
|
|
40
|
-
setting,
|
|
68
|
+
setting,
|
|
69
|
+
value: Incomplete | None = None,
|
|
70
|
+
option_parser: Incomplete | None = None,
|
|
71
|
+
config_parser: Incomplete | None = None,
|
|
72
|
+
config_section: Incomplete | None = None,
|
|
41
73
|
) -> str: ...
|
|
42
74
|
def validate_dependency_file(
|
|
43
|
-
setting,
|
|
75
|
+
setting,
|
|
76
|
+
value: Incomplete | None = None,
|
|
77
|
+
option_parser: Incomplete | None = None,
|
|
78
|
+
config_parser: Incomplete | None = None,
|
|
79
|
+
config_section: Incomplete | None = None,
|
|
44
80
|
) -> DependencyList: ...
|
|
45
81
|
def validate_strip_class(
|
|
46
|
-
setting,
|
|
82
|
+
setting,
|
|
83
|
+
value: Incomplete | None = None,
|
|
84
|
+
option_parser: Incomplete | None = None,
|
|
85
|
+
config_parser: Incomplete | None = None,
|
|
86
|
+
config_section: Incomplete | None = None,
|
|
47
87
|
): ...
|
|
48
88
|
def validate_smartquotes_locales(
|
|
49
|
-
setting,
|
|
89
|
+
setting,
|
|
90
|
+
value: Incomplete | None = None,
|
|
91
|
+
option_parser: Incomplete | None = None,
|
|
92
|
+
config_parser: Incomplete | None = None,
|
|
93
|
+
config_section: Incomplete | None = None,
|
|
50
94
|
) -> list[tuple[str, str]]: ...
|
|
51
95
|
def make_paths_absolute(pathdict, keys, base_path: Incomplete | None = None) -> None: ...
|
|
52
96
|
def make_one_path_absolute(base_path, path) -> str: ...
|
|
@@ -76,7 +76,7 @@ class Inliner:
|
|
|
76
76
|
self, match: Match[str], lineno: int
|
|
77
77
|
) -> tuple[str, list[nodes.problematic], str, list[nodes.system_message]]: ...
|
|
78
78
|
def reference(
|
|
79
|
-
self, match: Match[str], lineno: int, anonymous: bool =
|
|
79
|
+
self, match: Match[str], lineno: int, anonymous: bool = False
|
|
80
80
|
) -> tuple[str, list[nodes.problematic], str, list[nodes.system_message]]: ...
|
|
81
81
|
def anonymous_reference(
|
|
82
82
|
self, match: Match[str], lineno: int
|
|
@@ -57,7 +57,7 @@ class SimpleTableParser(TableParser):
|
|
|
57
57
|
def parse_table(self) -> None: ...
|
|
58
58
|
def parse_columns(self, line: str, offset: int) -> list[tuple[int, int]]: ...
|
|
59
59
|
def init_row(self, colspec: list[tuple[int, int]], offset: int) -> list[_Cell]: ...
|
|
60
|
-
def parse_row(self, lines: list[str], start: int, spanline: tuple[str, int] | None =
|
|
60
|
+
def parse_row(self, lines: list[str], start: int, spanline: tuple[str, int] | None = None) -> None: ...
|
|
61
61
|
def check_columns(self, lines: list[str], first_line: int, columns: list[tuple[int, int]]) -> None: ...
|
|
62
62
|
def structure_from_cells(self) -> tuple[_Colspecs, list[_Row], list[_Row]]: ...
|
|
63
63
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import sys
|
|
1
2
|
from collections.abc import Callable, Generator, Iterable, Iterator, Sequence
|
|
2
3
|
from re import Match, Pattern
|
|
3
4
|
from typing import Any, ClassVar, Generic, SupportsIndex, TypeVar, overload
|
|
@@ -43,7 +44,7 @@ class StateMachine(Generic[_Context]):
|
|
|
43
44
|
def insert_input(self, input_lines: list[str] | StringList, source: str) -> None: ...
|
|
44
45
|
def get_text_block(self, flush_left: bool = False) -> StringList: ...
|
|
45
46
|
def check_line(
|
|
46
|
-
self, context: _Context, state: State[_Context], transitions: list[str] | None =
|
|
47
|
+
self, context: _Context, state: State[_Context], transitions: list[str] | None = None
|
|
47
48
|
) -> _TransitionResult[_Context]: ...
|
|
48
49
|
def add_state(self, state_class: type[State[_Context]]) -> None: ...
|
|
49
50
|
def add_states(self, state_classes: Iterable[type[State[_Context]]]) -> None: ...
|
|
@@ -169,7 +170,7 @@ class ViewList(Generic[_T]):
|
|
|
169
170
|
def __iter__(self) -> Iterator[str]: ...
|
|
170
171
|
|
|
171
172
|
class StringList(ViewList[str]):
|
|
172
|
-
def trim_left(self, length: int, start: int = 0, end: int =
|
|
173
|
+
def trim_left(self, length: int, start: int = 0, end: int = sys.maxsize) -> None: ...
|
|
173
174
|
def get_text_block(self, start: int, flush_left: bool = False) -> StringList: ...
|
|
174
175
|
def get_indented(
|
|
175
176
|
self,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
version = "0.
|
|
1
|
+
version = "0.8.*"
|
|
2
2
|
upstream_repository = "https://github.com/roy-ht/editdistance"
|
|
@@ -2,3 +2,5 @@ from collections.abc import Hashable, Iterable
|
|
|
2
2
|
|
|
3
3
|
def eval(a: Iterable[Hashable], b: Iterable[Hashable]) -> int: ...
|
|
4
4
|
def distance(a: Iterable[Hashable], b: Iterable[Hashable]) -> int: ...
|
|
5
|
+
def eval_criterion(a: Iterable[Hashable], b: Iterable[Hashable], thr: int) -> bool: ...
|
|
6
|
+
def distance_le_than(a: Iterable[Hashable], b: Iterable[Hashable], thr: int) -> bool: ...
|
|
@@ -5,8 +5,8 @@ from typing_extensions import Self
|
|
|
5
5
|
from .syntax import Name
|
|
6
6
|
|
|
7
7
|
class SignatureFlag(IntEnum):
|
|
8
|
-
SIGNATURES_EXIST
|
|
9
|
-
APPEND_ONLY
|
|
8
|
+
SIGNATURES_EXIST = 1
|
|
9
|
+
APPEND_ONLY = 2
|
|
10
10
|
|
|
11
11
|
class CoerciveEnum(Enum):
|
|
12
12
|
@classmethod
|
|
@@ -21,55 +21,55 @@ class CoerciveIntFlag(IntFlag):
|
|
|
21
21
|
def coerce(cls, value: Self | str | int) -> Self: ...
|
|
22
22
|
|
|
23
23
|
class WrapMode(CoerciveEnum):
|
|
24
|
-
WORD
|
|
25
|
-
CHAR
|
|
24
|
+
WORD = "WORD"
|
|
25
|
+
CHAR = "CHAR"
|
|
26
26
|
|
|
27
27
|
class CharVPos(CoerciveEnum):
|
|
28
|
-
SUP
|
|
29
|
-
SUB
|
|
30
|
-
NOM
|
|
31
|
-
DENOM
|
|
32
|
-
LINE
|
|
28
|
+
SUP = "SUP"
|
|
29
|
+
SUB = "SUB"
|
|
30
|
+
NOM = "NOM"
|
|
31
|
+
DENOM = "DENOM"
|
|
32
|
+
LINE = "LINE"
|
|
33
33
|
|
|
34
34
|
class Align(CoerciveEnum):
|
|
35
|
-
C
|
|
36
|
-
X
|
|
37
|
-
L
|
|
38
|
-
R
|
|
39
|
-
J
|
|
35
|
+
C = "CENTER"
|
|
36
|
+
X = "X_CENTER"
|
|
37
|
+
L = "LEFT"
|
|
38
|
+
R = "RIGHT"
|
|
39
|
+
J = "JUSTIFY"
|
|
40
40
|
|
|
41
41
|
class VAlign(CoerciveEnum):
|
|
42
|
-
M
|
|
43
|
-
T
|
|
44
|
-
B
|
|
42
|
+
M = "MIDDLE"
|
|
43
|
+
T = "TOP"
|
|
44
|
+
B = "BOTTOM"
|
|
45
45
|
|
|
46
46
|
class TextEmphasis(CoerciveIntFlag):
|
|
47
|
-
B
|
|
48
|
-
I
|
|
49
|
-
U
|
|
47
|
+
B = 1
|
|
48
|
+
I = 2
|
|
49
|
+
U = 4
|
|
50
50
|
|
|
51
51
|
@property
|
|
52
52
|
def style(self) -> str: ...
|
|
53
53
|
|
|
54
54
|
class MethodReturnValue(CoerciveIntFlag):
|
|
55
|
-
PAGE_BREAK
|
|
56
|
-
LINES
|
|
57
|
-
HEIGHT
|
|
55
|
+
PAGE_BREAK = 1
|
|
56
|
+
LINES = 2
|
|
57
|
+
HEIGHT = 4
|
|
58
58
|
|
|
59
59
|
class TableBordersLayout(CoerciveEnum):
|
|
60
|
-
ALL
|
|
61
|
-
NONE
|
|
62
|
-
INTERNAL
|
|
63
|
-
MINIMAL
|
|
64
|
-
HORIZONTAL_LINES
|
|
65
|
-
NO_HORIZONTAL_LINES
|
|
66
|
-
SINGLE_TOP_LINE
|
|
60
|
+
ALL = "ALL"
|
|
61
|
+
NONE = "NONE"
|
|
62
|
+
INTERNAL = "INTERNAL"
|
|
63
|
+
MINIMAL = "MINIMAL"
|
|
64
|
+
HORIZONTAL_LINES = "HORIZONTAL_LINES"
|
|
65
|
+
NO_HORIZONTAL_LINES = "NO_HORIZONTAL_LINES"
|
|
66
|
+
SINGLE_TOP_LINE = "SINGLE_TOP_LINE"
|
|
67
67
|
|
|
68
68
|
class TableCellFillMode(CoerciveEnum):
|
|
69
|
-
NONE
|
|
70
|
-
ALL
|
|
71
|
-
ROWS
|
|
72
|
-
COLUMNS
|
|
69
|
+
NONE = "NONE"
|
|
70
|
+
ALL = "ALL"
|
|
71
|
+
ROWS = "ROWS"
|
|
72
|
+
COLUMNS = "COLUMNS"
|
|
73
73
|
|
|
74
74
|
def should_fill_cell(self, i: int, j: int) -> bool: ...
|
|
75
75
|
|
|
@@ -78,9 +78,9 @@ class TableSpan(CoerciveEnum):
|
|
|
78
78
|
COL: Literal["COL"]
|
|
79
79
|
|
|
80
80
|
class RenderStyle(CoerciveEnum):
|
|
81
|
-
D
|
|
82
|
-
F
|
|
83
|
-
DF
|
|
81
|
+
D = "DRAW"
|
|
82
|
+
F = "FILL"
|
|
83
|
+
DF = "DRAW_FILL"
|
|
84
84
|
@property
|
|
85
85
|
def operator(self) -> str: ...
|
|
86
86
|
@property
|
|
@@ -89,173 +89,173 @@ class RenderStyle(CoerciveEnum):
|
|
|
89
89
|
def is_fill(self) -> bool: ...
|
|
90
90
|
|
|
91
91
|
class TextMode(CoerciveIntEnum):
|
|
92
|
-
FILL
|
|
93
|
-
STROKE
|
|
94
|
-
FILL_STROKE
|
|
95
|
-
INVISIBLE
|
|
96
|
-
FILL_CLIP
|
|
97
|
-
STROKE_CLIP
|
|
98
|
-
FILL_STROKE_CLIP
|
|
99
|
-
CLIP
|
|
92
|
+
FILL = 0
|
|
93
|
+
STROKE = 1
|
|
94
|
+
FILL_STROKE = 2
|
|
95
|
+
INVISIBLE = 3
|
|
96
|
+
FILL_CLIP = 4
|
|
97
|
+
STROKE_CLIP = 5
|
|
98
|
+
FILL_STROKE_CLIP = 6
|
|
99
|
+
CLIP = 7
|
|
100
100
|
|
|
101
101
|
class XPos(CoerciveEnum):
|
|
102
|
-
LEFT
|
|
103
|
-
RIGHT
|
|
104
|
-
START
|
|
105
|
-
END
|
|
106
|
-
WCONT
|
|
107
|
-
CENTER
|
|
108
|
-
LMARGIN
|
|
109
|
-
RMARGIN
|
|
102
|
+
LEFT = "LEFT"
|
|
103
|
+
RIGHT = "RIGHT"
|
|
104
|
+
START = "START"
|
|
105
|
+
END = "END"
|
|
106
|
+
WCONT = "WCONT"
|
|
107
|
+
CENTER = "CENTER"
|
|
108
|
+
LMARGIN = "LMARGIN"
|
|
109
|
+
RMARGIN = "RMARGIN"
|
|
110
110
|
|
|
111
111
|
class YPos(CoerciveEnum):
|
|
112
|
-
TOP
|
|
113
|
-
LAST
|
|
114
|
-
NEXT
|
|
115
|
-
TMARGIN
|
|
116
|
-
BMARGIN
|
|
112
|
+
TOP = "TOP"
|
|
113
|
+
LAST = "LAST"
|
|
114
|
+
NEXT = "NEXT"
|
|
115
|
+
TMARGIN = "TMARGIN"
|
|
116
|
+
BMARGIN = "BMARGIN"
|
|
117
117
|
|
|
118
118
|
class Angle(CoerciveIntEnum):
|
|
119
|
-
NORTH
|
|
120
|
-
EAST
|
|
121
|
-
SOUTH
|
|
122
|
-
WEST
|
|
123
|
-
NORTHEAST
|
|
124
|
-
SOUTHEAST
|
|
125
|
-
SOUTHWEST
|
|
126
|
-
NORTHWEST
|
|
119
|
+
NORTH = 90
|
|
120
|
+
EAST = 0
|
|
121
|
+
SOUTH = 270
|
|
122
|
+
WEST = 180
|
|
123
|
+
NORTHEAST = 45
|
|
124
|
+
SOUTHEAST = 315
|
|
125
|
+
SOUTHWEST = 225
|
|
126
|
+
NORTHWEST = 135
|
|
127
127
|
|
|
128
128
|
class PageLayout(CoerciveEnum):
|
|
129
|
-
SINGLE_PAGE
|
|
130
|
-
ONE_COLUMN
|
|
131
|
-
TWO_COLUMN_LEFT
|
|
132
|
-
TWO_COLUMN_RIGHT
|
|
133
|
-
TWO_PAGE_LEFT
|
|
134
|
-
TWO_PAGE_RIGHT
|
|
129
|
+
SINGLE_PAGE = Name("SinglePage")
|
|
130
|
+
ONE_COLUMN = Name("OneColumn")
|
|
131
|
+
TWO_COLUMN_LEFT = Name("TwoColumnLeft")
|
|
132
|
+
TWO_COLUMN_RIGHT = Name("TwoColumnRight")
|
|
133
|
+
TWO_PAGE_LEFT = Name("TwoPageLeft")
|
|
134
|
+
TWO_PAGE_RIGHT = Name("TwoPageRight")
|
|
135
135
|
|
|
136
136
|
class PageMode(CoerciveEnum):
|
|
137
|
-
USE_NONE
|
|
138
|
-
USE_OUTLINES
|
|
139
|
-
USE_THUMBS
|
|
140
|
-
FULL_SCREEN
|
|
141
|
-
USE_OC
|
|
142
|
-
USE_ATTACHMENTS
|
|
137
|
+
USE_NONE = Name("UseNone")
|
|
138
|
+
USE_OUTLINES = Name("UseOutlines")
|
|
139
|
+
USE_THUMBS = Name("UseThumbs")
|
|
140
|
+
FULL_SCREEN = Name("FullScreen")
|
|
141
|
+
USE_OC = Name("UseOC")
|
|
142
|
+
USE_ATTACHMENTS = Name("UseAttachments")
|
|
143
143
|
|
|
144
144
|
class TextMarkupType(CoerciveEnum):
|
|
145
|
-
HIGHLIGHT
|
|
146
|
-
UNDERLINE
|
|
147
|
-
SQUIGGLY
|
|
148
|
-
STRIKE_OUT
|
|
145
|
+
HIGHLIGHT = Name("Highlight")
|
|
146
|
+
UNDERLINE = Name("Underline")
|
|
147
|
+
SQUIGGLY = Name("Squiggly")
|
|
148
|
+
STRIKE_OUT = Name("StrikeOut")
|
|
149
149
|
|
|
150
150
|
class BlendMode(CoerciveEnum):
|
|
151
|
-
NORMAL
|
|
152
|
-
MULTIPLY
|
|
153
|
-
SCREEN
|
|
154
|
-
OVERLAY
|
|
155
|
-
DARKEN
|
|
156
|
-
LIGHTEN
|
|
157
|
-
COLOR_DODGE
|
|
158
|
-
COLOR_BURN
|
|
159
|
-
HARD_LIGHT
|
|
160
|
-
SOFT_LIGHT
|
|
161
|
-
DIFFERENCE
|
|
162
|
-
EXCLUSION
|
|
163
|
-
HUE
|
|
164
|
-
SATURATION
|
|
165
|
-
COLOR
|
|
166
|
-
LUMINOSITY
|
|
151
|
+
NORMAL = Name("Normal")
|
|
152
|
+
MULTIPLY = Name("Multiply")
|
|
153
|
+
SCREEN = Name("Screen")
|
|
154
|
+
OVERLAY = Name("Overlay")
|
|
155
|
+
DARKEN = Name("Darken")
|
|
156
|
+
LIGHTEN = Name("Lighten")
|
|
157
|
+
COLOR_DODGE = Name("ColorDodge")
|
|
158
|
+
COLOR_BURN = Name("ColorBurn")
|
|
159
|
+
HARD_LIGHT = Name("HardLight")
|
|
160
|
+
SOFT_LIGHT = Name("SoftLight")
|
|
161
|
+
DIFFERENCE = Name("Difference")
|
|
162
|
+
EXCLUSION = Name("Exclusion")
|
|
163
|
+
HUE = Name("Hue")
|
|
164
|
+
SATURATION = Name("Saturation")
|
|
165
|
+
COLOR = Name("Color")
|
|
166
|
+
LUMINOSITY = Name("Luminosity")
|
|
167
167
|
|
|
168
168
|
class AnnotationFlag(CoerciveIntEnum):
|
|
169
|
-
INVISIBLE
|
|
170
|
-
HIDDEN
|
|
171
|
-
PRINT
|
|
172
|
-
NO_ZOOM
|
|
173
|
-
NO_ROTATE
|
|
174
|
-
NO_VIEW
|
|
175
|
-
READ_ONLY
|
|
176
|
-
LOCKED
|
|
177
|
-
TOGGLE_NO_VIEW
|
|
178
|
-
LOCKED_CONTENTS
|
|
169
|
+
INVISIBLE = 1
|
|
170
|
+
HIDDEN = 2
|
|
171
|
+
PRINT = 4
|
|
172
|
+
NO_ZOOM = 8
|
|
173
|
+
NO_ROTATE = 16
|
|
174
|
+
NO_VIEW = 32
|
|
175
|
+
READ_ONLY = 64
|
|
176
|
+
LOCKED = 128
|
|
177
|
+
TOGGLE_NO_VIEW = 256
|
|
178
|
+
LOCKED_CONTENTS = 512
|
|
179
179
|
|
|
180
180
|
class AnnotationName(CoerciveEnum):
|
|
181
|
-
NOTE
|
|
182
|
-
COMMENT
|
|
183
|
-
HELP
|
|
184
|
-
PARAGRAPH
|
|
185
|
-
NEW_PARAGRAPH
|
|
186
|
-
INSERT
|
|
181
|
+
NOTE = Name("Note")
|
|
182
|
+
COMMENT = Name("Comment")
|
|
183
|
+
HELP = Name("Help")
|
|
184
|
+
PARAGRAPH = Name("Paragraph")
|
|
185
|
+
NEW_PARAGRAPH = Name("NewParagraph")
|
|
186
|
+
INSERT = Name("Insert")
|
|
187
187
|
|
|
188
188
|
class FileAttachmentAnnotationName(CoerciveEnum):
|
|
189
|
-
PUSH_PIN
|
|
190
|
-
GRAPH_PUSH_PIN
|
|
191
|
-
PAPERCLIP_TAG
|
|
189
|
+
PUSH_PIN = Name("PushPin")
|
|
190
|
+
GRAPH_PUSH_PIN = Name("GraphPushPin")
|
|
191
|
+
PAPERCLIP_TAG = Name("PaperclipTag")
|
|
192
192
|
|
|
193
193
|
class IntersectionRule(CoerciveEnum):
|
|
194
|
-
NONZERO
|
|
195
|
-
EVENODD
|
|
194
|
+
NONZERO = "nonzero"
|
|
195
|
+
EVENODD = "evenodd"
|
|
196
196
|
|
|
197
197
|
class PathPaintRule(CoerciveEnum):
|
|
198
|
-
STROKE
|
|
199
|
-
FILL_NONZERO
|
|
200
|
-
FILL_EVENODD
|
|
201
|
-
STROKE_FILL_NONZERO
|
|
202
|
-
STROKE_FILL_EVENODD
|
|
203
|
-
DONT_PAINT
|
|
204
|
-
AUTO
|
|
198
|
+
STROKE = "S"
|
|
199
|
+
FILL_NONZERO = "f"
|
|
200
|
+
FILL_EVENODD = "f*"
|
|
201
|
+
STROKE_FILL_NONZERO = "B"
|
|
202
|
+
STROKE_FILL_EVENODD = "B*"
|
|
203
|
+
DONT_PAINT = "n"
|
|
204
|
+
AUTO = "auto"
|
|
205
205
|
|
|
206
206
|
class ClippingPathIntersectionRule(CoerciveEnum):
|
|
207
|
-
NONZERO
|
|
208
|
-
EVENODD
|
|
207
|
+
NONZERO = "W"
|
|
208
|
+
EVENODD = "W*"
|
|
209
209
|
|
|
210
210
|
class StrokeCapStyle(CoerciveIntEnum):
|
|
211
|
-
BUTT
|
|
212
|
-
ROUND
|
|
213
|
-
SQUARE
|
|
211
|
+
BUTT = 0
|
|
212
|
+
ROUND = 1
|
|
213
|
+
SQUARE = 2
|
|
214
214
|
|
|
215
215
|
class StrokeJoinStyle(CoerciveIntEnum):
|
|
216
|
-
MITER
|
|
217
|
-
ROUND
|
|
218
|
-
BEVEL
|
|
216
|
+
MITER = 0
|
|
217
|
+
ROUND = 1
|
|
218
|
+
BEVEL = 2
|
|
219
219
|
|
|
220
220
|
class PDFStyleKeys(Enum):
|
|
221
|
-
FILL_ALPHA
|
|
222
|
-
BLEND_MODE
|
|
223
|
-
STROKE_ALPHA
|
|
224
|
-
STROKE_ADJUSTMENT
|
|
225
|
-
STROKE_WIDTH
|
|
226
|
-
STROKE_CAP_STYLE
|
|
227
|
-
STROKE_JOIN_STYLE
|
|
228
|
-
STROKE_MITER_LIMIT
|
|
229
|
-
STROKE_DASH_PATTERN
|
|
221
|
+
FILL_ALPHA = Name("ca")
|
|
222
|
+
BLEND_MODE = Name("BM")
|
|
223
|
+
STROKE_ALPHA = Name("CA")
|
|
224
|
+
STROKE_ADJUSTMENT = Name("SA")
|
|
225
|
+
STROKE_WIDTH = Name("LW")
|
|
226
|
+
STROKE_CAP_STYLE = Name("LC")
|
|
227
|
+
STROKE_JOIN_STYLE = Name("LJ")
|
|
228
|
+
STROKE_MITER_LIMIT = Name("ML")
|
|
229
|
+
STROKE_DASH_PATTERN = Name("D")
|
|
230
230
|
|
|
231
231
|
class Corner(CoerciveEnum):
|
|
232
|
-
TOP_RIGHT
|
|
233
|
-
TOP_LEFT
|
|
234
|
-
BOTTOM_RIGHT
|
|
235
|
-
BOTTOM_LEFT
|
|
232
|
+
TOP_RIGHT = "TOP_RIGHT"
|
|
233
|
+
TOP_LEFT = "TOP_LEFT"
|
|
234
|
+
BOTTOM_RIGHT = "BOTTOM_RIGHT"
|
|
235
|
+
BOTTOM_LEFT = "BOTTOM_LEFT"
|
|
236
236
|
|
|
237
237
|
class FontDescriptorFlags(Flag):
|
|
238
|
-
FIXED_PITCH
|
|
239
|
-
SYMBOLIC
|
|
240
|
-
ITALIC
|
|
241
|
-
FORCE_BOLD
|
|
238
|
+
FIXED_PITCH = 1
|
|
239
|
+
SYMBOLIC = 4
|
|
240
|
+
ITALIC = 64
|
|
241
|
+
FORCE_BOLD = 262144
|
|
242
242
|
|
|
243
243
|
class AccessPermission(IntFlag):
|
|
244
|
-
PRINT_LOW_RES
|
|
245
|
-
MODIFY
|
|
246
|
-
COPY
|
|
247
|
-
ANNOTATION
|
|
248
|
-
FILL_FORMS
|
|
249
|
-
COPY_FOR_ACCESSIBILITY
|
|
250
|
-
ASSEMBLE
|
|
251
|
-
PRINT_HIGH_RES
|
|
244
|
+
PRINT_LOW_RES = 4
|
|
245
|
+
MODIFY = 8
|
|
246
|
+
COPY = 16
|
|
247
|
+
ANNOTATION = 32
|
|
248
|
+
FILL_FORMS = 256
|
|
249
|
+
COPY_FOR_ACCESSIBILITY = 512
|
|
250
|
+
ASSEMBLE = 1024
|
|
251
|
+
PRINT_HIGH_RES = 2048
|
|
252
252
|
@classmethod
|
|
253
253
|
def all(cls) -> int: ...
|
|
254
254
|
@classmethod
|
|
255
255
|
def none(cls) -> Literal[0]: ...
|
|
256
256
|
|
|
257
257
|
class EncryptionMethod(Enum):
|
|
258
|
-
NO_ENCRYPTION
|
|
259
|
-
RC4
|
|
260
|
-
AES_128
|
|
261
|
-
AES_256
|
|
258
|
+
NO_ENCRYPTION = 0
|
|
259
|
+
RC4 = 1
|
|
260
|
+
AES_128 = 2
|
|
261
|
+
AES_256 = 3
|
|
@@ -84,10 +84,15 @@ class Value:
|
|
|
84
84
|
def __int__(self) -> int: ...
|
|
85
85
|
def __float__(self) -> float: ...
|
|
86
86
|
def __add__(self, other: _ValueOrNative) -> Value: ...
|
|
87
|
+
def __radd__(self, other: _ValueOrNative) -> Value: ...
|
|
87
88
|
def __sub__(self, other: _ValueOrNative) -> Value: ...
|
|
89
|
+
def __rsub__(self, other: _ValueOrNative) -> Value: ...
|
|
88
90
|
def __mul__(self, other: _ValueOrNative) -> Value: ...
|
|
91
|
+
def __rmul__(self, other: _ValueOrNative) -> Value: ...
|
|
89
92
|
def __truediv__(self, other: _ValueOrNative) -> Value: ...
|
|
93
|
+
def __rtruediv__(self, other: _ValueOrNative) -> Value: ...
|
|
90
94
|
def __mod__(self, other: _ValueOrNative) -> Value: ...
|
|
95
|
+
def __rmod__(self, other: _ValueOrNative) -> Value: ...
|
|
91
96
|
def __pow__(self, other: _ValueOrNative, mod: None = None) -> Value: ...
|
|
92
97
|
def __and__(self, other: _ValueOrNative) -> Value: ...
|
|
93
98
|
def __or__(self, other: _ValueOrNative) -> Value: ...
|
|
@@ -11,7 +11,6 @@ from .resultrow import ResultRow
|
|
|
11
11
|
apilevel: str
|
|
12
12
|
threadsafety: int
|
|
13
13
|
paramstyle: tuple[str, ...] # hdbcli defines it as a tuple which does not follow PEP 249
|
|
14
|
-
connect = Connection
|
|
15
14
|
|
|
16
15
|
class Connection:
|
|
17
16
|
def __init__(
|
|
@@ -40,6 +39,8 @@ class Connection:
|
|
|
40
39
|
def setautocommit(self, auto: bool = ...) -> None: ...
|
|
41
40
|
def setclientinfo(self, key: str, value: str | None = ...) -> None: ...
|
|
42
41
|
|
|
42
|
+
connect = Connection
|
|
43
|
+
|
|
43
44
|
class LOB:
|
|
44
45
|
def __init__(self, *args: Any, **kwargs: Any) -> None: ...
|
|
45
46
|
def close(self) -> bool: ...
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
from typing import Final
|
|
2
|
+
|
|
3
|
+
from .cal import (
|
|
4
|
+
Alarm as Alarm,
|
|
5
|
+
Calendar as Calendar,
|
|
6
|
+
ComponentFactory as ComponentFactory,
|
|
7
|
+
Event as Event,
|
|
8
|
+
FreeBusy as FreeBusy,
|
|
9
|
+
Journal as Journal,
|
|
10
|
+
Timezone as Timezone,
|
|
11
|
+
TimezoneDaylight as TimezoneDaylight,
|
|
12
|
+
TimezoneStandard as TimezoneStandard,
|
|
13
|
+
Todo as Todo,
|
|
14
|
+
)
|
|
15
|
+
from .parser import Parameters as Parameters, q_join as q_join, q_split as q_split
|
|
16
|
+
from .prop import (
|
|
17
|
+
FixedOffset as FixedOffset,
|
|
18
|
+
LocalTimezone as LocalTimezone,
|
|
19
|
+
TypesFactory as TypesFactory,
|
|
20
|
+
vBinary as vBinary,
|
|
21
|
+
vBoolean as vBoolean,
|
|
22
|
+
vCalAddress as vCalAddress,
|
|
23
|
+
vDate as vDate,
|
|
24
|
+
vDatetime as vDatetime,
|
|
25
|
+
vDDDTypes as vDDDTypes,
|
|
26
|
+
vDuration as vDuration,
|
|
27
|
+
vFloat as vFloat,
|
|
28
|
+
vFrequency as vFrequency,
|
|
29
|
+
vGeo as vGeo,
|
|
30
|
+
vInt as vInt,
|
|
31
|
+
vPeriod as vPeriod,
|
|
32
|
+
vRecur as vRecur,
|
|
33
|
+
vText as vText,
|
|
34
|
+
vTime as vTime,
|
|
35
|
+
vUri as vUri,
|
|
36
|
+
vUTCOffset as vUTCOffset,
|
|
37
|
+
vWeekday as vWeekday,
|
|
38
|
+
)
|
|
39
|
+
|
|
40
|
+
__version__: Final[str]
|