Datasets:
Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +1 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/stdlib/3.9/zoneinfo/__init__.pyi +32 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/stdlib/3/_compression.pyi +23 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/stdlib/3/_tkinter.pyi +93 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/stdlib/3/_winapi.pyi +134 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/stdlib/3/ast.pyi +207 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/stdlib/3/atexit.pyi +7 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/stdlib/3/compileall.pyi +108 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/stdlib/3/enum.pyi +73 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/stdlib/3/imp.pyi +64 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/stdlib/3/reprlib.pyi +36 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/compat.pyi +20 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/ec2/__init__.pyi +10 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/elb/__init__.pyi +59 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/kms/__init__.pyi +6 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/kms/exceptions.pyi +17 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/kms/layer1.pyi +82 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/regioninfo.pyi +22 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/s3/__init__.pyi +18 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/s3/acl.pyi +48 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/s3/bucket.pyi +187 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/s3/bucketlistresultset.pyi +80 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/s3/bucketlogging.pyi +11 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/s3/connection.pyi +128 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/s3/cors.pyi +35 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/s3/deletemarker.pyi +12 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/s3/key.pyi +233 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/s3/keyfile.pyi +29 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/s3/lifecycle.pyi +65 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/s3/multidelete.pyi +35 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/s3/multipart.pyi +70 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/s3/prefix.pyi +10 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/s3/tagging.pyi +22 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/s3/user.pyi +10 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/s3/website.pyi +82 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/__init__.pyi +2 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/__meta__.pyi +3 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/blockparser.pyi +18 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/blockprocessors.pyi +59 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/core.pyi +63 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/__init__.pyi +13 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/abbr.pyi +16 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/admonition.pyi +15 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/attr_list.pyi +20 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/codehilite.pyi +42 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/def_list.pyi +13 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/extra.pyi +10 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/fenced_code.pyi +16 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/footnotes.pyi +57 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/legacy_attrs.pyi +13 -0
.gitattributes
CHANGED
|
@@ -469,3 +469,4 @@ material/dataset/Datasets/Electron[[:space:]]Microscopy[[:space:]]Image[[:space:
|
|
| 469 |
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/matplotlib/tests/__pycache__/test_axes.cpython-310.pyc filter=lfs diff=lfs merge=lfs -text
|
| 470 |
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/matplotlib/mpl-data/fonts/ttf/DejaVuSansMono.ttf filter=lfs diff=lfs merge=lfs -text
|
| 471 |
material/dataset/Datasets/Electron[[:space:]]Microscopy[[:space:]]Image[[:space:]]Masks/TiO2_Masks_TSEM/Image_Registration/Input/1908308/1908308.tif filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 469 |
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/matplotlib/tests/__pycache__/test_axes.cpython-310.pyc filter=lfs diff=lfs merge=lfs -text
|
| 470 |
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/matplotlib/mpl-data/fonts/ttf/DejaVuSansMono.ttf filter=lfs diff=lfs merge=lfs -text
|
| 471 |
material/dataset/Datasets/Electron[[:space:]]Microscopy[[:space:]]Image[[:space:]]Masks/TiO2_Masks_TSEM/Image_Registration/Input/1908308/1908308.tif filter=lfs diff=lfs merge=lfs -text
|
| 472 |
+
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/matplotlib/_path.cpython-310-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/stdlib/3.9/zoneinfo/__init__.pyi
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
import typing
|
| 3 |
+
from datetime import tzinfo
|
| 4 |
+
from typing import Any, AnyStr, Iterable, Optional, Protocol, Sequence, Set, Type, Union
|
| 5 |
+
|
| 6 |
+
_T = typing.TypeVar("_T", bound="ZoneInfo")
|
| 7 |
+
|
| 8 |
+
class _IOBytes(Protocol):
|
| 9 |
+
def read(self, __size: int) -> bytes: ...
|
| 10 |
+
def seek(self, __size: int, __whence: int = ...) -> Any: ...
|
| 11 |
+
|
| 12 |
+
class ZoneInfo(tzinfo):
|
| 13 |
+
@property
|
| 14 |
+
def key(self) -> str: ...
|
| 15 |
+
def __init__(self, key: str) -> None: ...
|
| 16 |
+
@classmethod
|
| 17 |
+
def no_cache(cls: Type[_T], key: str) -> _T: ...
|
| 18 |
+
@classmethod
|
| 19 |
+
def from_file(cls: Type[_T], __fobj: _IOBytes, key: Optional[str] = ...) -> _T: ...
|
| 20 |
+
@classmethod
|
| 21 |
+
def clear_cache(cls, *, only_keys: Iterable[str] = ...) -> None: ...
|
| 22 |
+
|
| 23 |
+
# Note: Both here and in clear_cache, the types allow the use of `str` where
|
| 24 |
+
# a sequence of strings is required. This should be remedied if a solution
|
| 25 |
+
# to this typing bug is found: https://github.com/python/typing/issues/256
|
| 26 |
+
def reset_tzpath(to: Optional[Sequence[Union[os.PathLike[AnyStr], str]]] = ...) -> None: ...
|
| 27 |
+
def available_timezones() -> Set[str]: ...
|
| 28 |
+
|
| 29 |
+
TZPATH: Sequence[str]
|
| 30 |
+
|
| 31 |
+
class ZoneInfoNotFoundError(KeyError): ...
|
| 32 |
+
class InvalidTZPathWarning(RuntimeWarning): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/stdlib/3/_compression.pyi
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from _typeshed import WriteableBuffer
|
| 2 |
+
from io import BufferedIOBase, RawIOBase
|
| 3 |
+
from typing import Any, Callable, Tuple, Type, Union
|
| 4 |
+
|
| 5 |
+
BUFFER_SIZE: Any
|
| 6 |
+
|
| 7 |
+
class BaseStream(BufferedIOBase): ...
|
| 8 |
+
|
| 9 |
+
class DecompressReader(RawIOBase):
|
| 10 |
+
def __init__(
|
| 11 |
+
self,
|
| 12 |
+
fp: RawIOBase,
|
| 13 |
+
decomp_factory: Callable[..., object],
|
| 14 |
+
trailing_error: Union[Type[Exception], Tuple[Type[Exception], ...]] = ...,
|
| 15 |
+
**decomp_args: Any,
|
| 16 |
+
) -> None: ...
|
| 17 |
+
def readable(self) -> bool: ...
|
| 18 |
+
def close(self) -> None: ...
|
| 19 |
+
def seekable(self) -> bool: ...
|
| 20 |
+
def readinto(self, b: WriteableBuffer) -> int: ...
|
| 21 |
+
def read(self, size: int = ...) -> bytes: ...
|
| 22 |
+
def seek(self, offset: int, whence: int = ...) -> int: ...
|
| 23 |
+
def tell(self) -> int: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/stdlib/3/_tkinter.pyi
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Tuple, Union
|
| 2 |
+
|
| 3 |
+
# _tkinter is meant to be only used internally by tkinter, but some tkinter
|
| 4 |
+
# functions e.g. return _tkinter.Tcl_Obj objects. Tcl_Obj represents a Tcl
|
| 5 |
+
# object that hasn't been converted to a string.
|
| 6 |
+
#
|
| 7 |
+
# There are not many ways to get Tcl_Objs from tkinter, and I'm not sure if the
|
| 8 |
+
# only existing ways are supposed to return Tcl_Objs as opposed to returning
|
| 9 |
+
# strings. Here's one of these things that return Tcl_Objs:
|
| 10 |
+
#
|
| 11 |
+
# >>> import tkinter
|
| 12 |
+
# >>> text = tkinter.Text()
|
| 13 |
+
# >>> text.tag_add('foo', '1.0', 'end')
|
| 14 |
+
# >>> text.tag_ranges('foo')
|
| 15 |
+
# (<textindex object: '1.0'>, <textindex object: '2.0'>)
|
| 16 |
+
class Tcl_Obj:
|
| 17 |
+
string: str # str(tclobj) returns this
|
| 18 |
+
typename: str
|
| 19 |
+
|
| 20 |
+
class TclError(Exception): ...
|
| 21 |
+
|
| 22 |
+
# This class allows running Tcl code. Tkinter uses it internally a lot, and
|
| 23 |
+
# it's often handy to drop a piece of Tcl code into a tkinter program. Example:
|
| 24 |
+
#
|
| 25 |
+
# >>> import tkinter, _tkinter
|
| 26 |
+
# >>> tkapp = tkinter.Tk().tk
|
| 27 |
+
# >>> isinstance(tkapp, _tkinter.TkappType)
|
| 28 |
+
# True
|
| 29 |
+
# >>> tkapp.call('set', 'foo', (1,2,3))
|
| 30 |
+
# (1, 2, 3)
|
| 31 |
+
# >>> tkapp.eval('return $foo')
|
| 32 |
+
# '1 2 3'
|
| 33 |
+
# >>>
|
| 34 |
+
#
|
| 35 |
+
# call args can be pretty much anything. Also, call(some_tuple) is same as call(*some_tuple).
|
| 36 |
+
#
|
| 37 |
+
# eval always returns str because _tkinter_tkapp_eval_impl in _tkinter.c calls
|
| 38 |
+
# Tkapp_UnicodeResult, and it returns a string when it succeeds.
|
| 39 |
+
class TkappType:
|
| 40 |
+
# Please keep in sync with tkinter.Tk
|
| 41 |
+
def call(self, __command: Union[str, Tuple[Any, ...]], *args: Any) -> Any: ...
|
| 42 |
+
def eval(self, __script: str) -> str: ...
|
| 43 |
+
adderrorinfo: Any
|
| 44 |
+
createcommand: Any
|
| 45 |
+
createfilehandler: Any
|
| 46 |
+
createtimerhandler: Any
|
| 47 |
+
deletecommand: Any
|
| 48 |
+
deletefilehandler: Any
|
| 49 |
+
dooneevent: Any
|
| 50 |
+
evalfile: Any
|
| 51 |
+
exprboolean: Any
|
| 52 |
+
exprdouble: Any
|
| 53 |
+
exprlong: Any
|
| 54 |
+
exprstring: Any
|
| 55 |
+
getboolean: Any
|
| 56 |
+
getdouble: Any
|
| 57 |
+
getint: Any
|
| 58 |
+
getvar: Any
|
| 59 |
+
globalgetvar: Any
|
| 60 |
+
globalsetvar: Any
|
| 61 |
+
globalunsetvar: Any
|
| 62 |
+
interpaddr: Any
|
| 63 |
+
loadtk: Any
|
| 64 |
+
mainloop: Any
|
| 65 |
+
quit: Any
|
| 66 |
+
record: Any
|
| 67 |
+
setvar: Any
|
| 68 |
+
split: Any
|
| 69 |
+
splitlist: Any
|
| 70 |
+
unsetvar: Any
|
| 71 |
+
wantobjects: Any
|
| 72 |
+
willdispatch: Any
|
| 73 |
+
|
| 74 |
+
ALL_EVENTS: int
|
| 75 |
+
FILE_EVENTS: int
|
| 76 |
+
IDLE_EVENTS: int
|
| 77 |
+
TIMER_EVENTS: int
|
| 78 |
+
WINDOW_EVENTS: int
|
| 79 |
+
|
| 80 |
+
DONT_WAIT: int
|
| 81 |
+
EXCEPTION: int
|
| 82 |
+
READABLE: int
|
| 83 |
+
WRITABLE: int
|
| 84 |
+
|
| 85 |
+
TCL_VERSION: str
|
| 86 |
+
TK_VERSION: str
|
| 87 |
+
|
| 88 |
+
# TODO: figure out what these are (with e.g. help()) and get rid of Any
|
| 89 |
+
TkttType: Any
|
| 90 |
+
_flatten: Any
|
| 91 |
+
create: Any
|
| 92 |
+
getbusywaitinterval: Any
|
| 93 |
+
setbusywaitinterval: Any
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/stdlib/3/_winapi.pyi
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
from typing import Any, Dict, NoReturn, Optional, Sequence, Tuple, Union, overload
|
| 3 |
+
from typing_extensions import Literal
|
| 4 |
+
|
| 5 |
+
CREATE_NEW_CONSOLE: int
|
| 6 |
+
CREATE_NEW_PROCESS_GROUP: int
|
| 7 |
+
DUPLICATE_CLOSE_SOURCE: int
|
| 8 |
+
DUPLICATE_SAME_ACCESS: int
|
| 9 |
+
ERROR_ALREADY_EXISTS: int
|
| 10 |
+
ERROR_BROKEN_PIPE: int
|
| 11 |
+
ERROR_IO_PENDING: int
|
| 12 |
+
ERROR_MORE_DATA: int
|
| 13 |
+
ERROR_NETNAME_DELETED: int
|
| 14 |
+
ERROR_NO_DATA: int
|
| 15 |
+
ERROR_NO_SYSTEM_RESOURCES: int
|
| 16 |
+
ERROR_OPERATION_ABORTED: int
|
| 17 |
+
ERROR_PIPE_BUSY: int
|
| 18 |
+
ERROR_PIPE_CONNECTED: int
|
| 19 |
+
ERROR_SEM_TIMEOUT: int
|
| 20 |
+
FILE_FLAG_FIRST_PIPE_INSTANCE: int
|
| 21 |
+
FILE_FLAG_OVERLAPPED: int
|
| 22 |
+
FILE_GENERIC_READ: int
|
| 23 |
+
FILE_GENERIC_WRITE: int
|
| 24 |
+
GENERIC_READ: int
|
| 25 |
+
GENERIC_WRITE: int
|
| 26 |
+
INFINITE: int
|
| 27 |
+
NMPWAIT_WAIT_FOREVER: int
|
| 28 |
+
NULL: int
|
| 29 |
+
OPEN_EXISTING: int
|
| 30 |
+
PIPE_ACCESS_DUPLEX: int
|
| 31 |
+
PIPE_ACCESS_INBOUND: int
|
| 32 |
+
PIPE_READMODE_MESSAGE: int
|
| 33 |
+
PIPE_TYPE_MESSAGE: int
|
| 34 |
+
PIPE_UNLIMITED_INSTANCES: int
|
| 35 |
+
PIPE_WAIT: int
|
| 36 |
+
PROCESS_ALL_ACCESS: int
|
| 37 |
+
PROCESS_DUP_HANDLE: int
|
| 38 |
+
STARTF_USESHOWWINDOW: int
|
| 39 |
+
STARTF_USESTDHANDLES: int
|
| 40 |
+
STD_ERROR_HANDLE: int
|
| 41 |
+
STD_INPUT_HANDLE: int
|
| 42 |
+
STD_OUTPUT_HANDLE: int
|
| 43 |
+
STILL_ACTIVE: int
|
| 44 |
+
SW_HIDE: int
|
| 45 |
+
WAIT_ABANDONED_0: int
|
| 46 |
+
WAIT_OBJECT_0: int
|
| 47 |
+
WAIT_TIMEOUT: int
|
| 48 |
+
|
| 49 |
+
def CloseHandle(__handle: int) -> None: ...
|
| 50 |
+
@overload
|
| 51 |
+
def ConnectNamedPipe(handle: int, overlapped: Literal[True]) -> Overlapped: ...
|
| 52 |
+
@overload
|
| 53 |
+
def ConnectNamedPipe(handle: int, overlapped: Literal[False] = ...) -> None: ...
|
| 54 |
+
@overload
|
| 55 |
+
def ConnectNamedPipe(handle: int, overlapped: bool) -> Optional[Overlapped]: ...
|
| 56 |
+
def CreateFile(
|
| 57 |
+
__file_name: str,
|
| 58 |
+
__desired_access: int,
|
| 59 |
+
__share_mode: int,
|
| 60 |
+
__security_attributes: int,
|
| 61 |
+
__creation_disposition: int,
|
| 62 |
+
__flags_and_attributes: int,
|
| 63 |
+
__template_file: int,
|
| 64 |
+
) -> int: ...
|
| 65 |
+
def CreateJunction(__src_path: str, __dst_path: str) -> None: ...
|
| 66 |
+
def CreateNamedPipe(
|
| 67 |
+
__name: str,
|
| 68 |
+
__open_mode: int,
|
| 69 |
+
__pipe_mode: int,
|
| 70 |
+
__max_instances: int,
|
| 71 |
+
__out_buffer_size: int,
|
| 72 |
+
__in_buffer_size: int,
|
| 73 |
+
__default_timeout: int,
|
| 74 |
+
__security_attributes: int,
|
| 75 |
+
) -> int: ...
|
| 76 |
+
def CreatePipe(__pipe_attrs: Any, __size: int) -> Tuple[int, int]: ...
|
| 77 |
+
def CreateProcess(
|
| 78 |
+
__application_name: Optional[str],
|
| 79 |
+
__command_line: Optional[str],
|
| 80 |
+
__proc_attrs: Any,
|
| 81 |
+
__thread_attrs: Any,
|
| 82 |
+
__inherit_handles: bool,
|
| 83 |
+
__creation_flags: int,
|
| 84 |
+
__env_mapping: Dict[str, str],
|
| 85 |
+
__current_directory: Optional[str],
|
| 86 |
+
__startup_info: Any,
|
| 87 |
+
) -> Tuple[int, int, int, int]: ...
|
| 88 |
+
def DuplicateHandle(
|
| 89 |
+
__source_process_handle: int,
|
| 90 |
+
__source_handle: int,
|
| 91 |
+
__target_process_handle: int,
|
| 92 |
+
__desired_access: int,
|
| 93 |
+
__inherit_handle: bool,
|
| 94 |
+
__options: int = ...,
|
| 95 |
+
) -> int: ...
|
| 96 |
+
def ExitProcess(__ExitCode: int) -> NoReturn: ...
|
| 97 |
+
|
| 98 |
+
if sys.version_info >= (3, 7):
|
| 99 |
+
def GetACP() -> int: ...
|
| 100 |
+
def GetFileType(handle: int) -> int: ...
|
| 101 |
+
|
| 102 |
+
def GetCurrentProcess() -> int: ...
|
| 103 |
+
def GetExitCodeProcess(__process: int) -> int: ...
|
| 104 |
+
def GetLastError() -> int: ...
|
| 105 |
+
def GetModuleFileName(__module_handle: int) -> str: ...
|
| 106 |
+
def GetStdHandle(__std_handle: int) -> int: ...
|
| 107 |
+
def GetVersion() -> int: ...
|
| 108 |
+
def OpenProcess(__desired_access: int, __inherit_handle: bool, __process_id: int) -> int: ...
|
| 109 |
+
def PeekNamedPipe(__handle: int, __size: int = ...) -> Union[Tuple[int, int], Tuple[bytes, int, int]]: ...
|
| 110 |
+
@overload
|
| 111 |
+
def ReadFile(handle: int, size: int, overlapped: Literal[True]) -> Tuple[Overlapped, int]: ...
|
| 112 |
+
@overload
|
| 113 |
+
def ReadFile(handle: int, size: int, overlapped: Literal[False] = ...) -> Tuple[bytes, int]: ...
|
| 114 |
+
@overload
|
| 115 |
+
def ReadFile(handle: int, size: int, overlapped: Union[int, bool]) -> Tuple[Any, int]: ...
|
| 116 |
+
def SetNamedPipeHandleState(
|
| 117 |
+
__named_pipe: int, __mode: Optional[int], __max_collection_count: Optional[int], __collect_data_timeout: Optional[int]
|
| 118 |
+
) -> None: ...
|
| 119 |
+
def TerminateProcess(__handle: int, __exit_code: int) -> None: ...
|
| 120 |
+
def WaitForMultipleObjects(__handle_seq: Sequence[int], __wait_flag: bool, __milliseconds: int = ...) -> int: ...
|
| 121 |
+
def WaitForSingleObject(__handle: int, __milliseconds: int) -> int: ...
|
| 122 |
+
def WaitNamedPipe(__name: str, __timeout: int) -> None: ...
|
| 123 |
+
@overload
|
| 124 |
+
def WriteFile(handle: int, buffer: bytes, overlapped: Literal[True]) -> Tuple[Overlapped, int]: ...
|
| 125 |
+
@overload
|
| 126 |
+
def WriteFile(handle: int, buffer: bytes, overlapped: Literal[False] = ...) -> Tuple[int, int]: ...
|
| 127 |
+
@overload
|
| 128 |
+
def WriteFile(handle: int, buffer: bytes, overlapped: Union[int, bool]) -> Tuple[Any, int]: ...
|
| 129 |
+
|
| 130 |
+
class Overlapped:
|
| 131 |
+
event: int = ...
|
| 132 |
+
def GetOverlappedResult(self, __wait: bool) -> Tuple[int, int]: ...
|
| 133 |
+
def cancel(self) -> None: ...
|
| 134 |
+
def getbuffer(self) -> Optional[bytes]: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/stdlib/3/ast.pyi
ADDED
|
@@ -0,0 +1,207 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Rename typing to _typing, as not to conflict with typing imported
|
| 2 |
+
# from _ast below when loaded in an unorthodox way by the Dropbox
|
| 3 |
+
# internal Bazel integration.
|
| 4 |
+
|
| 5 |
+
# The same unorthodox Bazel integration causes issues with sys, which
|
| 6 |
+
# is imported in both modules. unfortunately we can't just rename sys,
|
| 7 |
+
# since mypy only supports version checks with a sys that is named
|
| 8 |
+
# sys.
|
| 9 |
+
import sys
|
| 10 |
+
import typing as _typing
|
| 11 |
+
from typing import Any, Iterator, Optional, TypeVar, Union, overload
|
| 12 |
+
from typing_extensions import Literal
|
| 13 |
+
|
| 14 |
+
from _ast import * # type: ignore
|
| 15 |
+
|
| 16 |
+
if sys.version_info >= (3, 8):
|
| 17 |
+
class Num(Constant):
|
| 18 |
+
value: complex
|
| 19 |
+
class Str(Constant):
|
| 20 |
+
value: str
|
| 21 |
+
# Aliases for value, for backwards compatibility
|
| 22 |
+
s: str
|
| 23 |
+
class Bytes(Constant):
|
| 24 |
+
value: bytes
|
| 25 |
+
# Aliases for value, for backwards compatibility
|
| 26 |
+
s: bytes
|
| 27 |
+
class NameConstant(Constant): ...
|
| 28 |
+
class Ellipsis(Constant): ...
|
| 29 |
+
|
| 30 |
+
if sys.version_info >= (3, 9):
|
| 31 |
+
class slice(AST): ...
|
| 32 |
+
class ExtSlice(slice): ...
|
| 33 |
+
class Index(slice): ...
|
| 34 |
+
class Suite(mod): ...
|
| 35 |
+
class AugLoad(expr_context): ...
|
| 36 |
+
class AugStore(expr_context): ...
|
| 37 |
+
class Param(expr_context): ...
|
| 38 |
+
|
| 39 |
+
class NodeVisitor:
|
| 40 |
+
def visit(self, node: AST) -> Any: ...
|
| 41 |
+
def generic_visit(self, node: AST) -> Any: ...
|
| 42 |
+
def visit_Module(self, node: Module) -> Any: ...
|
| 43 |
+
def visit_Interactive(self, node: Interactive) -> Any: ...
|
| 44 |
+
def visit_Expression(self, node: Expression) -> Any: ...
|
| 45 |
+
def visit_FunctionDef(self, node: FunctionDef) -> Any: ...
|
| 46 |
+
def visit_AsyncFunctionDef(self, node: AsyncFunctionDef) -> Any: ...
|
| 47 |
+
def visit_ClassDef(self, node: ClassDef) -> Any: ...
|
| 48 |
+
def visit_Return(self, node: Return) -> Any: ...
|
| 49 |
+
def visit_Delete(self, node: Delete) -> Any: ...
|
| 50 |
+
def visit_Assign(self, node: Assign) -> Any: ...
|
| 51 |
+
def visit_AugAssign(self, node: AugAssign) -> Any: ...
|
| 52 |
+
def visit_AnnAssign(self, node: AnnAssign) -> Any: ...
|
| 53 |
+
def visit_For(self, node: For) -> Any: ...
|
| 54 |
+
def visit_AsyncFor(self, node: AsyncFor) -> Any: ...
|
| 55 |
+
def visit_While(self, node: While) -> Any: ...
|
| 56 |
+
def visit_If(self, node: If) -> Any: ...
|
| 57 |
+
def visit_With(self, node: With) -> Any: ...
|
| 58 |
+
def visit_AsyncWith(self, node: AsyncWith) -> Any: ...
|
| 59 |
+
def visit_Raise(self, node: Raise) -> Any: ...
|
| 60 |
+
def visit_Try(self, node: Try) -> Any: ...
|
| 61 |
+
def visit_Assert(self, node: Assert) -> Any: ...
|
| 62 |
+
def visit_Import(self, node: Import) -> Any: ...
|
| 63 |
+
def visit_ImportFrom(self, node: ImportFrom) -> Any: ...
|
| 64 |
+
def visit_Global(self, node: Global) -> Any: ...
|
| 65 |
+
def visit_Nonlocal(self, node: Nonlocal) -> Any: ...
|
| 66 |
+
def visit_Expr(self, node: Expr) -> Any: ...
|
| 67 |
+
def visit_Pass(self, node: Pass) -> Any: ...
|
| 68 |
+
def visit_Break(self, node: Break) -> Any: ...
|
| 69 |
+
def visit_Continue(self, node: Continue) -> Any: ...
|
| 70 |
+
def visit_Slice(self, node: Slice) -> Any: ...
|
| 71 |
+
def visit_BoolOp(self, node: BoolOp) -> Any: ...
|
| 72 |
+
def visit_BinOp(self, node: BinOp) -> Any: ...
|
| 73 |
+
def visit_UnaryOp(self, node: UnaryOp) -> Any: ...
|
| 74 |
+
def visit_Lambda(self, node: Lambda) -> Any: ...
|
| 75 |
+
def visit_IfExp(self, node: IfExp) -> Any: ...
|
| 76 |
+
def visit_Dict(self, node: Dict) -> Any: ...
|
| 77 |
+
def visit_Set(self, node: Set) -> Any: ...
|
| 78 |
+
def visit_ListComp(self, node: ListComp) -> Any: ...
|
| 79 |
+
def visit_SetComp(self, node: SetComp) -> Any: ...
|
| 80 |
+
def visit_DictComp(self, node: DictComp) -> Any: ...
|
| 81 |
+
def visit_GeneratorExp(self, node: GeneratorExp) -> Any: ...
|
| 82 |
+
def visit_Await(self, node: Await) -> Any: ...
|
| 83 |
+
def visit_Yield(self, node: Yield) -> Any: ...
|
| 84 |
+
def visit_YieldFrom(self, node: YieldFrom) -> Any: ...
|
| 85 |
+
def visit_Compare(self, node: Compare) -> Any: ...
|
| 86 |
+
def visit_Call(self, node: Call) -> Any: ...
|
| 87 |
+
def visit_FormattedValue(self, node: FormattedValue) -> Any: ...
|
| 88 |
+
def visit_JoinedStr(self, node: JoinedStr) -> Any: ...
|
| 89 |
+
def visit_Constant(self, node: Constant) -> Any: ...
|
| 90 |
+
if sys.version_info >= (3, 8):
|
| 91 |
+
def visit_NamedExpr(self, node: NamedExpr) -> Any: ...
|
| 92 |
+
def visit_Attribute(self, node: Attribute) -> Any: ...
|
| 93 |
+
def visit_Subscript(self, node: Subscript) -> Any: ...
|
| 94 |
+
def visit_Starred(self, node: Starred) -> Any: ...
|
| 95 |
+
def visit_Name(self, node: Name) -> Any: ...
|
| 96 |
+
def visit_List(self, node: List) -> Any: ...
|
| 97 |
+
def visit_Tuple(self, node: Tuple) -> Any: ...
|
| 98 |
+
def visit_Del(self, node: Del) -> Any: ...
|
| 99 |
+
def visit_Load(self, node: Load) -> Any: ...
|
| 100 |
+
def visit_Store(self, node: Store) -> Any: ...
|
| 101 |
+
def visit_And(self, node: And) -> Any: ...
|
| 102 |
+
def visit_Or(self, node: Or) -> Any: ...
|
| 103 |
+
def visit_Add(self, node: Add) -> Any: ...
|
| 104 |
+
def visit_BitAnd(self, node: BitAnd) -> Any: ...
|
| 105 |
+
def visit_BitOr(self, node: BitOr) -> Any: ...
|
| 106 |
+
def visit_BitXor(self, node: BitXor) -> Any: ...
|
| 107 |
+
def visit_Div(self, node: Div) -> Any: ...
|
| 108 |
+
def visit_FloorDiv(self, node: FloorDiv) -> Any: ...
|
| 109 |
+
def visit_LShift(self, node: LShift) -> Any: ...
|
| 110 |
+
def visit_Mod(self, node: Mod) -> Any: ...
|
| 111 |
+
def visit_Mult(self, node: Mult) -> Any: ...
|
| 112 |
+
def visit_MatMult(self, node: MatMult) -> Any: ...
|
| 113 |
+
def visit_Pow(self, node: Pow) -> Any: ...
|
| 114 |
+
def visit_RShift(self, node: RShift) -> Any: ...
|
| 115 |
+
def visit_Sub(self, node: Sub) -> Any: ...
|
| 116 |
+
def visit_Invert(self, node: Invert) -> Any: ...
|
| 117 |
+
def visit_Not(self, node: Not) -> Any: ...
|
| 118 |
+
def visit_UAdd(self, node: UAdd) -> Any: ...
|
| 119 |
+
def visit_USub(self, node: USub) -> Any: ...
|
| 120 |
+
def visit_Eq(self, node: Eq) -> Any: ...
|
| 121 |
+
def visit_Gt(self, node: Gt) -> Any: ...
|
| 122 |
+
def visit_GtE(self, node: GtE) -> Any: ...
|
| 123 |
+
def visit_In(self, node: In) -> Any: ...
|
| 124 |
+
def visit_Is(self, node: Is) -> Any: ...
|
| 125 |
+
def visit_IsNot(self, node: IsNot) -> Any: ...
|
| 126 |
+
def visit_Lt(self, node: Lt) -> Any: ...
|
| 127 |
+
def visit_LtE(self, node: LtE) -> Any: ...
|
| 128 |
+
def visit_NotEq(self, node: NotEq) -> Any: ...
|
| 129 |
+
def visit_NotIn(self, node: NotIn) -> Any: ...
|
| 130 |
+
def visit_comprehension(self, node: comprehension) -> Any: ...
|
| 131 |
+
def visit_ExceptHandler(self, node: ExceptHandler) -> Any: ...
|
| 132 |
+
def visit_arguments(self, node: arguments) -> Any: ...
|
| 133 |
+
def visit_arg(self, node: arg) -> Any: ...
|
| 134 |
+
def visit_keyword(self, node: keyword) -> Any: ...
|
| 135 |
+
def visit_alias(self, node: alias) -> Any: ...
|
| 136 |
+
def visit_withitem(self, node: withitem) -> Any: ...
|
| 137 |
+
# visit methods for deprecated nodes
|
| 138 |
+
def visit_ExtSlice(self, node: ExtSlice) -> Any: ...
|
| 139 |
+
def visit_Index(self, node: Index) -> Any: ...
|
| 140 |
+
def visit_Suite(self, node: Suite) -> Any: ...
|
| 141 |
+
def visit_AugLoad(self, node: AugLoad) -> Any: ...
|
| 142 |
+
def visit_AugStore(self, node: AugStore) -> Any: ...
|
| 143 |
+
def visit_Param(self, node: Param) -> Any: ...
|
| 144 |
+
def visit_Num(self, node: Num) -> Any: ...
|
| 145 |
+
def visit_Str(self, node: Str) -> Any: ...
|
| 146 |
+
def visit_Bytes(self, node: Bytes) -> Any: ...
|
| 147 |
+
def visit_NameConstant(self, node: NameConstant) -> Any: ...
|
| 148 |
+
def visit_Ellipsis(self, node: Ellipsis) -> Any: ...
|
| 149 |
+
|
| 150 |
+
class NodeTransformer(NodeVisitor):
|
| 151 |
+
def generic_visit(self, node: AST) -> AST: ...
|
| 152 |
+
# TODO: Override the visit_* methods with better return types.
|
| 153 |
+
# The usual return type is Optional[AST], but Iterable[AST]
|
| 154 |
+
# is also allowed in some cases -- this needs to be mapped.
|
| 155 |
+
|
| 156 |
+
_T = TypeVar("_T", bound=AST)
|
| 157 |
+
|
| 158 |
+
if sys.version_info >= (3, 8):
|
| 159 |
+
@overload
|
| 160 |
+
def parse(
|
| 161 |
+
source: Union[str, bytes],
|
| 162 |
+
filename: Union[str, bytes] = ...,
|
| 163 |
+
mode: Literal["exec"] = ...,
|
| 164 |
+
*,
|
| 165 |
+
type_comments: bool = ...,
|
| 166 |
+
feature_version: Union[None, int, _typing.Tuple[int, int]] = ...,
|
| 167 |
+
) -> Module: ...
|
| 168 |
+
@overload
|
| 169 |
+
def parse(
|
| 170 |
+
source: Union[str, bytes],
|
| 171 |
+
filename: Union[str, bytes] = ...,
|
| 172 |
+
mode: str = ...,
|
| 173 |
+
*,
|
| 174 |
+
type_comments: bool = ...,
|
| 175 |
+
feature_version: Union[None, int, _typing.Tuple[int, int]] = ...,
|
| 176 |
+
) -> AST: ...
|
| 177 |
+
|
| 178 |
+
else:
|
| 179 |
+
@overload
|
| 180 |
+
def parse(source: Union[str, bytes], filename: Union[str, bytes] = ..., mode: Literal["exec"] = ...) -> Module: ...
|
| 181 |
+
@overload
|
| 182 |
+
def parse(source: Union[str, bytes], filename: Union[str, bytes] = ..., mode: str = ...) -> AST: ...
|
| 183 |
+
|
| 184 |
+
if sys.version_info >= (3, 9):
|
| 185 |
+
def unparse(ast_obj: AST) -> str: ...
|
| 186 |
+
|
| 187 |
+
def copy_location(new_node: _T, old_node: AST) -> _T: ...
|
| 188 |
+
|
| 189 |
+
if sys.version_info >= (3, 9):
|
| 190 |
+
def dump(
|
| 191 |
+
node: AST, annotate_fields: bool = ..., include_attributes: bool = ..., *, indent: Union[int, str, None] = ...
|
| 192 |
+
) -> str: ...
|
| 193 |
+
|
| 194 |
+
else:
|
| 195 |
+
def dump(node: AST, annotate_fields: bool = ..., include_attributes: bool = ...) -> str: ...
|
| 196 |
+
|
| 197 |
+
def fix_missing_locations(node: _T) -> _T: ...
|
| 198 |
+
def get_docstring(node: AST, clean: bool = ...) -> Optional[str]: ...
|
| 199 |
+
def increment_lineno(node: _T, n: int = ...) -> _T: ...
|
| 200 |
+
def iter_child_nodes(node: AST) -> Iterator[AST]: ...
|
| 201 |
+
def iter_fields(node: AST) -> Iterator[_typing.Tuple[str, Any]]: ...
|
| 202 |
+
def literal_eval(node_or_string: Union[str, AST]) -> Any: ...
|
| 203 |
+
|
| 204 |
+
if sys.version_info >= (3, 8):
|
| 205 |
+
def get_source_segment(source: str, node: AST, *, padded: bool = ...) -> Optional[str]: ...
|
| 206 |
+
|
| 207 |
+
def walk(node: AST) -> Iterator[AST]: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/stdlib/3/atexit.pyi
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Callable
|
| 2 |
+
|
| 3 |
+
def _clear() -> None: ...
|
| 4 |
+
def _ncallbacks() -> int: ...
|
| 5 |
+
def _run_exitfuncs() -> None: ...
|
| 6 |
+
def register(func: Callable[..., Any], *args: Any, **kwargs: Any) -> Callable[..., Any]: ...
|
| 7 |
+
def unregister(func: Callable[..., Any]) -> None: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/stdlib/3/compileall.pyi
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
from _typeshed import AnyPath
|
| 3 |
+
from typing import Any, Optional, Pattern
|
| 4 |
+
|
| 5 |
+
if sys.version_info >= (3, 7):
|
| 6 |
+
from py_compile import PycInvalidationMode
|
| 7 |
+
|
| 8 |
+
if sys.version_info >= (3, 9):
|
| 9 |
+
def compile_dir(
|
| 10 |
+
dir: AnyPath,
|
| 11 |
+
maxlevels: Optional[int] = ...,
|
| 12 |
+
ddir: Optional[AnyPath] = ...,
|
| 13 |
+
force: bool = ...,
|
| 14 |
+
rx: Optional[Pattern[Any]] = ...,
|
| 15 |
+
quiet: int = ...,
|
| 16 |
+
legacy: bool = ...,
|
| 17 |
+
optimize: int = ...,
|
| 18 |
+
workers: int = ...,
|
| 19 |
+
invalidation_mode: Optional[PycInvalidationMode] = ...,
|
| 20 |
+
*,
|
| 21 |
+
stripdir: Optional[str] = ..., # TODO: change to Optional[AnyPath] once https://bugs.python.org/issue40447 is resolved
|
| 22 |
+
prependdir: Optional[AnyPath] = ...,
|
| 23 |
+
limit_sl_dest: Optional[AnyPath] = ...,
|
| 24 |
+
hardlink_dupes: bool = ...,
|
| 25 |
+
) -> int: ...
|
| 26 |
+
def compile_file(
|
| 27 |
+
fullname: AnyPath,
|
| 28 |
+
ddir: Optional[AnyPath] = ...,
|
| 29 |
+
force: bool = ...,
|
| 30 |
+
rx: Optional[Pattern[Any]] = ...,
|
| 31 |
+
quiet: int = ...,
|
| 32 |
+
legacy: bool = ...,
|
| 33 |
+
optimize: int = ...,
|
| 34 |
+
invalidation_mode: Optional[PycInvalidationMode] = ...,
|
| 35 |
+
*,
|
| 36 |
+
stripdir: Optional[str] = ..., # TODO: change to Optional[AnyPath] once https://bugs.python.org/issue40447 is resolved
|
| 37 |
+
prependdir: Optional[AnyPath] = ...,
|
| 38 |
+
limit_sl_dest: Optional[AnyPath] = ...,
|
| 39 |
+
hardlink_dupes: bool = ...,
|
| 40 |
+
) -> int: ...
|
| 41 |
+
|
| 42 |
+
elif sys.version_info >= (3, 7):
|
| 43 |
+
def compile_dir(
|
| 44 |
+
dir: AnyPath,
|
| 45 |
+
maxlevels: int = ...,
|
| 46 |
+
ddir: Optional[AnyPath] = ...,
|
| 47 |
+
force: bool = ...,
|
| 48 |
+
rx: Optional[Pattern[Any]] = ...,
|
| 49 |
+
quiet: int = ...,
|
| 50 |
+
legacy: bool = ...,
|
| 51 |
+
optimize: int = ...,
|
| 52 |
+
workers: int = ...,
|
| 53 |
+
invalidation_mode: Optional[PycInvalidationMode] = ...,
|
| 54 |
+
) -> int: ...
|
| 55 |
+
def compile_file(
|
| 56 |
+
fullname: AnyPath,
|
| 57 |
+
ddir: Optional[AnyPath] = ...,
|
| 58 |
+
force: bool = ...,
|
| 59 |
+
rx: Optional[Pattern[Any]] = ...,
|
| 60 |
+
quiet: int = ...,
|
| 61 |
+
legacy: bool = ...,
|
| 62 |
+
optimize: int = ...,
|
| 63 |
+
invalidation_mode: Optional[PycInvalidationMode] = ...,
|
| 64 |
+
) -> int: ...
|
| 65 |
+
|
| 66 |
+
else:
|
| 67 |
+
# rx can be any object with a 'search' method; once we have Protocols we can change the type
|
| 68 |
+
def compile_dir(
|
| 69 |
+
dir: AnyPath,
|
| 70 |
+
maxlevels: int = ...,
|
| 71 |
+
ddir: Optional[AnyPath] = ...,
|
| 72 |
+
force: bool = ...,
|
| 73 |
+
rx: Optional[Pattern[Any]] = ...,
|
| 74 |
+
quiet: int = ...,
|
| 75 |
+
legacy: bool = ...,
|
| 76 |
+
optimize: int = ...,
|
| 77 |
+
workers: int = ...,
|
| 78 |
+
) -> int: ...
|
| 79 |
+
def compile_file(
|
| 80 |
+
fullname: AnyPath,
|
| 81 |
+
ddir: Optional[AnyPath] = ...,
|
| 82 |
+
force: bool = ...,
|
| 83 |
+
rx: Optional[Pattern[Any]] = ...,
|
| 84 |
+
quiet: int = ...,
|
| 85 |
+
legacy: bool = ...,
|
| 86 |
+
optimize: int = ...,
|
| 87 |
+
) -> int: ...
|
| 88 |
+
|
| 89 |
+
if sys.version_info >= (3, 7):
|
| 90 |
+
def compile_path(
|
| 91 |
+
skip_curdir: bool = ...,
|
| 92 |
+
maxlevels: int = ...,
|
| 93 |
+
force: bool = ...,
|
| 94 |
+
quiet: int = ...,
|
| 95 |
+
legacy: bool = ...,
|
| 96 |
+
optimize: int = ...,
|
| 97 |
+
invalidation_mode: Optional[PycInvalidationMode] = ...,
|
| 98 |
+
) -> int: ...
|
| 99 |
+
|
| 100 |
+
else:
|
| 101 |
+
def compile_path(
|
| 102 |
+
skip_curdir: bool = ...,
|
| 103 |
+
maxlevels: int = ...,
|
| 104 |
+
force: bool = ...,
|
| 105 |
+
quiet: int = ...,
|
| 106 |
+
legacy: bool = ...,
|
| 107 |
+
optimize: int = ...,
|
| 108 |
+
) -> int: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/stdlib/3/enum.pyi
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
from abc import ABCMeta
|
| 3 |
+
from typing import Any, Dict, Iterator, List, Mapping, Type, TypeVar, Union
|
| 4 |
+
|
| 5 |
+
_T = TypeVar("_T")
|
| 6 |
+
_S = TypeVar("_S", bound=Type[Enum])
|
| 7 |
+
|
| 8 |
+
# Note: EnumMeta actually subclasses type directly, not ABCMeta.
|
| 9 |
+
# This is a temporary workaround to allow multiple creation of enums with builtins
|
| 10 |
+
# such as str as mixins, which due to the handling of ABCs of builtin types, cause
|
| 11 |
+
# spurious inconsistent metaclass structure. See #1595.
|
| 12 |
+
# Structurally: Iterable[T], Reversible[T], Container[T] where T is the enum itself
|
| 13 |
+
class EnumMeta(ABCMeta):
|
| 14 |
+
def __iter__(self: Type[_T]) -> Iterator[_T]: ...
|
| 15 |
+
def __reversed__(self: Type[_T]) -> Iterator[_T]: ...
|
| 16 |
+
def __contains__(self: Type[_T], member: object) -> bool: ...
|
| 17 |
+
def __getitem__(self: Type[_T], name: str) -> _T: ...
|
| 18 |
+
@property
|
| 19 |
+
def __members__(self: Type[_T]) -> Mapping[str, _T]: ...
|
| 20 |
+
def __len__(self) -> int: ...
|
| 21 |
+
|
| 22 |
+
class Enum(metaclass=EnumMeta):
|
| 23 |
+
name: str
|
| 24 |
+
value: Any
|
| 25 |
+
_name_: str
|
| 26 |
+
_value_: Any
|
| 27 |
+
_member_names_: List[str] # undocumented
|
| 28 |
+
_member_map_: Dict[str, Enum] # undocumented
|
| 29 |
+
_value2member_map_: Dict[int, Enum] # undocumented
|
| 30 |
+
if sys.version_info >= (3, 7):
|
| 31 |
+
_ignore_: Union[str, List[str]]
|
| 32 |
+
_order_: str
|
| 33 |
+
__order__: str
|
| 34 |
+
@classmethod
|
| 35 |
+
def _missing_(cls, value: object) -> Any: ...
|
| 36 |
+
@staticmethod
|
| 37 |
+
def _generate_next_value_(name: str, start: int, count: int, last_values: List[Any]) -> Any: ...
|
| 38 |
+
def __new__(cls: Type[_T], value: object) -> _T: ...
|
| 39 |
+
def __repr__(self) -> str: ...
|
| 40 |
+
def __str__(self) -> str: ...
|
| 41 |
+
def __dir__(self) -> List[str]: ...
|
| 42 |
+
def __format__(self, format_spec: str) -> str: ...
|
| 43 |
+
def __hash__(self) -> Any: ...
|
| 44 |
+
def __reduce_ex__(self, proto: object) -> Any: ...
|
| 45 |
+
|
| 46 |
+
class IntEnum(int, Enum):
|
| 47 |
+
value: int
|
| 48 |
+
|
| 49 |
+
def unique(enumeration: _S) -> _S: ...
|
| 50 |
+
|
| 51 |
+
_auto_null: Any
|
| 52 |
+
|
| 53 |
+
# subclassing IntFlag so it picks up all implemented base functions, best modeling behavior of enum.auto()
|
| 54 |
+
class auto(IntFlag):
|
| 55 |
+
value: Any
|
| 56 |
+
|
| 57 |
+
class Flag(Enum):
|
| 58 |
+
def __contains__(self: _T, other: _T) -> bool: ...
|
| 59 |
+
def __repr__(self) -> str: ...
|
| 60 |
+
def __str__(self) -> str: ...
|
| 61 |
+
def __bool__(self) -> bool: ...
|
| 62 |
+
def __or__(self: _T, other: _T) -> _T: ...
|
| 63 |
+
def __and__(self: _T, other: _T) -> _T: ...
|
| 64 |
+
def __xor__(self: _T, other: _T) -> _T: ...
|
| 65 |
+
def __invert__(self: _T) -> _T: ...
|
| 66 |
+
|
| 67 |
+
class IntFlag(int, Flag):
|
| 68 |
+
def __or__(self: _T, other: Union[int, _T]) -> _T: ...
|
| 69 |
+
def __and__(self: _T, other: Union[int, _T]) -> _T: ...
|
| 70 |
+
def __xor__(self: _T, other: Union[int, _T]) -> _T: ...
|
| 71 |
+
__ror__ = __or__
|
| 72 |
+
__rand__ = __and__
|
| 73 |
+
__rxor__ = __xor__
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/stdlib/3/imp.pyi
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
import types
|
| 3 |
+
from _typeshed import StrPath
|
| 4 |
+
from typing import IO, Any, List, Optional, Protocol, Tuple, TypeVar, Union
|
| 5 |
+
|
| 6 |
+
from _imp import (
|
| 7 |
+
acquire_lock as acquire_lock,
|
| 8 |
+
create_dynamic as create_dynamic,
|
| 9 |
+
get_frozen_object as get_frozen_object,
|
| 10 |
+
init_frozen as init_frozen,
|
| 11 |
+
is_builtin as is_builtin,
|
| 12 |
+
is_frozen as is_frozen,
|
| 13 |
+
is_frozen_package as is_frozen_package,
|
| 14 |
+
lock_held as lock_held,
|
| 15 |
+
release_lock as release_lock,
|
| 16 |
+
)
|
| 17 |
+
|
| 18 |
+
_T = TypeVar("_T")
|
| 19 |
+
|
| 20 |
+
SEARCH_ERROR: int
|
| 21 |
+
PY_SOURCE: int
|
| 22 |
+
PY_COMPILED: int
|
| 23 |
+
C_EXTENSION: int
|
| 24 |
+
PY_RESOURCE: int
|
| 25 |
+
PKG_DIRECTORY: int
|
| 26 |
+
C_BUILTIN: int
|
| 27 |
+
PY_FROZEN: int
|
| 28 |
+
PY_CODERESOURCE: int
|
| 29 |
+
IMP_HOOK: int
|
| 30 |
+
|
| 31 |
+
def new_module(name: str) -> types.ModuleType: ...
|
| 32 |
+
def get_magic() -> bytes: ...
|
| 33 |
+
def get_tag() -> str: ...
|
| 34 |
+
def cache_from_source(path: StrPath, debug_override: Optional[bool] = ...) -> str: ...
|
| 35 |
+
def source_from_cache(path: StrPath) -> str: ...
|
| 36 |
+
def get_suffixes() -> List[Tuple[str, str, int]]: ...
|
| 37 |
+
|
| 38 |
+
class NullImporter:
|
| 39 |
+
def __init__(self, path: StrPath) -> None: ...
|
| 40 |
+
def find_module(self, fullname: Any) -> None: ...
|
| 41 |
+
|
| 42 |
+
# Technically, a text file has to support a slightly different set of operations than a binary file,
|
| 43 |
+
# but we ignore that here.
|
| 44 |
+
class _FileLike(Protocol):
|
| 45 |
+
closed: bool
|
| 46 |
+
mode: str
|
| 47 |
+
def read(self) -> Union[str, bytes]: ...
|
| 48 |
+
def close(self) -> Any: ...
|
| 49 |
+
def __enter__(self) -> Any: ...
|
| 50 |
+
def __exit__(self, *args: Any) -> Any: ...
|
| 51 |
+
|
| 52 |
+
# PathLike doesn't work for the pathname argument here
|
| 53 |
+
def load_source(name: str, pathname: str, file: Optional[_FileLike] = ...) -> types.ModuleType: ...
|
| 54 |
+
def load_compiled(name: str, pathname: str, file: Optional[_FileLike] = ...) -> types.ModuleType: ...
|
| 55 |
+
def load_package(name: str, path: StrPath) -> types.ModuleType: ...
|
| 56 |
+
def load_module(name: str, file: Optional[_FileLike], filename: str, details: Tuple[str, str, int]) -> types.ModuleType: ...
|
| 57 |
+
|
| 58 |
+
# IO[Any] is a TextIOWrapper if name is a .py file, and a FileIO otherwise.
|
| 59 |
+
def find_module(
|
| 60 |
+
name: str, path: Union[None, List[str], List[os.PathLike[str]], List[StrPath]] = ...
|
| 61 |
+
) -> Tuple[IO[Any], str, Tuple[str, str, int]]: ...
|
| 62 |
+
def reload(module: types.ModuleType) -> types.ModuleType: ...
|
| 63 |
+
def init_builtin(name: str) -> Optional[types.ModuleType]: ...
|
| 64 |
+
def load_dynamic(name: str, path: str, file: Any = ...) -> types.ModuleType: ... # file argument is ignored
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/stdlib/3/reprlib.pyi
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from array import array
|
| 2 |
+
from typing import Any, Callable, Deque, Dict, FrozenSet, List, Set, Tuple
|
| 3 |
+
|
| 4 |
+
_ReprFunc = Callable[[Any], str]
|
| 5 |
+
|
| 6 |
+
def recursive_repr(fillvalue: str = ...) -> Callable[[_ReprFunc], _ReprFunc]: ...
|
| 7 |
+
|
| 8 |
+
class Repr:
|
| 9 |
+
maxlevel: int
|
| 10 |
+
maxdict: int
|
| 11 |
+
maxlist: int
|
| 12 |
+
maxtuple: int
|
| 13 |
+
maxset: int
|
| 14 |
+
maxfrozenset: int
|
| 15 |
+
maxdeque: int
|
| 16 |
+
maxarray: int
|
| 17 |
+
maxlong: int
|
| 18 |
+
maxstring: int
|
| 19 |
+
maxother: int
|
| 20 |
+
def __init__(self) -> None: ...
|
| 21 |
+
def repr(self, x: Any) -> str: ...
|
| 22 |
+
def repr1(self, x: Any, level: int) -> str: ...
|
| 23 |
+
def repr_tuple(self, x: Tuple[Any, ...], level: int) -> str: ...
|
| 24 |
+
def repr_list(self, x: List[Any], level: int) -> str: ...
|
| 25 |
+
def repr_array(self, x: array[Any], level: int) -> str: ...
|
| 26 |
+
def repr_set(self, x: Set[Any], level: int) -> str: ...
|
| 27 |
+
def repr_frozenset(self, x: FrozenSet[Any], level: int) -> str: ...
|
| 28 |
+
def repr_deque(self, x: Deque[Any], level: int) -> str: ...
|
| 29 |
+
def repr_dict(self, x: Dict[Any, Any], level: int) -> str: ...
|
| 30 |
+
def repr_str(self, x: str, level: int) -> str: ...
|
| 31 |
+
def repr_int(self, x: int, level: int) -> str: ...
|
| 32 |
+
def repr_instance(self, x: Any, level: int) -> str: ...
|
| 33 |
+
|
| 34 |
+
aRepr: Repr
|
| 35 |
+
|
| 36 |
+
def repr(x: object) -> str: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/compat.pyi
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
from typing import Any
|
| 3 |
+
|
| 4 |
+
if sys.version_info >= (3,):
|
| 5 |
+
from base64 import encodebytes as encodebytes
|
| 6 |
+
else:
|
| 7 |
+
from base64 import encodestring
|
| 8 |
+
|
| 9 |
+
encodebytes = encodestring
|
| 10 |
+
|
| 11 |
+
expanduser: Any
|
| 12 |
+
|
| 13 |
+
if sys.version_info >= (3, 0):
|
| 14 |
+
StandardError = Exception
|
| 15 |
+
else:
|
| 16 |
+
from __builtin__ import StandardError as StandardError
|
| 17 |
+
|
| 18 |
+
long_type: Any
|
| 19 |
+
unquote_str: Any
|
| 20 |
+
parse_qs_safe: Any
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/ec2/__init__.pyi
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any
|
| 2 |
+
|
| 3 |
+
RegionData: Any
|
| 4 |
+
|
| 5 |
+
def regions(**kw_params): ...
|
| 6 |
+
def connect_to_region(region_name, **kw_params): ...
|
| 7 |
+
def get_region(region_name, **kw_params): ...
|
| 8 |
+
|
| 9 |
+
# Explicitly mark this package as incomplete.
|
| 10 |
+
def __getattr__(name: str) -> Any: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/elb/__init__.pyi
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any
|
| 2 |
+
|
| 3 |
+
from boto.connection import AWSQueryConnection
|
| 4 |
+
|
| 5 |
+
RegionData: Any
|
| 6 |
+
|
| 7 |
+
def regions(): ...
|
| 8 |
+
def connect_to_region(region_name, **kw_params): ...
|
| 9 |
+
|
| 10 |
+
class ELBConnection(AWSQueryConnection):
|
| 11 |
+
APIVersion: Any
|
| 12 |
+
DefaultRegionName: Any
|
| 13 |
+
DefaultRegionEndpoint: Any
|
| 14 |
+
region: Any
|
| 15 |
+
def __init__(
|
| 16 |
+
self,
|
| 17 |
+
aws_access_key_id=...,
|
| 18 |
+
aws_secret_access_key=...,
|
| 19 |
+
is_secure=...,
|
| 20 |
+
port=...,
|
| 21 |
+
proxy=...,
|
| 22 |
+
proxy_port=...,
|
| 23 |
+
proxy_user=...,
|
| 24 |
+
proxy_pass=...,
|
| 25 |
+
debug=...,
|
| 26 |
+
https_connection_factory=...,
|
| 27 |
+
region=...,
|
| 28 |
+
path=...,
|
| 29 |
+
security_token=...,
|
| 30 |
+
validate_certs=...,
|
| 31 |
+
profile_name=...,
|
| 32 |
+
) -> None: ...
|
| 33 |
+
def build_list_params(self, params, items, label): ...
|
| 34 |
+
def get_all_load_balancers(self, load_balancer_names=..., marker=...): ...
|
| 35 |
+
def create_load_balancer(
|
| 36 |
+
self, name, zones, listeners=..., subnets=..., security_groups=..., scheme=..., complex_listeners=...
|
| 37 |
+
): ...
|
| 38 |
+
def create_load_balancer_listeners(self, name, listeners=..., complex_listeners=...): ...
|
| 39 |
+
def delete_load_balancer(self, name): ...
|
| 40 |
+
def delete_load_balancer_listeners(self, name, ports): ...
|
| 41 |
+
def enable_availability_zones(self, load_balancer_name, zones_to_add): ...
|
| 42 |
+
def disable_availability_zones(self, load_balancer_name, zones_to_remove): ...
|
| 43 |
+
def modify_lb_attribute(self, load_balancer_name, attribute, value): ...
|
| 44 |
+
def get_all_lb_attributes(self, load_balancer_name): ...
|
| 45 |
+
def get_lb_attribute(self, load_balancer_name, attribute): ...
|
| 46 |
+
def register_instances(self, load_balancer_name, instances): ...
|
| 47 |
+
def deregister_instances(self, load_balancer_name, instances): ...
|
| 48 |
+
def describe_instance_health(self, load_balancer_name, instances=...): ...
|
| 49 |
+
def configure_health_check(self, name, health_check): ...
|
| 50 |
+
def set_lb_listener_SSL_certificate(self, lb_name, lb_port, ssl_certificate_id): ...
|
| 51 |
+
def create_app_cookie_stickiness_policy(self, name, lb_name, policy_name): ...
|
| 52 |
+
def create_lb_cookie_stickiness_policy(self, cookie_expiration_period, lb_name, policy_name): ...
|
| 53 |
+
def create_lb_policy(self, lb_name, policy_name, policy_type, policy_attributes): ...
|
| 54 |
+
def delete_lb_policy(self, lb_name, policy_name): ...
|
| 55 |
+
def set_lb_policies_of_listener(self, lb_name, lb_port, policies): ...
|
| 56 |
+
def set_lb_policies_of_backend_server(self, lb_name, instance_port, policies): ...
|
| 57 |
+
def apply_security_groups_to_lb(self, name, security_groups): ...
|
| 58 |
+
def attach_lb_to_subnets(self, name, subnets): ...
|
| 59 |
+
def detach_lb_from_subnets(self, name, subnets): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/kms/__init__.pyi
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import List
|
| 2 |
+
|
| 3 |
+
import boto.regioninfo
|
| 4 |
+
|
| 5 |
+
def regions() -> List[boto.regioninfo.RegionInfo]: ...
|
| 6 |
+
def connect_to_region(region_name, **kw_params): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/kms/exceptions.pyi
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from boto.exception import BotoServerError
|
| 2 |
+
|
| 3 |
+
class InvalidGrantTokenException(BotoServerError): ...
|
| 4 |
+
class DisabledException(BotoServerError): ...
|
| 5 |
+
class LimitExceededException(BotoServerError): ...
|
| 6 |
+
class DependencyTimeoutException(BotoServerError): ...
|
| 7 |
+
class InvalidMarkerException(BotoServerError): ...
|
| 8 |
+
class AlreadyExistsException(BotoServerError): ...
|
| 9 |
+
class InvalidCiphertextException(BotoServerError): ...
|
| 10 |
+
class KeyUnavailableException(BotoServerError): ...
|
| 11 |
+
class InvalidAliasNameException(BotoServerError): ...
|
| 12 |
+
class UnsupportedOperationException(BotoServerError): ...
|
| 13 |
+
class InvalidArnException(BotoServerError): ...
|
| 14 |
+
class KMSInternalException(BotoServerError): ...
|
| 15 |
+
class InvalidKeyUsageException(BotoServerError): ...
|
| 16 |
+
class MalformedPolicyDocumentException(BotoServerError): ...
|
| 17 |
+
class NotFoundException(BotoServerError): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/kms/layer1.pyi
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Dict, List, Mapping, Optional, Type
|
| 2 |
+
|
| 3 |
+
from boto.connection import AWSQueryConnection
|
| 4 |
+
|
| 5 |
+
class KMSConnection(AWSQueryConnection):
|
| 6 |
+
APIVersion: str
|
| 7 |
+
DefaultRegionName: str
|
| 8 |
+
DefaultRegionEndpoint: str
|
| 9 |
+
ServiceName: str
|
| 10 |
+
TargetPrefix: str
|
| 11 |
+
ResponseError: Type[Exception]
|
| 12 |
+
region: Any
|
| 13 |
+
def __init__(self, **kwargs) -> None: ...
|
| 14 |
+
def create_alias(self, alias_name: str, target_key_id: str) -> Optional[Dict[str, Any]]: ...
|
| 15 |
+
def create_grant(
|
| 16 |
+
self,
|
| 17 |
+
key_id: str,
|
| 18 |
+
grantee_principal: str,
|
| 19 |
+
retiring_principal: Optional[str] = ...,
|
| 20 |
+
operations: Optional[List[str]] = ...,
|
| 21 |
+
constraints: Optional[Dict[str, Dict[str, str]]] = ...,
|
| 22 |
+
grant_tokens: Optional[List[str]] = ...,
|
| 23 |
+
) -> Optional[Dict[str, Any]]: ...
|
| 24 |
+
def create_key(
|
| 25 |
+
self, policy: Optional[str] = ..., description: Optional[str] = ..., key_usage: Optional[str] = ...
|
| 26 |
+
) -> Optional[Dict[str, Any]]: ...
|
| 27 |
+
def decrypt(
|
| 28 |
+
self,
|
| 29 |
+
ciphertext_blob: bytes,
|
| 30 |
+
encryption_context: Optional[Mapping[str, Any]] = ...,
|
| 31 |
+
grant_tokens: Optional[List[str]] = ...,
|
| 32 |
+
) -> Optional[Dict[str, Any]]: ...
|
| 33 |
+
def delete_alias(self, alias_name: str) -> Optional[Dict[str, Any]]: ...
|
| 34 |
+
def describe_key(self, key_id: str) -> Optional[Dict[str, Any]]: ...
|
| 35 |
+
def disable_key(self, key_id: str) -> Optional[Dict[str, Any]]: ...
|
| 36 |
+
def disable_key_rotation(self, key_id: str) -> Optional[Dict[str, Any]]: ...
|
| 37 |
+
def enable_key(self, key_id: str) -> Optional[Dict[str, Any]]: ...
|
| 38 |
+
def enable_key_rotation(self, key_id: str) -> Optional[Dict[str, Any]]: ...
|
| 39 |
+
def encrypt(
|
| 40 |
+
self,
|
| 41 |
+
key_id: str,
|
| 42 |
+
plaintext: bytes,
|
| 43 |
+
encryption_context: Optional[Mapping[str, Any]] = ...,
|
| 44 |
+
grant_tokens: Optional[List[str]] = ...,
|
| 45 |
+
) -> Optional[Dict[str, Any]]: ...
|
| 46 |
+
def generate_data_key(
|
| 47 |
+
self,
|
| 48 |
+
key_id: str,
|
| 49 |
+
encryption_context: Optional[Mapping[str, Any]] = ...,
|
| 50 |
+
number_of_bytes: Optional[int] = ...,
|
| 51 |
+
key_spec: Optional[str] = ...,
|
| 52 |
+
grant_tokens: Optional[List[str]] = ...,
|
| 53 |
+
) -> Optional[Dict[str, Any]]: ...
|
| 54 |
+
def generate_data_key_without_plaintext(
|
| 55 |
+
self,
|
| 56 |
+
key_id: str,
|
| 57 |
+
encryption_context: Optional[Mapping[str, Any]] = ...,
|
| 58 |
+
key_spec: Optional[str] = ...,
|
| 59 |
+
number_of_bytes: Optional[int] = ...,
|
| 60 |
+
grant_tokens: Optional[List[str]] = ...,
|
| 61 |
+
) -> Optional[Dict[str, Any]]: ...
|
| 62 |
+
def generate_random(self, number_of_bytes: Optional[int] = ...) -> Optional[Dict[str, Any]]: ...
|
| 63 |
+
def get_key_policy(self, key_id: str, policy_name: str) -> Optional[Dict[str, Any]]: ...
|
| 64 |
+
def get_key_rotation_status(self, key_id: str) -> Optional[Dict[str, Any]]: ...
|
| 65 |
+
def list_aliases(self, limit: Optional[int] = ..., marker: Optional[str] = ...) -> Optional[Dict[str, Any]]: ...
|
| 66 |
+
def list_grants(self, key_id: str, limit: Optional[int] = ..., marker: Optional[str] = ...) -> Optional[Dict[str, Any]]: ...
|
| 67 |
+
def list_key_policies(
|
| 68 |
+
self, key_id: str, limit: Optional[int] = ..., marker: Optional[str] = ...
|
| 69 |
+
) -> Optional[Dict[str, Any]]: ...
|
| 70 |
+
def list_keys(self, limit: Optional[int] = ..., marker: Optional[str] = ...) -> Optional[Dict[str, Any]]: ...
|
| 71 |
+
def put_key_policy(self, key_id: str, policy_name: str, policy: str) -> Optional[Dict[str, Any]]: ...
|
| 72 |
+
def re_encrypt(
|
| 73 |
+
self,
|
| 74 |
+
ciphertext_blob: bytes,
|
| 75 |
+
destination_key_id: str,
|
| 76 |
+
source_encryption_context: Optional[Mapping[str, Any]] = ...,
|
| 77 |
+
destination_encryption_context: Optional[Mapping[str, Any]] = ...,
|
| 78 |
+
grant_tokens: Optional[List[str]] = ...,
|
| 79 |
+
) -> Optional[Dict[str, Any]]: ...
|
| 80 |
+
def retire_grant(self, grant_token: str) -> Optional[Dict[str, Any]]: ...
|
| 81 |
+
def revoke_grant(self, key_id: str, grant_id: str) -> Optional[Dict[str, Any]]: ...
|
| 82 |
+
def update_key_description(self, key_id: str, description: str) -> Optional[Dict[str, Any]]: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/regioninfo.pyi
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Optional
|
| 2 |
+
|
| 3 |
+
def load_endpoint_json(path): ...
|
| 4 |
+
def merge_endpoints(defaults, additions): ...
|
| 5 |
+
def load_regions(): ...
|
| 6 |
+
def get_regions(service_name, region_cls: Optional[Any] = ..., connection_cls: Optional[Any] = ...): ...
|
| 7 |
+
|
| 8 |
+
class RegionInfo:
|
| 9 |
+
connection: Any
|
| 10 |
+
name: Any
|
| 11 |
+
endpoint: Any
|
| 12 |
+
connection_cls: Any
|
| 13 |
+
def __init__(
|
| 14 |
+
self,
|
| 15 |
+
connection: Optional[Any] = ...,
|
| 16 |
+
name: Optional[Any] = ...,
|
| 17 |
+
endpoint: Optional[Any] = ...,
|
| 18 |
+
connection_cls: Optional[Any] = ...,
|
| 19 |
+
) -> None: ...
|
| 20 |
+
def startElement(self, name, attrs, connection): ...
|
| 21 |
+
def endElement(self, name, value, connection): ...
|
| 22 |
+
def connect(self, **kw_params): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/s3/__init__.pyi
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import List, Optional, Text, Type
|
| 2 |
+
|
| 3 |
+
from boto.connection import AWSAuthConnection
|
| 4 |
+
from boto.regioninfo import RegionInfo
|
| 5 |
+
|
| 6 |
+
from .connection import S3Connection
|
| 7 |
+
|
| 8 |
+
class S3RegionInfo(RegionInfo):
|
| 9 |
+
def connect(
|
| 10 |
+
self,
|
| 11 |
+
name: Optional[Text] = ...,
|
| 12 |
+
endpoint: Optional[str] = ...,
|
| 13 |
+
connection_cls: Optional[Type[AWSAuthConnection]] = ...,
|
| 14 |
+
**kw_params,
|
| 15 |
+
) -> S3Connection: ...
|
| 16 |
+
|
| 17 |
+
def regions() -> List[S3RegionInfo]: ...
|
| 18 |
+
def connect_to_region(region_name: Text, **kw_params): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/s3/acl.pyi
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Dict, List, Optional, Text, Union
|
| 2 |
+
|
| 3 |
+
from .connection import S3Connection
|
| 4 |
+
from .user import User
|
| 5 |
+
|
| 6 |
+
CannedACLStrings: List[str]
|
| 7 |
+
|
| 8 |
+
class Policy:
|
| 9 |
+
parent: Any
|
| 10 |
+
namespace: Any
|
| 11 |
+
acl: ACL
|
| 12 |
+
def __init__(self, parent: Optional[Any] = ...) -> None: ...
|
| 13 |
+
owner: User
|
| 14 |
+
def startElement(self, name: Text, attrs: Dict[str, Any], connection: S3Connection) -> Union[None, User, ACL]: ...
|
| 15 |
+
def endElement(self, name: Text, value: Any, connection: S3Connection) -> None: ...
|
| 16 |
+
def to_xml(self) -> str: ...
|
| 17 |
+
|
| 18 |
+
class ACL:
|
| 19 |
+
policy: Policy
|
| 20 |
+
grants: List[Grant]
|
| 21 |
+
def __init__(self, policy: Optional[Policy] = ...) -> None: ...
|
| 22 |
+
def add_grant(self, grant: Grant) -> None: ...
|
| 23 |
+
def add_email_grant(self, permission: Text, email_address: Text) -> None: ...
|
| 24 |
+
def add_user_grant(self, permission: Text, user_id: Text, display_name: Optional[Text] = ...) -> None: ...
|
| 25 |
+
def startElement(self, name, attrs, connection): ...
|
| 26 |
+
def endElement(self, name: Text, value: Any, connection: S3Connection) -> None: ...
|
| 27 |
+
def to_xml(self) -> str: ...
|
| 28 |
+
|
| 29 |
+
class Grant:
|
| 30 |
+
NameSpace: Text
|
| 31 |
+
permission: Text
|
| 32 |
+
id: Text
|
| 33 |
+
display_name: Text
|
| 34 |
+
uri: Text
|
| 35 |
+
email_address: Text
|
| 36 |
+
type: Text
|
| 37 |
+
def __init__(
|
| 38 |
+
self,
|
| 39 |
+
permission: Optional[Text] = ...,
|
| 40 |
+
type: Optional[Text] = ...,
|
| 41 |
+
id: Optional[Text] = ...,
|
| 42 |
+
display_name: Optional[Text] = ...,
|
| 43 |
+
uri: Optional[Text] = ...,
|
| 44 |
+
email_address: Optional[Text] = ...,
|
| 45 |
+
) -> None: ...
|
| 46 |
+
def startElement(self, name, attrs, connection): ...
|
| 47 |
+
def endElement(self, name: Text, value: Any, connection: S3Connection) -> None: ...
|
| 48 |
+
def to_xml(self) -> str: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/s3/bucket.pyi
ADDED
|
@@ -0,0 +1,187 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Dict, List, Optional, Text, Type
|
| 2 |
+
|
| 3 |
+
from .bucketlistresultset import BucketListResultSet
|
| 4 |
+
from .connection import S3Connection
|
| 5 |
+
from .key import Key
|
| 6 |
+
|
| 7 |
+
class S3WebsiteEndpointTranslate:
|
| 8 |
+
trans_region: Dict[str, str]
|
| 9 |
+
@classmethod
|
| 10 |
+
def translate_region(cls, reg: Text) -> str: ...
|
| 11 |
+
|
| 12 |
+
S3Permissions: List[str]
|
| 13 |
+
|
| 14 |
+
class Bucket:
|
| 15 |
+
LoggingGroup: str
|
| 16 |
+
BucketPaymentBody: str
|
| 17 |
+
VersioningBody: str
|
| 18 |
+
VersionRE: str
|
| 19 |
+
MFADeleteRE: str
|
| 20 |
+
name: Text
|
| 21 |
+
connection: S3Connection
|
| 22 |
+
key_class: Type[Key]
|
| 23 |
+
def __init__(
|
| 24 |
+
self, connection: Optional[S3Connection] = ..., name: Optional[Text] = ..., key_class: Type[Key] = ...
|
| 25 |
+
) -> None: ...
|
| 26 |
+
def __iter__(self): ...
|
| 27 |
+
def __contains__(self, key_name) -> bool: ...
|
| 28 |
+
def startElement(self, name, attrs, connection): ...
|
| 29 |
+
creation_date: Any
|
| 30 |
+
def endElement(self, name, value, connection): ...
|
| 31 |
+
def set_key_class(self, key_class): ...
|
| 32 |
+
def lookup(self, key_name, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 33 |
+
def get_key(
|
| 34 |
+
self,
|
| 35 |
+
key_name,
|
| 36 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 37 |
+
version_id: Optional[Any] = ...,
|
| 38 |
+
response_headers: Optional[Dict[Text, Text]] = ...,
|
| 39 |
+
validate: bool = ...,
|
| 40 |
+
) -> Key: ...
|
| 41 |
+
def list(
|
| 42 |
+
self,
|
| 43 |
+
prefix: Text = ...,
|
| 44 |
+
delimiter: Text = ...,
|
| 45 |
+
marker: Text = ...,
|
| 46 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 47 |
+
encoding_type: Optional[Any] = ...,
|
| 48 |
+
) -> BucketListResultSet: ...
|
| 49 |
+
def list_versions(
|
| 50 |
+
self,
|
| 51 |
+
prefix: str = ...,
|
| 52 |
+
delimiter: str = ...,
|
| 53 |
+
key_marker: str = ...,
|
| 54 |
+
version_id_marker: str = ...,
|
| 55 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 56 |
+
encoding_type: Optional[Text] = ...,
|
| 57 |
+
) -> BucketListResultSet: ...
|
| 58 |
+
def list_multipart_uploads(
|
| 59 |
+
self,
|
| 60 |
+
key_marker: str = ...,
|
| 61 |
+
upload_id_marker: str = ...,
|
| 62 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 63 |
+
encoding_type: Optional[Any] = ...,
|
| 64 |
+
): ...
|
| 65 |
+
def validate_kwarg_names(self, kwargs, names): ...
|
| 66 |
+
def get_all_keys(self, headers: Optional[Dict[Text, Text]] = ..., **params): ...
|
| 67 |
+
def get_all_versions(self, headers: Optional[Dict[Text, Text]] = ..., **params): ...
|
| 68 |
+
def validate_get_all_versions_params(self, params): ...
|
| 69 |
+
def get_all_multipart_uploads(self, headers: Optional[Dict[Text, Text]] = ..., **params): ...
|
| 70 |
+
def new_key(self, key_name: Optional[Any] = ...): ...
|
| 71 |
+
def generate_url(
|
| 72 |
+
self,
|
| 73 |
+
expires_in,
|
| 74 |
+
method: str = ...,
|
| 75 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 76 |
+
force_http: bool = ...,
|
| 77 |
+
response_headers: Optional[Dict[Text, Text]] = ...,
|
| 78 |
+
expires_in_absolute: bool = ...,
|
| 79 |
+
): ...
|
| 80 |
+
def delete_keys(self, keys, quiet: bool = ..., mfa_token: Optional[Any] = ..., headers: Optional[Dict[Text, Text]] = ...): ...
|
| 81 |
+
def delete_key(
|
| 82 |
+
self, key_name, headers: Optional[Dict[Text, Text]] = ..., version_id: Optional[Any] = ..., mfa_token: Optional[Any] = ...
|
| 83 |
+
): ...
|
| 84 |
+
def copy_key(
|
| 85 |
+
self,
|
| 86 |
+
new_key_name,
|
| 87 |
+
src_bucket_name,
|
| 88 |
+
src_key_name,
|
| 89 |
+
metadata: Optional[Any] = ...,
|
| 90 |
+
src_version_id: Optional[Any] = ...,
|
| 91 |
+
storage_class: str = ...,
|
| 92 |
+
preserve_acl: bool = ...,
|
| 93 |
+
encrypt_key: bool = ...,
|
| 94 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 95 |
+
query_args: Optional[Any] = ...,
|
| 96 |
+
): ...
|
| 97 |
+
def set_canned_acl(
|
| 98 |
+
self, acl_str, key_name: str = ..., headers: Optional[Dict[Text, Text]] = ..., version_id: Optional[Any] = ...
|
| 99 |
+
): ...
|
| 100 |
+
def get_xml_acl(self, key_name: str = ..., headers: Optional[Dict[Text, Text]] = ..., version_id: Optional[Any] = ...): ...
|
| 101 |
+
def set_xml_acl(
|
| 102 |
+
self,
|
| 103 |
+
acl_str,
|
| 104 |
+
key_name: str = ...,
|
| 105 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 106 |
+
version_id: Optional[Any] = ...,
|
| 107 |
+
query_args: str = ...,
|
| 108 |
+
): ...
|
| 109 |
+
def set_acl(
|
| 110 |
+
self, acl_or_str, key_name: str = ..., headers: Optional[Dict[Text, Text]] = ..., version_id: Optional[Any] = ...
|
| 111 |
+
): ...
|
| 112 |
+
def get_acl(self, key_name: str = ..., headers: Optional[Dict[Text, Text]] = ..., version_id: Optional[Any] = ...): ...
|
| 113 |
+
def set_subresource(
|
| 114 |
+
self, subresource, value, key_name: str = ..., headers: Optional[Dict[Text, Text]] = ..., version_id: Optional[Any] = ...
|
| 115 |
+
): ...
|
| 116 |
+
def get_subresource(
|
| 117 |
+
self, subresource, key_name: str = ..., headers: Optional[Dict[Text, Text]] = ..., version_id: Optional[Any] = ...
|
| 118 |
+
): ...
|
| 119 |
+
def make_public(self, recursive: bool = ..., headers: Optional[Dict[Text, Text]] = ...): ...
|
| 120 |
+
def add_email_grant(self, permission, email_address, recursive: bool = ..., headers: Optional[Dict[Text, Text]] = ...): ...
|
| 121 |
+
def add_user_grant(
|
| 122 |
+
self,
|
| 123 |
+
permission,
|
| 124 |
+
user_id,
|
| 125 |
+
recursive: bool = ...,
|
| 126 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 127 |
+
display_name: Optional[Any] = ...,
|
| 128 |
+
): ...
|
| 129 |
+
def list_grants(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 130 |
+
def get_location(self): ...
|
| 131 |
+
def set_xml_logging(self, logging_str, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 132 |
+
def enable_logging(
|
| 133 |
+
self, target_bucket, target_prefix: str = ..., grants: Optional[Any] = ..., headers: Optional[Dict[Text, Text]] = ...
|
| 134 |
+
): ...
|
| 135 |
+
def disable_logging(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 136 |
+
def get_logging_status(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 137 |
+
def set_as_logging_target(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 138 |
+
def get_request_payment(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 139 |
+
def set_request_payment(self, payer: str = ..., headers: Optional[Dict[Text, Text]] = ...): ...
|
| 140 |
+
def configure_versioning(
|
| 141 |
+
self, versioning, mfa_delete: bool = ..., mfa_token: Optional[Any] = ..., headers: Optional[Dict[Text, Text]] = ...
|
| 142 |
+
): ...
|
| 143 |
+
def get_versioning_status(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 144 |
+
def configure_lifecycle(self, lifecycle_config, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 145 |
+
def get_lifecycle_config(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 146 |
+
def delete_lifecycle_configuration(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 147 |
+
def configure_website(
|
| 148 |
+
self,
|
| 149 |
+
suffix: Optional[Any] = ...,
|
| 150 |
+
error_key: Optional[Any] = ...,
|
| 151 |
+
redirect_all_requests_to: Optional[Any] = ...,
|
| 152 |
+
routing_rules: Optional[Any] = ...,
|
| 153 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 154 |
+
): ...
|
| 155 |
+
def set_website_configuration(self, config, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 156 |
+
def set_website_configuration_xml(self, xml, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 157 |
+
def get_website_configuration(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 158 |
+
def get_website_configuration_obj(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 159 |
+
def get_website_configuration_with_xml(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 160 |
+
def get_website_configuration_xml(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 161 |
+
def delete_website_configuration(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 162 |
+
def get_website_endpoint(self): ...
|
| 163 |
+
def get_policy(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 164 |
+
def set_policy(self, policy, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 165 |
+
def delete_policy(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 166 |
+
def set_cors_xml(self, cors_xml, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 167 |
+
def set_cors(self, cors_config, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 168 |
+
def get_cors_xml(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 169 |
+
def get_cors(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 170 |
+
def delete_cors(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 171 |
+
def initiate_multipart_upload(
|
| 172 |
+
self,
|
| 173 |
+
key_name,
|
| 174 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 175 |
+
reduced_redundancy: bool = ...,
|
| 176 |
+
metadata: Optional[Any] = ...,
|
| 177 |
+
encrypt_key: bool = ...,
|
| 178 |
+
policy: Optional[Any] = ...,
|
| 179 |
+
): ...
|
| 180 |
+
def complete_multipart_upload(self, key_name, upload_id, xml_body, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 181 |
+
def cancel_multipart_upload(self, key_name, upload_id, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 182 |
+
def delete(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 183 |
+
def get_tags(self): ...
|
| 184 |
+
def get_xml_tags(self): ...
|
| 185 |
+
def set_xml_tags(self, tag_str, headers: Optional[Dict[Text, Text]] = ..., query_args: str = ...): ...
|
| 186 |
+
def set_tags(self, tags, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 187 |
+
def delete_tags(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/s3/bucketlistresultset.pyi
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Iterable, Iterator, Optional
|
| 2 |
+
|
| 3 |
+
from .key import Key
|
| 4 |
+
|
| 5 |
+
def bucket_lister(
|
| 6 |
+
bucket,
|
| 7 |
+
prefix: str = ...,
|
| 8 |
+
delimiter: str = ...,
|
| 9 |
+
marker: str = ...,
|
| 10 |
+
headers: Optional[Any] = ...,
|
| 11 |
+
encoding_type: Optional[Any] = ...,
|
| 12 |
+
): ...
|
| 13 |
+
|
| 14 |
+
class BucketListResultSet(Iterable[Key]):
|
| 15 |
+
bucket: Any
|
| 16 |
+
prefix: Any
|
| 17 |
+
delimiter: Any
|
| 18 |
+
marker: Any
|
| 19 |
+
headers: Any
|
| 20 |
+
encoding_type: Any
|
| 21 |
+
def __init__(
|
| 22 |
+
self,
|
| 23 |
+
bucket: Optional[Any] = ...,
|
| 24 |
+
prefix: str = ...,
|
| 25 |
+
delimiter: str = ...,
|
| 26 |
+
marker: str = ...,
|
| 27 |
+
headers: Optional[Any] = ...,
|
| 28 |
+
encoding_type: Optional[Any] = ...,
|
| 29 |
+
) -> None: ...
|
| 30 |
+
def __iter__(self) -> Iterator[Key]: ...
|
| 31 |
+
|
| 32 |
+
def versioned_bucket_lister(
|
| 33 |
+
bucket,
|
| 34 |
+
prefix: str = ...,
|
| 35 |
+
delimiter: str = ...,
|
| 36 |
+
key_marker: str = ...,
|
| 37 |
+
version_id_marker: str = ...,
|
| 38 |
+
headers: Optional[Any] = ...,
|
| 39 |
+
encoding_type: Optional[Any] = ...,
|
| 40 |
+
): ...
|
| 41 |
+
|
| 42 |
+
class VersionedBucketListResultSet:
|
| 43 |
+
bucket: Any
|
| 44 |
+
prefix: Any
|
| 45 |
+
delimiter: Any
|
| 46 |
+
key_marker: Any
|
| 47 |
+
version_id_marker: Any
|
| 48 |
+
headers: Any
|
| 49 |
+
encoding_type: Any
|
| 50 |
+
def __init__(
|
| 51 |
+
self,
|
| 52 |
+
bucket: Optional[Any] = ...,
|
| 53 |
+
prefix: str = ...,
|
| 54 |
+
delimiter: str = ...,
|
| 55 |
+
key_marker: str = ...,
|
| 56 |
+
version_id_marker: str = ...,
|
| 57 |
+
headers: Optional[Any] = ...,
|
| 58 |
+
encoding_type: Optional[Any] = ...,
|
| 59 |
+
) -> None: ...
|
| 60 |
+
def __iter__(self) -> Iterator[Key]: ...
|
| 61 |
+
|
| 62 |
+
def multipart_upload_lister(
|
| 63 |
+
bucket, key_marker: str = ..., upload_id_marker: str = ..., headers: Optional[Any] = ..., encoding_type: Optional[Any] = ...
|
| 64 |
+
): ...
|
| 65 |
+
|
| 66 |
+
class MultiPartUploadListResultSet:
|
| 67 |
+
bucket: Any
|
| 68 |
+
key_marker: Any
|
| 69 |
+
upload_id_marker: Any
|
| 70 |
+
headers: Any
|
| 71 |
+
encoding_type: Any
|
| 72 |
+
def __init__(
|
| 73 |
+
self,
|
| 74 |
+
bucket: Optional[Any] = ...,
|
| 75 |
+
key_marker: str = ...,
|
| 76 |
+
upload_id_marker: str = ...,
|
| 77 |
+
headers: Optional[Any] = ...,
|
| 78 |
+
encoding_type: Optional[Any] = ...,
|
| 79 |
+
) -> None: ...
|
| 80 |
+
def __iter__(self): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/s3/bucketlogging.pyi
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Optional
|
| 2 |
+
|
| 3 |
+
class BucketLogging:
|
| 4 |
+
target: Any
|
| 5 |
+
prefix: Any
|
| 6 |
+
grants: Any
|
| 7 |
+
def __init__(self, target: Optional[Any] = ..., prefix: Optional[Any] = ..., grants: Optional[Any] = ...) -> None: ...
|
| 8 |
+
def add_grant(self, grant): ...
|
| 9 |
+
def startElement(self, name, attrs, connection): ...
|
| 10 |
+
def endElement(self, name, value, connection): ...
|
| 11 |
+
def to_xml(self): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/s3/connection.pyi
ADDED
|
@@ -0,0 +1,128 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Dict, Optional, Text, Type
|
| 2 |
+
|
| 3 |
+
from boto.connection import AWSAuthConnection
|
| 4 |
+
from boto.exception import BotoClientError
|
| 5 |
+
|
| 6 |
+
from .bucket import Bucket
|
| 7 |
+
|
| 8 |
+
def check_lowercase_bucketname(n): ...
|
| 9 |
+
def assert_case_insensitive(f): ...
|
| 10 |
+
|
| 11 |
+
class _CallingFormat:
|
| 12 |
+
def get_bucket_server(self, server, bucket): ...
|
| 13 |
+
def build_url_base(self, connection, protocol, server, bucket, key: str = ...): ...
|
| 14 |
+
def build_host(self, server, bucket): ...
|
| 15 |
+
def build_auth_path(self, bucket, key: str = ...): ...
|
| 16 |
+
def build_path_base(self, bucket, key: str = ...): ...
|
| 17 |
+
|
| 18 |
+
class SubdomainCallingFormat(_CallingFormat):
|
| 19 |
+
def get_bucket_server(self, server, bucket): ...
|
| 20 |
+
|
| 21 |
+
class VHostCallingFormat(_CallingFormat):
|
| 22 |
+
def get_bucket_server(self, server, bucket): ...
|
| 23 |
+
|
| 24 |
+
class OrdinaryCallingFormat(_CallingFormat):
|
| 25 |
+
def get_bucket_server(self, server, bucket): ...
|
| 26 |
+
def build_path_base(self, bucket, key: str = ...): ...
|
| 27 |
+
|
| 28 |
+
class ProtocolIndependentOrdinaryCallingFormat(OrdinaryCallingFormat):
|
| 29 |
+
def build_url_base(self, connection, protocol, server, bucket, key: str = ...): ...
|
| 30 |
+
|
| 31 |
+
class Location:
|
| 32 |
+
DEFAULT: str
|
| 33 |
+
EU: str
|
| 34 |
+
EUCentral1: str
|
| 35 |
+
USWest: str
|
| 36 |
+
USWest2: str
|
| 37 |
+
SAEast: str
|
| 38 |
+
APNortheast: str
|
| 39 |
+
APSoutheast: str
|
| 40 |
+
APSoutheast2: str
|
| 41 |
+
CNNorth1: str
|
| 42 |
+
|
| 43 |
+
class NoHostProvided: ...
|
| 44 |
+
class HostRequiredError(BotoClientError): ...
|
| 45 |
+
|
| 46 |
+
class S3Connection(AWSAuthConnection):
|
| 47 |
+
DefaultHost: Any
|
| 48 |
+
DefaultCallingFormat: Any
|
| 49 |
+
QueryString: str
|
| 50 |
+
calling_format: Any
|
| 51 |
+
bucket_class: Type[Bucket]
|
| 52 |
+
anon: Any
|
| 53 |
+
def __init__(
|
| 54 |
+
self,
|
| 55 |
+
aws_access_key_id: Optional[Any] = ...,
|
| 56 |
+
aws_secret_access_key: Optional[Any] = ...,
|
| 57 |
+
is_secure: bool = ...,
|
| 58 |
+
port: Optional[Any] = ...,
|
| 59 |
+
proxy: Optional[Any] = ...,
|
| 60 |
+
proxy_port: Optional[Any] = ...,
|
| 61 |
+
proxy_user: Optional[Any] = ...,
|
| 62 |
+
proxy_pass: Optional[Any] = ...,
|
| 63 |
+
host: Any = ...,
|
| 64 |
+
debug: int = ...,
|
| 65 |
+
https_connection_factory: Optional[Any] = ...,
|
| 66 |
+
calling_format: Any = ...,
|
| 67 |
+
path: str = ...,
|
| 68 |
+
provider: str = ...,
|
| 69 |
+
bucket_class: Type[Bucket] = ...,
|
| 70 |
+
security_token: Optional[Any] = ...,
|
| 71 |
+
suppress_consec_slashes: bool = ...,
|
| 72 |
+
anon: bool = ...,
|
| 73 |
+
validate_certs: Optional[Any] = ...,
|
| 74 |
+
profile_name: Optional[Any] = ...,
|
| 75 |
+
) -> None: ...
|
| 76 |
+
def __iter__(self): ...
|
| 77 |
+
def __contains__(self, bucket_name): ...
|
| 78 |
+
def set_bucket_class(self, bucket_class: Type[Bucket]) -> None: ...
|
| 79 |
+
def build_post_policy(self, expiration_time, conditions): ...
|
| 80 |
+
def build_post_form_args(
|
| 81 |
+
self,
|
| 82 |
+
bucket_name,
|
| 83 |
+
key,
|
| 84 |
+
expires_in: int = ...,
|
| 85 |
+
acl: Optional[Any] = ...,
|
| 86 |
+
success_action_redirect: Optional[Any] = ...,
|
| 87 |
+
max_content_length: Optional[Any] = ...,
|
| 88 |
+
http_method: str = ...,
|
| 89 |
+
fields: Optional[Any] = ...,
|
| 90 |
+
conditions: Optional[Any] = ...,
|
| 91 |
+
storage_class: str = ...,
|
| 92 |
+
server_side_encryption: Optional[Any] = ...,
|
| 93 |
+
): ...
|
| 94 |
+
def generate_url_sigv4(
|
| 95 |
+
self,
|
| 96 |
+
expires_in,
|
| 97 |
+
method,
|
| 98 |
+
bucket: str = ...,
|
| 99 |
+
key: str = ...,
|
| 100 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 101 |
+
force_http: bool = ...,
|
| 102 |
+
response_headers: Optional[Dict[Text, Text]] = ...,
|
| 103 |
+
version_id: Optional[Any] = ...,
|
| 104 |
+
iso_date: Optional[Any] = ...,
|
| 105 |
+
): ...
|
| 106 |
+
def generate_url(
|
| 107 |
+
self,
|
| 108 |
+
expires_in,
|
| 109 |
+
method,
|
| 110 |
+
bucket: str = ...,
|
| 111 |
+
key: str = ...,
|
| 112 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 113 |
+
query_auth: bool = ...,
|
| 114 |
+
force_http: bool = ...,
|
| 115 |
+
response_headers: Optional[Dict[Text, Text]] = ...,
|
| 116 |
+
expires_in_absolute: bool = ...,
|
| 117 |
+
version_id: Optional[Any] = ...,
|
| 118 |
+
): ...
|
| 119 |
+
def get_all_buckets(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 120 |
+
def get_canonical_user_id(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 121 |
+
def get_bucket(self, bucket_name: Text, validate: bool = ..., headers: Optional[Dict[Text, Text]] = ...) -> Bucket: ...
|
| 122 |
+
def head_bucket(self, bucket_name, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 123 |
+
def lookup(self, bucket_name, validate: bool = ..., headers: Optional[Dict[Text, Text]] = ...): ...
|
| 124 |
+
def create_bucket(
|
| 125 |
+
self, bucket_name, headers: Optional[Dict[Text, Text]] = ..., location: Any = ..., policy: Optional[Any] = ...
|
| 126 |
+
): ...
|
| 127 |
+
def delete_bucket(self, bucket, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 128 |
+
def make_request(self, method, bucket: str = ..., key: str = ..., headers: Optional[Any] = ..., data: str = ..., query_args: Optional[Any] = ..., sender: Optional[Any] = ..., override_num_retries: Optional[Any] = ..., retry_handler: Optional[Any] = ..., *args, **kwargs): ... # type: ignore # https://github.com/python/mypy/issues/1237
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/s3/cors.pyi
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, List, Optional
|
| 2 |
+
|
| 3 |
+
class CORSRule:
|
| 4 |
+
allowed_method: Any
|
| 5 |
+
allowed_origin: Any
|
| 6 |
+
id: Any
|
| 7 |
+
allowed_header: Any
|
| 8 |
+
max_age_seconds: Any
|
| 9 |
+
expose_header: Any
|
| 10 |
+
def __init__(
|
| 11 |
+
self,
|
| 12 |
+
allowed_method: Optional[Any] = ...,
|
| 13 |
+
allowed_origin: Optional[Any] = ...,
|
| 14 |
+
id: Optional[Any] = ...,
|
| 15 |
+
allowed_header: Optional[Any] = ...,
|
| 16 |
+
max_age_seconds: Optional[Any] = ...,
|
| 17 |
+
expose_header: Optional[Any] = ...,
|
| 18 |
+
) -> None: ...
|
| 19 |
+
def startElement(self, name, attrs, connection): ...
|
| 20 |
+
def endElement(self, name, value, connection): ...
|
| 21 |
+
def to_xml(self) -> str: ...
|
| 22 |
+
|
| 23 |
+
class CORSConfiguration(List[CORSRule]):
|
| 24 |
+
def startElement(self, name, attrs, connection): ...
|
| 25 |
+
def endElement(self, name, value, connection): ...
|
| 26 |
+
def to_xml(self) -> str: ...
|
| 27 |
+
def add_rule(
|
| 28 |
+
self,
|
| 29 |
+
allowed_method,
|
| 30 |
+
allowed_origin,
|
| 31 |
+
id: Optional[Any] = ...,
|
| 32 |
+
allowed_header: Optional[Any] = ...,
|
| 33 |
+
max_age_seconds: Optional[Any] = ...,
|
| 34 |
+
expose_header: Optional[Any] = ...,
|
| 35 |
+
): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/s3/deletemarker.pyi
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Optional
|
| 2 |
+
|
| 3 |
+
class DeleteMarker:
|
| 4 |
+
bucket: Any
|
| 5 |
+
name: Any
|
| 6 |
+
version_id: Any
|
| 7 |
+
is_latest: bool
|
| 8 |
+
last_modified: Any
|
| 9 |
+
owner: Any
|
| 10 |
+
def __init__(self, bucket: Optional[Any] = ..., name: Optional[Any] = ...) -> None: ...
|
| 11 |
+
def startElement(self, name, attrs, connection): ...
|
| 12 |
+
def endElement(self, name, value, connection): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/s3/key.pyi
ADDED
|
@@ -0,0 +1,233 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Callable, Dict, Optional, Text, Union, overload
|
| 2 |
+
|
| 3 |
+
class Key:
|
| 4 |
+
DefaultContentType: str
|
| 5 |
+
RestoreBody: str
|
| 6 |
+
BufferSize: Any
|
| 7 |
+
base_user_settable_fields: Any
|
| 8 |
+
base_fields: Any
|
| 9 |
+
bucket: Any
|
| 10 |
+
name: str
|
| 11 |
+
metadata: Any
|
| 12 |
+
cache_control: Any
|
| 13 |
+
content_type: Any
|
| 14 |
+
content_encoding: Any
|
| 15 |
+
content_disposition: Any
|
| 16 |
+
content_language: Any
|
| 17 |
+
filename: Any
|
| 18 |
+
etag: Any
|
| 19 |
+
is_latest: bool
|
| 20 |
+
last_modified: Any
|
| 21 |
+
owner: Any
|
| 22 |
+
path: Any
|
| 23 |
+
resp: Any
|
| 24 |
+
mode: Any
|
| 25 |
+
size: Any
|
| 26 |
+
version_id: Any
|
| 27 |
+
source_version_id: Any
|
| 28 |
+
delete_marker: bool
|
| 29 |
+
encrypted: Any
|
| 30 |
+
ongoing_restore: Any
|
| 31 |
+
expiry_date: Any
|
| 32 |
+
local_hashes: Any
|
| 33 |
+
def __init__(self, bucket: Optional[Any] = ..., name: Optional[Any] = ...) -> None: ...
|
| 34 |
+
def __iter__(self): ...
|
| 35 |
+
@property
|
| 36 |
+
def provider(self): ...
|
| 37 |
+
key: Any
|
| 38 |
+
md5: Any
|
| 39 |
+
base64md5: Any
|
| 40 |
+
storage_class: Any
|
| 41 |
+
def get_md5_from_hexdigest(self, md5_hexdigest): ...
|
| 42 |
+
def handle_encryption_headers(self, resp): ...
|
| 43 |
+
def handle_version_headers(self, resp, force: bool = ...): ...
|
| 44 |
+
def handle_restore_headers(self, response): ...
|
| 45 |
+
def handle_addl_headers(self, headers): ...
|
| 46 |
+
def open_read(
|
| 47 |
+
self,
|
| 48 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 49 |
+
query_args: str = ...,
|
| 50 |
+
override_num_retries: Optional[Any] = ...,
|
| 51 |
+
response_headers: Optional[Dict[Text, Text]] = ...,
|
| 52 |
+
): ...
|
| 53 |
+
def open_write(self, headers: Optional[Dict[Text, Text]] = ..., override_num_retries: Optional[Any] = ...): ...
|
| 54 |
+
def open(
|
| 55 |
+
self,
|
| 56 |
+
mode: str = ...,
|
| 57 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 58 |
+
query_args: Optional[Any] = ...,
|
| 59 |
+
override_num_retries: Optional[Any] = ...,
|
| 60 |
+
): ...
|
| 61 |
+
closed: bool
|
| 62 |
+
def close(self, fast: bool = ...): ...
|
| 63 |
+
def next(self): ...
|
| 64 |
+
__next__: Any
|
| 65 |
+
def read(self, size: int = ...): ...
|
| 66 |
+
def change_storage_class(self, new_storage_class, dst_bucket: Optional[Any] = ..., validate_dst_bucket: bool = ...): ...
|
| 67 |
+
def copy(
|
| 68 |
+
self,
|
| 69 |
+
dst_bucket,
|
| 70 |
+
dst_key,
|
| 71 |
+
metadata: Optional[Any] = ...,
|
| 72 |
+
reduced_redundancy: bool = ...,
|
| 73 |
+
preserve_acl: bool = ...,
|
| 74 |
+
encrypt_key: bool = ...,
|
| 75 |
+
validate_dst_bucket: bool = ...,
|
| 76 |
+
): ...
|
| 77 |
+
def startElement(self, name, attrs, connection): ...
|
| 78 |
+
def endElement(self, name, value, connection): ...
|
| 79 |
+
def exists(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 80 |
+
def delete(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 81 |
+
def get_metadata(self, name): ...
|
| 82 |
+
def set_metadata(self, name, value): ...
|
| 83 |
+
def update_metadata(self, d): ...
|
| 84 |
+
def set_acl(self, acl_str, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 85 |
+
def get_acl(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 86 |
+
def get_xml_acl(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 87 |
+
def set_xml_acl(self, acl_str, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 88 |
+
def set_canned_acl(self, acl_str, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 89 |
+
def get_redirect(self): ...
|
| 90 |
+
def set_redirect(self, redirect_location, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 91 |
+
def make_public(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 92 |
+
def generate_url(
|
| 93 |
+
self,
|
| 94 |
+
expires_in,
|
| 95 |
+
method: str = ...,
|
| 96 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 97 |
+
query_auth: bool = ...,
|
| 98 |
+
force_http: bool = ...,
|
| 99 |
+
response_headers: Optional[Dict[Text, Text]] = ...,
|
| 100 |
+
expires_in_absolute: bool = ...,
|
| 101 |
+
version_id: Optional[Any] = ...,
|
| 102 |
+
policy: Optional[Any] = ...,
|
| 103 |
+
reduced_redundancy: bool = ...,
|
| 104 |
+
encrypt_key: bool = ...,
|
| 105 |
+
): ...
|
| 106 |
+
def send_file(
|
| 107 |
+
self,
|
| 108 |
+
fp,
|
| 109 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 110 |
+
cb: Optional[Callable[[int, int], Any]] = ...,
|
| 111 |
+
num_cb: int = ...,
|
| 112 |
+
query_args: Optional[Any] = ...,
|
| 113 |
+
chunked_transfer: bool = ...,
|
| 114 |
+
size: Optional[Any] = ...,
|
| 115 |
+
): ...
|
| 116 |
+
def should_retry(self, response, chunked_transfer: bool = ...): ...
|
| 117 |
+
def compute_md5(self, fp, size: Optional[Any] = ...): ...
|
| 118 |
+
def set_contents_from_stream(
|
| 119 |
+
self,
|
| 120 |
+
fp,
|
| 121 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 122 |
+
replace: bool = ...,
|
| 123 |
+
cb: Optional[Callable[[int, int], Any]] = ...,
|
| 124 |
+
num_cb: int = ...,
|
| 125 |
+
policy: Optional[Any] = ...,
|
| 126 |
+
reduced_redundancy: bool = ...,
|
| 127 |
+
query_args: Optional[Any] = ...,
|
| 128 |
+
size: Optional[Any] = ...,
|
| 129 |
+
): ...
|
| 130 |
+
def set_contents_from_file(
|
| 131 |
+
self,
|
| 132 |
+
fp,
|
| 133 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 134 |
+
replace: bool = ...,
|
| 135 |
+
cb: Optional[Callable[[int, int], Any]] = ...,
|
| 136 |
+
num_cb: int = ...,
|
| 137 |
+
policy: Optional[Any] = ...,
|
| 138 |
+
md5: Optional[Any] = ...,
|
| 139 |
+
reduced_redundancy: bool = ...,
|
| 140 |
+
query_args: Optional[Any] = ...,
|
| 141 |
+
encrypt_key: bool = ...,
|
| 142 |
+
size: Optional[Any] = ...,
|
| 143 |
+
rewind: bool = ...,
|
| 144 |
+
): ...
|
| 145 |
+
def set_contents_from_filename(
|
| 146 |
+
self,
|
| 147 |
+
filename,
|
| 148 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 149 |
+
replace: bool = ...,
|
| 150 |
+
cb: Optional[Callable[[int, int], Any]] = ...,
|
| 151 |
+
num_cb: int = ...,
|
| 152 |
+
policy: Optional[Any] = ...,
|
| 153 |
+
md5: Optional[Any] = ...,
|
| 154 |
+
reduced_redundancy: bool = ...,
|
| 155 |
+
encrypt_key: bool = ...,
|
| 156 |
+
): ...
|
| 157 |
+
def set_contents_from_string(
|
| 158 |
+
self,
|
| 159 |
+
string_data: Union[Text, bytes],
|
| 160 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 161 |
+
replace: bool = ...,
|
| 162 |
+
cb: Optional[Callable[[int, int], Any]] = ...,
|
| 163 |
+
num_cb: int = ...,
|
| 164 |
+
policy: Optional[Any] = ...,
|
| 165 |
+
md5: Optional[Any] = ...,
|
| 166 |
+
reduced_redundancy: bool = ...,
|
| 167 |
+
encrypt_key: bool = ...,
|
| 168 |
+
) -> None: ...
|
| 169 |
+
def get_file(
|
| 170 |
+
self,
|
| 171 |
+
fp,
|
| 172 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 173 |
+
cb: Optional[Callable[[int, int], Any]] = ...,
|
| 174 |
+
num_cb: int = ...,
|
| 175 |
+
torrent: bool = ...,
|
| 176 |
+
version_id: Optional[Any] = ...,
|
| 177 |
+
override_num_retries: Optional[Any] = ...,
|
| 178 |
+
response_headers: Optional[Dict[Text, Text]] = ...,
|
| 179 |
+
): ...
|
| 180 |
+
def get_torrent_file(
|
| 181 |
+
self, fp, headers: Optional[Dict[Text, Text]] = ..., cb: Optional[Callable[[int, int], Any]] = ..., num_cb: int = ...
|
| 182 |
+
): ...
|
| 183 |
+
def get_contents_to_file(
|
| 184 |
+
self,
|
| 185 |
+
fp,
|
| 186 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 187 |
+
cb: Optional[Callable[[int, int], Any]] = ...,
|
| 188 |
+
num_cb: int = ...,
|
| 189 |
+
torrent: bool = ...,
|
| 190 |
+
version_id: Optional[Any] = ...,
|
| 191 |
+
res_download_handler: Optional[Any] = ...,
|
| 192 |
+
response_headers: Optional[Dict[Text, Text]] = ...,
|
| 193 |
+
): ...
|
| 194 |
+
def get_contents_to_filename(
|
| 195 |
+
self,
|
| 196 |
+
filename,
|
| 197 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 198 |
+
cb: Optional[Callable[[int, int], Any]] = ...,
|
| 199 |
+
num_cb: int = ...,
|
| 200 |
+
torrent: bool = ...,
|
| 201 |
+
version_id: Optional[Any] = ...,
|
| 202 |
+
res_download_handler: Optional[Any] = ...,
|
| 203 |
+
response_headers: Optional[Dict[Text, Text]] = ...,
|
| 204 |
+
): ...
|
| 205 |
+
@overload
|
| 206 |
+
def get_contents_as_string(
|
| 207 |
+
self,
|
| 208 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 209 |
+
cb: Optional[Callable[[int, int], Any]] = ...,
|
| 210 |
+
num_cb: int = ...,
|
| 211 |
+
torrent: bool = ...,
|
| 212 |
+
version_id: Optional[Any] = ...,
|
| 213 |
+
response_headers: Optional[Dict[Text, Text]] = ...,
|
| 214 |
+
encoding: None = ...,
|
| 215 |
+
) -> bytes: ...
|
| 216 |
+
@overload
|
| 217 |
+
def get_contents_as_string(
|
| 218 |
+
self,
|
| 219 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 220 |
+
cb: Optional[Callable[[int, int], Any]] = ...,
|
| 221 |
+
num_cb: int = ...,
|
| 222 |
+
torrent: bool = ...,
|
| 223 |
+
version_id: Optional[Any] = ...,
|
| 224 |
+
response_headers: Optional[Dict[Text, Text]] = ...,
|
| 225 |
+
*,
|
| 226 |
+
encoding: Text,
|
| 227 |
+
) -> Text: ...
|
| 228 |
+
def add_email_grant(self, permission, email_address, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 229 |
+
def add_user_grant(
|
| 230 |
+
self, permission, user_id, headers: Optional[Dict[Text, Text]] = ..., display_name: Optional[Any] = ...
|
| 231 |
+
): ...
|
| 232 |
+
def set_remote_metadata(self, metadata_plus, metadata_minus, preserve_acl, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 233 |
+
def restore(self, days, headers: Optional[Dict[Text, Text]] = ...): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/s3/keyfile.pyi
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any
|
| 2 |
+
|
| 3 |
+
class KeyFile:
|
| 4 |
+
key: Any
|
| 5 |
+
location: int
|
| 6 |
+
closed: bool
|
| 7 |
+
softspace: int
|
| 8 |
+
mode: str
|
| 9 |
+
encoding: str
|
| 10 |
+
errors: str
|
| 11 |
+
newlines: str
|
| 12 |
+
name: Any
|
| 13 |
+
def __init__(self, key) -> None: ...
|
| 14 |
+
def tell(self): ...
|
| 15 |
+
def seek(self, pos, whence: Any = ...): ...
|
| 16 |
+
def read(self, size): ...
|
| 17 |
+
def close(self): ...
|
| 18 |
+
def isatty(self): ...
|
| 19 |
+
def getkey(self): ...
|
| 20 |
+
def write(self, buf): ...
|
| 21 |
+
def fileno(self): ...
|
| 22 |
+
def flush(self): ...
|
| 23 |
+
def next(self): ...
|
| 24 |
+
def readinto(self): ...
|
| 25 |
+
def readline(self): ...
|
| 26 |
+
def readlines(self): ...
|
| 27 |
+
def truncate(self): ...
|
| 28 |
+
def writelines(self): ...
|
| 29 |
+
def xreadlines(self): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/s3/lifecycle.pyi
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, List, Optional
|
| 2 |
+
|
| 3 |
+
class Rule:
|
| 4 |
+
id: Any
|
| 5 |
+
prefix: Any
|
| 6 |
+
status: Any
|
| 7 |
+
expiration: Any
|
| 8 |
+
transition: Any
|
| 9 |
+
def __init__(
|
| 10 |
+
self,
|
| 11 |
+
id: Optional[Any] = ...,
|
| 12 |
+
prefix: Optional[Any] = ...,
|
| 13 |
+
status: Optional[Any] = ...,
|
| 14 |
+
expiration: Optional[Any] = ...,
|
| 15 |
+
transition: Optional[Any] = ...,
|
| 16 |
+
) -> None: ...
|
| 17 |
+
def startElement(self, name, attrs, connection): ...
|
| 18 |
+
def endElement(self, name, value, connection): ...
|
| 19 |
+
def to_xml(self): ...
|
| 20 |
+
|
| 21 |
+
class Expiration:
|
| 22 |
+
days: Any
|
| 23 |
+
date: Any
|
| 24 |
+
def __init__(self, days: Optional[Any] = ..., date: Optional[Any] = ...) -> None: ...
|
| 25 |
+
def startElement(self, name, attrs, connection): ...
|
| 26 |
+
def endElement(self, name, value, connection): ...
|
| 27 |
+
def to_xml(self): ...
|
| 28 |
+
|
| 29 |
+
class Transition:
|
| 30 |
+
days: Any
|
| 31 |
+
date: Any
|
| 32 |
+
storage_class: Any
|
| 33 |
+
def __init__(self, days: Optional[Any] = ..., date: Optional[Any] = ..., storage_class: Optional[Any] = ...) -> None: ...
|
| 34 |
+
def to_xml(self): ...
|
| 35 |
+
|
| 36 |
+
class Transitions(List[Transition]):
|
| 37 |
+
transition_properties: int
|
| 38 |
+
current_transition_property: int
|
| 39 |
+
temp_days: Any
|
| 40 |
+
temp_date: Any
|
| 41 |
+
temp_storage_class: Any
|
| 42 |
+
def __init__(self) -> None: ...
|
| 43 |
+
def startElement(self, name, attrs, connection): ...
|
| 44 |
+
def endElement(self, name, value, connection): ...
|
| 45 |
+
def to_xml(self): ...
|
| 46 |
+
def add_transition(self, days: Optional[Any] = ..., date: Optional[Any] = ..., storage_class: Optional[Any] = ...): ...
|
| 47 |
+
@property
|
| 48 |
+
def days(self): ...
|
| 49 |
+
@property
|
| 50 |
+
def date(self): ...
|
| 51 |
+
@property
|
| 52 |
+
def storage_class(self): ...
|
| 53 |
+
|
| 54 |
+
class Lifecycle(List[Rule]):
|
| 55 |
+
def startElement(self, name, attrs, connection): ...
|
| 56 |
+
def endElement(self, name, value, connection): ...
|
| 57 |
+
def to_xml(self): ...
|
| 58 |
+
def add_rule(
|
| 59 |
+
self,
|
| 60 |
+
id: Optional[Any] = ...,
|
| 61 |
+
prefix: str = ...,
|
| 62 |
+
status: str = ...,
|
| 63 |
+
expiration: Optional[Any] = ...,
|
| 64 |
+
transition: Optional[Any] = ...,
|
| 65 |
+
): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/s3/multidelete.pyi
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Optional
|
| 2 |
+
|
| 3 |
+
class Deleted:
|
| 4 |
+
key: Any
|
| 5 |
+
version_id: Any
|
| 6 |
+
delete_marker: Any
|
| 7 |
+
delete_marker_version_id: Any
|
| 8 |
+
def __init__(
|
| 9 |
+
self,
|
| 10 |
+
key: Optional[Any] = ...,
|
| 11 |
+
version_id: Optional[Any] = ...,
|
| 12 |
+
delete_marker: bool = ...,
|
| 13 |
+
delete_marker_version_id: Optional[Any] = ...,
|
| 14 |
+
) -> None: ...
|
| 15 |
+
def startElement(self, name, attrs, connection): ...
|
| 16 |
+
def endElement(self, name, value, connection): ...
|
| 17 |
+
|
| 18 |
+
class Error:
|
| 19 |
+
key: Any
|
| 20 |
+
version_id: Any
|
| 21 |
+
code: Any
|
| 22 |
+
message: Any
|
| 23 |
+
def __init__(
|
| 24 |
+
self, key: Optional[Any] = ..., version_id: Optional[Any] = ..., code: Optional[Any] = ..., message: Optional[Any] = ...
|
| 25 |
+
) -> None: ...
|
| 26 |
+
def startElement(self, name, attrs, connection): ...
|
| 27 |
+
def endElement(self, name, value, connection): ...
|
| 28 |
+
|
| 29 |
+
class MultiDeleteResult:
|
| 30 |
+
bucket: Any
|
| 31 |
+
deleted: Any
|
| 32 |
+
errors: Any
|
| 33 |
+
def __init__(self, bucket: Optional[Any] = ...) -> None: ...
|
| 34 |
+
def startElement(self, name, attrs, connection): ...
|
| 35 |
+
def endElement(self, name, value, connection): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/s3/multipart.pyi
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Optional
|
| 2 |
+
|
| 3 |
+
class CompleteMultiPartUpload:
|
| 4 |
+
bucket: Any
|
| 5 |
+
location: Any
|
| 6 |
+
bucket_name: Any
|
| 7 |
+
key_name: Any
|
| 8 |
+
etag: Any
|
| 9 |
+
version_id: Any
|
| 10 |
+
encrypted: Any
|
| 11 |
+
def __init__(self, bucket: Optional[Any] = ...) -> None: ...
|
| 12 |
+
def startElement(self, name, attrs, connection): ...
|
| 13 |
+
def endElement(self, name, value, connection): ...
|
| 14 |
+
|
| 15 |
+
class Part:
|
| 16 |
+
bucket: Any
|
| 17 |
+
part_number: Any
|
| 18 |
+
last_modified: Any
|
| 19 |
+
etag: Any
|
| 20 |
+
size: Any
|
| 21 |
+
def __init__(self, bucket: Optional[Any] = ...) -> None: ...
|
| 22 |
+
def startElement(self, name, attrs, connection): ...
|
| 23 |
+
def endElement(self, name, value, connection): ...
|
| 24 |
+
|
| 25 |
+
def part_lister(mpupload, part_number_marker: Optional[Any] = ...): ...
|
| 26 |
+
|
| 27 |
+
class MultiPartUpload:
|
| 28 |
+
bucket: Any
|
| 29 |
+
bucket_name: Any
|
| 30 |
+
key_name: Any
|
| 31 |
+
id: Any
|
| 32 |
+
initiator: Any
|
| 33 |
+
owner: Any
|
| 34 |
+
storage_class: Any
|
| 35 |
+
initiated: Any
|
| 36 |
+
part_number_marker: Any
|
| 37 |
+
next_part_number_marker: Any
|
| 38 |
+
max_parts: Any
|
| 39 |
+
is_truncated: bool
|
| 40 |
+
def __init__(self, bucket: Optional[Any] = ...) -> None: ...
|
| 41 |
+
def __iter__(self): ...
|
| 42 |
+
def to_xml(self): ...
|
| 43 |
+
def startElement(self, name, attrs, connection): ...
|
| 44 |
+
def endElement(self, name, value, connection): ...
|
| 45 |
+
def get_all_parts(
|
| 46 |
+
self, max_parts: Optional[Any] = ..., part_number_marker: Optional[Any] = ..., encoding_type: Optional[Any] = ...
|
| 47 |
+
): ...
|
| 48 |
+
def upload_part_from_file(
|
| 49 |
+
self,
|
| 50 |
+
fp,
|
| 51 |
+
part_num,
|
| 52 |
+
headers: Optional[Any] = ...,
|
| 53 |
+
replace: bool = ...,
|
| 54 |
+
cb: Optional[Any] = ...,
|
| 55 |
+
num_cb: int = ...,
|
| 56 |
+
md5: Optional[Any] = ...,
|
| 57 |
+
size: Optional[Any] = ...,
|
| 58 |
+
): ...
|
| 59 |
+
def copy_part_from_key(
|
| 60 |
+
self,
|
| 61 |
+
src_bucket_name,
|
| 62 |
+
src_key_name,
|
| 63 |
+
part_num,
|
| 64 |
+
start: Optional[Any] = ...,
|
| 65 |
+
end: Optional[Any] = ...,
|
| 66 |
+
src_version_id: Optional[Any] = ...,
|
| 67 |
+
headers: Optional[Any] = ...,
|
| 68 |
+
): ...
|
| 69 |
+
def complete_upload(self): ...
|
| 70 |
+
def cancel_upload(self): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/s3/prefix.pyi
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Optional
|
| 2 |
+
|
| 3 |
+
class Prefix:
|
| 4 |
+
bucket: Any
|
| 5 |
+
name: Any
|
| 6 |
+
def __init__(self, bucket: Optional[Any] = ..., name: Optional[Any] = ...) -> None: ...
|
| 7 |
+
def startElement(self, name, attrs, connection): ...
|
| 8 |
+
def endElement(self, name, value, connection): ...
|
| 9 |
+
@property
|
| 10 |
+
def provider(self): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/s3/tagging.pyi
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, List, Optional
|
| 2 |
+
|
| 3 |
+
class Tag:
|
| 4 |
+
key: Any
|
| 5 |
+
value: Any
|
| 6 |
+
def __init__(self, key: Optional[Any] = ..., value: Optional[Any] = ...) -> None: ...
|
| 7 |
+
def startElement(self, name, attrs, connection): ...
|
| 8 |
+
def endElement(self, name, value, connection): ...
|
| 9 |
+
def to_xml(self): ...
|
| 10 |
+
def __eq__(self, other): ...
|
| 11 |
+
|
| 12 |
+
class TagSet(List[Tag]):
|
| 13 |
+
def startElement(self, name, attrs, connection): ...
|
| 14 |
+
def endElement(self, name, value, connection): ...
|
| 15 |
+
def add_tag(self, key, value): ...
|
| 16 |
+
def to_xml(self): ...
|
| 17 |
+
|
| 18 |
+
class Tags(List[TagSet]):
|
| 19 |
+
def startElement(self, name, attrs, connection): ...
|
| 20 |
+
def endElement(self, name, value, connection): ...
|
| 21 |
+
def to_xml(self): ...
|
| 22 |
+
def add_tag_set(self, tag_set): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/s3/user.pyi
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Optional
|
| 2 |
+
|
| 3 |
+
class User:
|
| 4 |
+
type: Any
|
| 5 |
+
id: Any
|
| 6 |
+
display_name: Any
|
| 7 |
+
def __init__(self, parent: Optional[Any] = ..., id: str = ..., display_name: str = ...) -> None: ...
|
| 8 |
+
def startElement(self, name, attrs, connection): ...
|
| 9 |
+
def endElement(self, name, value, connection): ...
|
| 10 |
+
def to_xml(self, element_name: str = ...): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/boto/s3/website.pyi
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, List, Optional
|
| 2 |
+
|
| 3 |
+
def tag(key, value): ...
|
| 4 |
+
|
| 5 |
+
class WebsiteConfiguration:
|
| 6 |
+
suffix: Any
|
| 7 |
+
error_key: Any
|
| 8 |
+
redirect_all_requests_to: Any
|
| 9 |
+
routing_rules: Any
|
| 10 |
+
def __init__(
|
| 11 |
+
self,
|
| 12 |
+
suffix: Optional[Any] = ...,
|
| 13 |
+
error_key: Optional[Any] = ...,
|
| 14 |
+
redirect_all_requests_to: Optional[Any] = ...,
|
| 15 |
+
routing_rules: Optional[Any] = ...,
|
| 16 |
+
) -> None: ...
|
| 17 |
+
def startElement(self, name, attrs, connection): ...
|
| 18 |
+
def endElement(self, name, value, connection): ...
|
| 19 |
+
def to_xml(self): ...
|
| 20 |
+
|
| 21 |
+
class _XMLKeyValue:
|
| 22 |
+
translator: Any
|
| 23 |
+
container: Any
|
| 24 |
+
def __init__(self, translator, container: Optional[Any] = ...) -> None: ...
|
| 25 |
+
def startElement(self, name, attrs, connection): ...
|
| 26 |
+
def endElement(self, name, value, connection): ...
|
| 27 |
+
def to_xml(self): ...
|
| 28 |
+
|
| 29 |
+
class RedirectLocation(_XMLKeyValue):
|
| 30 |
+
TRANSLATOR: Any
|
| 31 |
+
hostname: Any
|
| 32 |
+
protocol: Any
|
| 33 |
+
def __init__(self, hostname: Optional[Any] = ..., protocol: Optional[Any] = ...) -> None: ...
|
| 34 |
+
def to_xml(self): ...
|
| 35 |
+
|
| 36 |
+
class RoutingRules(List[RoutingRule]):
|
| 37 |
+
def add_rule(self, rule: RoutingRule) -> RoutingRules: ...
|
| 38 |
+
def startElement(self, name, attrs, connection): ...
|
| 39 |
+
def endElement(self, name, value, connection): ...
|
| 40 |
+
def to_xml(self): ...
|
| 41 |
+
|
| 42 |
+
class RoutingRule:
|
| 43 |
+
condition: Any
|
| 44 |
+
redirect: Any
|
| 45 |
+
def __init__(self, condition: Optional[Any] = ..., redirect: Optional[Any] = ...) -> None: ...
|
| 46 |
+
def startElement(self, name, attrs, connection): ...
|
| 47 |
+
def endElement(self, name, value, connection): ...
|
| 48 |
+
def to_xml(self): ...
|
| 49 |
+
@classmethod
|
| 50 |
+
def when(cls, key_prefix: Optional[Any] = ..., http_error_code: Optional[Any] = ...): ...
|
| 51 |
+
def then_redirect(
|
| 52 |
+
self,
|
| 53 |
+
hostname: Optional[Any] = ...,
|
| 54 |
+
protocol: Optional[Any] = ...,
|
| 55 |
+
replace_key: Optional[Any] = ...,
|
| 56 |
+
replace_key_prefix: Optional[Any] = ...,
|
| 57 |
+
http_redirect_code: Optional[Any] = ...,
|
| 58 |
+
): ...
|
| 59 |
+
|
| 60 |
+
class Condition(_XMLKeyValue):
|
| 61 |
+
TRANSLATOR: Any
|
| 62 |
+
key_prefix: Any
|
| 63 |
+
http_error_code: Any
|
| 64 |
+
def __init__(self, key_prefix: Optional[Any] = ..., http_error_code: Optional[Any] = ...) -> None: ...
|
| 65 |
+
def to_xml(self): ...
|
| 66 |
+
|
| 67 |
+
class Redirect(_XMLKeyValue):
|
| 68 |
+
TRANSLATOR: Any
|
| 69 |
+
hostname: Any
|
| 70 |
+
protocol: Any
|
| 71 |
+
replace_key: Any
|
| 72 |
+
replace_key_prefix: Any
|
| 73 |
+
http_redirect_code: Any
|
| 74 |
+
def __init__(
|
| 75 |
+
self,
|
| 76 |
+
hostname: Optional[Any] = ...,
|
| 77 |
+
protocol: Optional[Any] = ...,
|
| 78 |
+
replace_key: Optional[Any] = ...,
|
| 79 |
+
replace_key_prefix: Optional[Any] = ...,
|
| 80 |
+
http_redirect_code: Optional[Any] = ...,
|
| 81 |
+
) -> None: ...
|
| 82 |
+
def to_xml(self): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/__init__.pyi
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from .core import Markdown as Markdown, markdown as markdown, markdownFromFile as markdownFromFile
|
| 2 |
+
from .extensions import Extension as Extension
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/__meta__.pyi
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any
|
| 2 |
+
|
| 3 |
+
__version_info__: Any
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/blockparser.pyi
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any
|
| 2 |
+
|
| 3 |
+
class State(list):
|
| 4 |
+
def set(self, state) -> None: ...
|
| 5 |
+
def reset(self) -> None: ...
|
| 6 |
+
def isstate(self, state): ...
|
| 7 |
+
|
| 8 |
+
class BlockParser:
|
| 9 |
+
blockprocessors: Any
|
| 10 |
+
state: Any
|
| 11 |
+
md: Any
|
| 12 |
+
def __init__(self, md) -> None: ...
|
| 13 |
+
@property
|
| 14 |
+
def markdown(self): ...
|
| 15 |
+
root: Any
|
| 16 |
+
def parseDocument(self, lines): ...
|
| 17 |
+
def parseChunk(self, parent, text) -> None: ...
|
| 18 |
+
def parseBlocks(self, parent, blocks) -> None: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/blockprocessors.pyi
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Pattern
|
| 2 |
+
|
| 3 |
+
logger: Any
|
| 4 |
+
|
| 5 |
+
def build_block_parser(md, **kwargs): ...
|
| 6 |
+
|
| 7 |
+
class BlockProcessor:
|
| 8 |
+
parser: Any
|
| 9 |
+
tab_length: Any
|
| 10 |
+
def __init__(self, parser) -> None: ...
|
| 11 |
+
def lastChild(self, parent): ...
|
| 12 |
+
def detab(self, text): ...
|
| 13 |
+
def looseDetab(self, text, level: int = ...): ...
|
| 14 |
+
def test(self, parent, block) -> None: ...
|
| 15 |
+
def run(self, parent, blocks) -> None: ...
|
| 16 |
+
|
| 17 |
+
class ListIndentProcessor(BlockProcessor):
|
| 18 |
+
ITEM_TYPES: Any
|
| 19 |
+
LIST_TYPES: Any
|
| 20 |
+
INDENT_RE: Pattern
|
| 21 |
+
def __init__(self, *args) -> None: ...
|
| 22 |
+
def create_item(self, parent, block) -> None: ...
|
| 23 |
+
def get_level(self, parent, block): ...
|
| 24 |
+
|
| 25 |
+
class CodeBlockProcessor(BlockProcessor): ...
|
| 26 |
+
|
| 27 |
+
class BlockQuoteProcessor(BlockProcessor):
|
| 28 |
+
RE: Pattern
|
| 29 |
+
def clean(self, line): ...
|
| 30 |
+
|
| 31 |
+
class OListProcessor(BlockProcessor):
|
| 32 |
+
TAG: str = ...
|
| 33 |
+
STARTSWITH: str = ...
|
| 34 |
+
LAZY_OL: bool = ...
|
| 35 |
+
SIBLING_TAGS: Any
|
| 36 |
+
RE: Pattern
|
| 37 |
+
CHILD_RE: Pattern
|
| 38 |
+
INDENT_RE: Pattern
|
| 39 |
+
def __init__(self, parser) -> None: ...
|
| 40 |
+
def get_items(self, block): ...
|
| 41 |
+
|
| 42 |
+
class UListProcessor(OListProcessor):
|
| 43 |
+
TAG: str = ...
|
| 44 |
+
RE: Pattern
|
| 45 |
+
def __init__(self, parser) -> None: ...
|
| 46 |
+
|
| 47 |
+
class HashHeaderProcessor(BlockProcessor):
|
| 48 |
+
RE: Pattern
|
| 49 |
+
|
| 50 |
+
class SetextHeaderProcessor(BlockProcessor):
|
| 51 |
+
RE: Pattern
|
| 52 |
+
|
| 53 |
+
class HRProcessor(BlockProcessor):
|
| 54 |
+
RE: str = ...
|
| 55 |
+
SEARCH_RE: Pattern
|
| 56 |
+
match: Any
|
| 57 |
+
|
| 58 |
+
class EmptyBlockProcessor(BlockProcessor): ...
|
| 59 |
+
class ParagraphProcessor(BlockProcessor): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/core.pyi
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, BinaryIO, Callable, ClassVar, Dict, List, Mapping, Optional, Sequence, Text, TextIO, Union
|
| 2 |
+
from typing_extensions import Literal
|
| 3 |
+
from xml.etree.ElementTree import Element
|
| 4 |
+
|
| 5 |
+
from .blockparser import BlockParser
|
| 6 |
+
from .extensions import Extension
|
| 7 |
+
from .util import HtmlStash, Registry
|
| 8 |
+
|
| 9 |
+
class Markdown:
|
| 10 |
+
preprocessors: Registry
|
| 11 |
+
inlinePatterns: Registry
|
| 12 |
+
treeprocessors: Registry
|
| 13 |
+
postprocessors: Registry
|
| 14 |
+
parser: BlockParser
|
| 15 |
+
htmlStash: HtmlStash
|
| 16 |
+
output_formats: ClassVar[Dict[Literal["xhtml", "html"], Callable[[Element], Text]]]
|
| 17 |
+
output_format: Literal["xhtml", "html"]
|
| 18 |
+
serializer: Callable[[Element], Text]
|
| 19 |
+
tab_length: int
|
| 20 |
+
block_level_elements: List[str]
|
| 21 |
+
def __init__(
|
| 22 |
+
self,
|
| 23 |
+
*,
|
| 24 |
+
extensions: Optional[Sequence[Union[str, Extension]]] = ...,
|
| 25 |
+
extension_configs: Optional[Mapping[str, Mapping[str, Any]]] = ...,
|
| 26 |
+
output_format: Optional[Literal["xhtml", "html"]] = ...,
|
| 27 |
+
tab_length: Optional[int] = ...,
|
| 28 |
+
) -> None: ...
|
| 29 |
+
def build_parser(self) -> Markdown: ...
|
| 30 |
+
def registerExtensions(
|
| 31 |
+
self, extensions: Sequence[Union[Extension, str]], configs: Mapping[str, Mapping[str, Any]]
|
| 32 |
+
) -> Markdown: ...
|
| 33 |
+
def build_extension(self, ext_name: Text, configs: Mapping[str, str]) -> Extension: ...
|
| 34 |
+
def registerExtension(self, extension: Extension) -> Markdown: ...
|
| 35 |
+
def reset(self: Markdown) -> Markdown: ...
|
| 36 |
+
def set_output_format(self, format: Literal["xhtml", "html"]) -> Markdown: ...
|
| 37 |
+
def is_block_level(self, tag: str) -> bool: ...
|
| 38 |
+
def convert(self, source: Text) -> Text: ...
|
| 39 |
+
def convertFile(
|
| 40 |
+
self,
|
| 41 |
+
input: Optional[Union[str, TextIO, BinaryIO]] = ...,
|
| 42 |
+
output: Optional[Union[str, TextIO, BinaryIO]] = ...,
|
| 43 |
+
encoding: Optional[str] = ...,
|
| 44 |
+
) -> Markdown: ...
|
| 45 |
+
|
| 46 |
+
def markdown(
|
| 47 |
+
text: Text,
|
| 48 |
+
*,
|
| 49 |
+
extensions: Optional[Sequence[Union[str, Extension]]] = ...,
|
| 50 |
+
extension_configs: Optional[Mapping[str, Mapping[str, Any]]] = ...,
|
| 51 |
+
output_format: Optional[Literal["xhtml", "html"]] = ...,
|
| 52 |
+
tab_length: Optional[int] = ...,
|
| 53 |
+
) -> Text: ...
|
| 54 |
+
def markdownFromFile(
|
| 55 |
+
*,
|
| 56 |
+
input: Optional[Union[str, TextIO, BinaryIO]] = ...,
|
| 57 |
+
output: Optional[Union[str, TextIO, BinaryIO]] = ...,
|
| 58 |
+
encoding: Optional[str] = ...,
|
| 59 |
+
extensions: Optional[Sequence[Union[str, Extension]]] = ...,
|
| 60 |
+
extension_configs: Optional[Mapping[str, Mapping[str, Any]]] = ...,
|
| 61 |
+
output_format: Optional[Literal["xhtml", "html"]] = ...,
|
| 62 |
+
tab_length: Optional[int] = ...,
|
| 63 |
+
) -> None: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/__init__.pyi
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Dict, List, Mapping, Tuple
|
| 2 |
+
|
| 3 |
+
from markdown.core import Markdown
|
| 4 |
+
|
| 5 |
+
class Extension:
|
| 6 |
+
config: Mapping[str, List[Any]] = ...
|
| 7 |
+
def __init__(self, **kwargs: Any) -> None: ...
|
| 8 |
+
def getConfig(self, key: str, default: Any = ...) -> Any: ...
|
| 9 |
+
def getConfigs(self) -> Dict[str, Any]: ...
|
| 10 |
+
def getConfigInfo(self) -> List[Tuple[str, str]]: ...
|
| 11 |
+
def setConfig(self, key: str, value: Any) -> None: ...
|
| 12 |
+
def setConfigs(self, items: Mapping[str, Any]) -> None: ...
|
| 13 |
+
def extendMarkdown(self, md: Markdown) -> None: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/abbr.pyi
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Pattern
|
| 2 |
+
|
| 3 |
+
from markdown.blockprocessors import BlockProcessor
|
| 4 |
+
from markdown.extensions import Extension
|
| 5 |
+
from markdown.inlinepatterns import InlineProcessor
|
| 6 |
+
|
| 7 |
+
ABBR_REF_RE: Pattern
|
| 8 |
+
|
| 9 |
+
class AbbrExtension(Extension): ...
|
| 10 |
+
class AbbrPreprocessor(BlockProcessor): ...
|
| 11 |
+
|
| 12 |
+
class AbbrInlineProcessor(InlineProcessor):
|
| 13 |
+
title: Any
|
| 14 |
+
def __init__(self, pattern, title) -> None: ...
|
| 15 |
+
|
| 16 |
+
def makeExtension(**kwargs): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/admonition.pyi
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Pattern
|
| 2 |
+
|
| 3 |
+
from markdown.blockprocessors import BlockProcessor
|
| 4 |
+
from markdown.extensions import Extension
|
| 5 |
+
|
| 6 |
+
class AdmonitionExtension(Extension): ...
|
| 7 |
+
|
| 8 |
+
class AdmonitionProcessor(BlockProcessor):
|
| 9 |
+
CLASSNAME: str = ...
|
| 10 |
+
CLASSNAME_TITLE: str = ...
|
| 11 |
+
RE: Pattern
|
| 12 |
+
RE_SPACES: Any
|
| 13 |
+
def get_class_and_title(self, match): ...
|
| 14 |
+
|
| 15 |
+
def makeExtension(**kwargs): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/attr_list.pyi
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Pattern
|
| 2 |
+
|
| 3 |
+
from markdown.extensions import Extension
|
| 4 |
+
from markdown.treeprocessors import Treeprocessor
|
| 5 |
+
|
| 6 |
+
def get_attrs(str): ...
|
| 7 |
+
def isheader(elem): ...
|
| 8 |
+
|
| 9 |
+
class AttrListTreeprocessor(Treeprocessor):
|
| 10 |
+
BASE_RE: str = ...
|
| 11 |
+
HEADER_RE: Pattern
|
| 12 |
+
BLOCK_RE: Pattern
|
| 13 |
+
INLINE_RE: Pattern
|
| 14 |
+
NAME_RE: Pattern
|
| 15 |
+
def assign_attrs(self, elem, attrs) -> None: ...
|
| 16 |
+
def sanitize_name(self, name): ...
|
| 17 |
+
|
| 18 |
+
class AttrListExtension(Extension): ...
|
| 19 |
+
|
| 20 |
+
def makeExtension(**kwargs): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/codehilite.pyi
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Optional
|
| 2 |
+
|
| 3 |
+
from markdown.extensions import Extension
|
| 4 |
+
from markdown.treeprocessors import Treeprocessor
|
| 5 |
+
|
| 6 |
+
pygments: bool
|
| 7 |
+
|
| 8 |
+
def parse_hl_lines(expr): ...
|
| 9 |
+
|
| 10 |
+
class CodeHilite:
|
| 11 |
+
src: Any
|
| 12 |
+
lang: Any
|
| 13 |
+
linenums: Any
|
| 14 |
+
guess_lang: Any
|
| 15 |
+
css_class: Any
|
| 16 |
+
style: Any
|
| 17 |
+
noclasses: Any
|
| 18 |
+
tab_length: Any
|
| 19 |
+
hl_lines: Any
|
| 20 |
+
use_pygments: Any
|
| 21 |
+
def __init__(
|
| 22 |
+
self,
|
| 23 |
+
src: Optional[Any] = ...,
|
| 24 |
+
linenums: Optional[Any] = ...,
|
| 25 |
+
guess_lang: bool = ...,
|
| 26 |
+
css_class: str = ...,
|
| 27 |
+
lang: Optional[Any] = ...,
|
| 28 |
+
style: str = ...,
|
| 29 |
+
noclasses: bool = ...,
|
| 30 |
+
tab_length: int = ...,
|
| 31 |
+
hl_lines: Optional[Any] = ...,
|
| 32 |
+
use_pygments: bool = ...,
|
| 33 |
+
) -> None: ...
|
| 34 |
+
def hilite(self): ...
|
| 35 |
+
|
| 36 |
+
class HiliteTreeprocessor(Treeprocessor):
|
| 37 |
+
def code_unescape(self, text): ...
|
| 38 |
+
|
| 39 |
+
class CodeHiliteExtension(Extension):
|
| 40 |
+
def __init__(self, **kwargs) -> None: ...
|
| 41 |
+
|
| 42 |
+
def makeExtension(**kwargs): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/def_list.pyi
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Pattern
|
| 2 |
+
|
| 3 |
+
from markdown.blockprocessors import BlockProcessor, ListIndentProcessor
|
| 4 |
+
from markdown.extensions import Extension
|
| 5 |
+
|
| 6 |
+
class DefListProcessor(BlockProcessor):
|
| 7 |
+
RE: Pattern
|
| 8 |
+
NO_INDENT_RE: Pattern
|
| 9 |
+
|
| 10 |
+
class DefListIndentProcessor(ListIndentProcessor): ...
|
| 11 |
+
class DefListExtension(Extension): ...
|
| 12 |
+
|
| 13 |
+
def makeExtension(**kwargs): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/extra.pyi
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any
|
| 2 |
+
|
| 3 |
+
from markdown.extensions import Extension
|
| 4 |
+
|
| 5 |
+
extensions: Any
|
| 6 |
+
|
| 7 |
+
class ExtraExtension(Extension):
|
| 8 |
+
def __init__(self, **kwargs) -> None: ...
|
| 9 |
+
|
| 10 |
+
def makeExtension(**kwargs): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/fenced_code.pyi
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Pattern
|
| 2 |
+
|
| 3 |
+
from markdown.extensions import Extension
|
| 4 |
+
from markdown.preprocessors import Preprocessor
|
| 5 |
+
|
| 6 |
+
class FencedCodeExtension(Extension): ...
|
| 7 |
+
|
| 8 |
+
class FencedBlockPreprocessor(Preprocessor):
|
| 9 |
+
FENCED_BLOCK_RE: Pattern
|
| 10 |
+
CODE_WRAP: str = ...
|
| 11 |
+
LANG_TAG: str = ...
|
| 12 |
+
checked_for_codehilite: bool = ...
|
| 13 |
+
codehilite_conf: Any
|
| 14 |
+
def __init__(self, md) -> None: ...
|
| 15 |
+
|
| 16 |
+
def makeExtension(**kwargs): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/footnotes.pyi
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Pattern
|
| 2 |
+
|
| 3 |
+
from markdown.extensions import Extension
|
| 4 |
+
from markdown.inlinepatterns import InlineProcessor
|
| 5 |
+
from markdown.postprocessors import Postprocessor
|
| 6 |
+
from markdown.preprocessors import Preprocessor
|
| 7 |
+
from markdown.treeprocessors import Treeprocessor
|
| 8 |
+
|
| 9 |
+
FN_BACKLINK_TEXT: Any
|
| 10 |
+
NBSP_PLACEHOLDER: Any
|
| 11 |
+
DEF_RE: Pattern
|
| 12 |
+
TABBED_RE: Pattern
|
| 13 |
+
RE_REF_ID: Any
|
| 14 |
+
|
| 15 |
+
class FootnoteExtension(Extension):
|
| 16 |
+
unique_prefix: int = ...
|
| 17 |
+
found_refs: Any
|
| 18 |
+
used_refs: Any
|
| 19 |
+
def __init__(self, **kwargs) -> None: ...
|
| 20 |
+
parser: Any
|
| 21 |
+
md: Any
|
| 22 |
+
footnotes: Any
|
| 23 |
+
def reset(self) -> None: ...
|
| 24 |
+
def unique_ref(self, reference, found: bool = ...): ...
|
| 25 |
+
def findFootnotesPlaceholder(self, root): ...
|
| 26 |
+
def setFootnote(self, id, text) -> None: ...
|
| 27 |
+
def get_separator(self): ...
|
| 28 |
+
def makeFootnoteId(self, id): ...
|
| 29 |
+
def makeFootnoteRefId(self, id, found: bool = ...): ...
|
| 30 |
+
def makeFootnotesDiv(self, root): ...
|
| 31 |
+
|
| 32 |
+
class FootnotePreprocessor(Preprocessor):
|
| 33 |
+
footnotes: Any
|
| 34 |
+
def __init__(self, footnotes) -> None: ...
|
| 35 |
+
def detectTabbed(self, lines): ...
|
| 36 |
+
|
| 37 |
+
class FootnoteInlineProcessor(InlineProcessor):
|
| 38 |
+
footnotes: Any
|
| 39 |
+
def __init__(self, pattern, footnotes) -> None: ...
|
| 40 |
+
|
| 41 |
+
class FootnotePostTreeprocessor(Treeprocessor):
|
| 42 |
+
footnotes: Any
|
| 43 |
+
def __init__(self, footnotes) -> None: ...
|
| 44 |
+
def add_duplicates(self, li, duplicates) -> None: ...
|
| 45 |
+
def get_num_duplicates(self, li): ...
|
| 46 |
+
def handle_duplicates(self, parent) -> None: ...
|
| 47 |
+
offset: int = ...
|
| 48 |
+
|
| 49 |
+
class FootnoteTreeprocessor(Treeprocessor):
|
| 50 |
+
footnotes: Any
|
| 51 |
+
def __init__(self, footnotes) -> None: ...
|
| 52 |
+
|
| 53 |
+
class FootnotePostprocessor(Postprocessor):
|
| 54 |
+
footnotes: Any
|
| 55 |
+
def __init__(self, footnotes) -> None: ...
|
| 56 |
+
|
| 57 |
+
def makeExtension(**kwargs): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/legacy_attrs.pyi
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Pattern
|
| 2 |
+
|
| 3 |
+
from markdown.extensions import Extension
|
| 4 |
+
from markdown.treeprocessors import Treeprocessor
|
| 5 |
+
|
| 6 |
+
ATTR_RE: Pattern
|
| 7 |
+
|
| 8 |
+
class LegacyAttrs(Treeprocessor):
|
| 9 |
+
def handleAttributes(self, el, txt): ...
|
| 10 |
+
|
| 11 |
+
class LegacyAttrExtension(Extension): ...
|
| 12 |
+
|
| 13 |
+
def makeExtension(**kwargs): ...
|