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 +3 -0
- material/dataset/Datasets/Electron Microscopy Image Masks/TiO2_Masks_Manual_4connected/1908274_m.tif +3 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/bleach/sanitizer.pyi +34 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/cachetools/decorators.pyi +16 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/cachetools/lru.pyi +13 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/gflags.pyi +312 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/itsdangerous.pyi +184 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/__init__.pyi +45 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/_compat.pyi +36 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/_stringdefs.pyi +40 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/bccache.pyi +44 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/compiler.pyi +177 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/debug.pyi +37 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/defaults.pyi +22 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/exceptions.pyi +31 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/filters.pyi +56 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/lexer.pyi +117 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/loaders.pyi +80 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/meta.pyi +12 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/nodes.pyi +255 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/runtime.pyi +132 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/sandbox.pyi +35 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/utils.pyi +87 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/visitor.pyi +8 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markupsafe/__init__.pyi +55 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markupsafe/_compat.pyi +21 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markupsafe/_native.pyi +8 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markupsafe/_speedups.pyi +8 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vim/fault.pyi +7 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vim/option.pyi +9 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pymysql/constants/CLIENT.pyi +18 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pymysql/constants/COMMAND.pyi +22 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pymysql/constants/ER.pyi +471 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pymysql/constants/FIELD_TYPE.pyi +29 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pymysql/constants/SERVER_STATUS.pyi +10 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pymysql/constants/__init__.pyi +0 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/simplejson/__init__.pyi +12 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/simplejson/decoder.pyi +6 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/simplejson/encoder.pyi +9 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/simplejson/scanner.pyi +11 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/singledispatch.pyi +15 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/toml.pyi +19 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/werkzeug/_internal.pyi +26 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/werkzeug/_reloader.pyi +29 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/werkzeug/contrib/__init__.pyi +0 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/werkzeug/contrib/atom.pyi +50 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/werkzeug/contrib/cache.pyi +92 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/werkzeug/contrib/fixers.pyi +35 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/werkzeug/contrib/iterio.pyi +39 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/werkzeug/contrib/jsrouting.pyi +10 -0
.gitattributes
CHANGED
|
@@ -465,3 +465,6 @@ material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/matplotlib/m
|
|
| 465 |
material/dataset/Datasets/Electron[[:space:]]Microscopy[[:space:]]Image[[:space:]]Masks/TiO2_Masks_TSEM/Image_Registration/Input/1908292/1908292.tif filter=lfs diff=lfs merge=lfs -text
|
| 466 |
material/dataset/Datasets/Electron[[:space:]]Microscopy[[:space:]]Image[[:space:]]Masks/TiO2_Masks_Manual_4connected/1908250_m.tif filter=lfs diff=lfs merge=lfs -text
|
| 467 |
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/matplotlib/mpl-data/fonts/ttf/STIXGeneralBol.ttf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 465 |
material/dataset/Datasets/Electron[[:space:]]Microscopy[[:space:]]Image[[:space:]]Masks/TiO2_Masks_TSEM/Image_Registration/Input/1908292/1908292.tif filter=lfs diff=lfs merge=lfs -text
|
| 466 |
material/dataset/Datasets/Electron[[:space:]]Microscopy[[:space:]]Image[[:space:]]Masks/TiO2_Masks_Manual_4connected/1908250_m.tif filter=lfs diff=lfs merge=lfs -text
|
| 467 |
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/matplotlib/mpl-data/fonts/ttf/STIXGeneralBol.ttf filter=lfs diff=lfs merge=lfs -text
|
| 468 |
+
material/dataset/Datasets/Electron[[:space:]]Microscopy[[:space:]]Image[[:space:]]Masks/TiO2_Masks_Manual_4connected/1908274_m.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
|
material/dataset/Datasets/Electron Microscopy Image Masks/TiO2_Masks_Manual_4connected/1908274_m.tif
ADDED
|
|
Git LFS Details
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/bleach/sanitizer.pyi
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Callable, Container, Dict, Iterable, List, Optional, Pattern, Text, Union
|
| 2 |
+
|
| 3 |
+
ALLOWED_TAGS: List[Text]
|
| 4 |
+
ALLOWED_ATTRIBUTES: Dict[Text, List[Text]]
|
| 5 |
+
ALLOWED_STYLES: List[Text]
|
| 6 |
+
ALLOWED_PROTOCOLS: List[Text]
|
| 7 |
+
|
| 8 |
+
INVISIBLE_CHARACTERS: Text
|
| 9 |
+
INVISIBLE_CHARACTERS_RE: Pattern[Text]
|
| 10 |
+
INVISIBLE_REPLACEMENT_CHAR: Text
|
| 11 |
+
|
| 12 |
+
# A html5lib Filter class
|
| 13 |
+
_Filter = Any
|
| 14 |
+
|
| 15 |
+
class Cleaner(object):
|
| 16 |
+
def __init__(
|
| 17 |
+
self,
|
| 18 |
+
tags: Container[Text] = ...,
|
| 19 |
+
attributes: Any = ...,
|
| 20 |
+
styles: Container[Text] = ...,
|
| 21 |
+
protocols: Container[Text] = ...,
|
| 22 |
+
strip: bool = ...,
|
| 23 |
+
strip_comments: bool = ...,
|
| 24 |
+
filters: Optional[Iterable[_Filter]] = ...,
|
| 25 |
+
) -> None: ...
|
| 26 |
+
def clean(self, text: Text) -> Text: ...
|
| 27 |
+
|
| 28 |
+
_AttributeFilter = Callable[[Text, Text, Text], bool]
|
| 29 |
+
_AttributeDict = Dict[Text, Union[Container[Text], _AttributeFilter]]
|
| 30 |
+
|
| 31 |
+
def attribute_filter_factory(attributes: Union[_AttributeFilter, _AttributeDict, Container[Text]]) -> _AttributeFilter: ...
|
| 32 |
+
|
| 33 |
+
class BleachSanitizerFilter(object): # TODO: derives from html5lib.sanitizer.Filter
|
| 34 |
+
def __getattr__(self, item: str) -> Any: ... # incomplete
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/cachetools/decorators.pyi
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Callable, ContextManager, MutableMapping, Optional, TypeVar
|
| 2 |
+
|
| 3 |
+
_KT = TypeVar("_KT")
|
| 4 |
+
_VT = TypeVar("_VT")
|
| 5 |
+
_T = TypeVar("_T", bound=Callable[..., Any])
|
| 6 |
+
_T_co = TypeVar("_T_co", covariant=True)
|
| 7 |
+
_T_self = TypeVar("_T_self")
|
| 8 |
+
|
| 9 |
+
def cached(
|
| 10 |
+
cache: Optional[MutableMapping[_KT, _VT]], key: Callable[..., _KT] = ..., lock: Optional[ContextManager[_T_co]] = ...
|
| 11 |
+
) -> Callable[[_T], _T]: ...
|
| 12 |
+
def cachedmethod(
|
| 13 |
+
cache: Callable[[_T_self], Optional[MutableMapping[_KT, _VT]]],
|
| 14 |
+
key: Callable[..., _KT] = ...,
|
| 15 |
+
lock: Optional[ContextManager[_T_co]] = ...,
|
| 16 |
+
) -> Callable[[_T], _T]: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/cachetools/lru.pyi
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Callable, Iterator, Optional, TypeVar
|
| 2 |
+
|
| 3 |
+
from .cache import Cache as Cache
|
| 4 |
+
|
| 5 |
+
_KT = TypeVar("_KT")
|
| 6 |
+
_VT = TypeVar("_VT")
|
| 7 |
+
|
| 8 |
+
class LRUCache(Cache[_KT, _VT]):
|
| 9 |
+
def __init__(self, maxsize: int, getsizeof: Optional[Callable[[_VT], int]] = ...) -> None: ...
|
| 10 |
+
def __getitem__(self, key: _KT, cache_getitem: Callable[[_KT], _VT] = ...) -> _VT: ...
|
| 11 |
+
def __setitem__(self, key: _KT, value: _VT, cache_setitem: Callable[[_KT, _VT], None] = ...) -> None: ...
|
| 12 |
+
def __delitem__(self, key: _KT, cache_delitem: Callable[[_KT], None] = ...) -> None: ...
|
| 13 |
+
def __iter__(self) -> Iterator[_KT]: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/gflags.pyi
ADDED
|
@@ -0,0 +1,312 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from types import ModuleType
|
| 2 |
+
from typing import IO, Any, Callable, Dict, Iterable, List, Optional, Sequence, Text, Union
|
| 3 |
+
|
| 4 |
+
class Error(Exception): ...
|
| 5 |
+
|
| 6 |
+
FlagsError = Error
|
| 7 |
+
|
| 8 |
+
class DuplicateFlag(FlagsError): ...
|
| 9 |
+
class CantOpenFlagFileError(FlagsError): ...
|
| 10 |
+
class DuplicateFlagCannotPropagateNoneToSwig(DuplicateFlag): ...
|
| 11 |
+
|
| 12 |
+
class DuplicateFlagError(DuplicateFlag):
|
| 13 |
+
def __init__(self, flagname: str, flag_values: FlagValues, other_flag_values: FlagValues = ...) -> None: ...
|
| 14 |
+
|
| 15 |
+
class IllegalFlagValueError(FlagsError): ...
|
| 16 |
+
|
| 17 |
+
IllegalFlagValue = IllegalFlagValueError
|
| 18 |
+
|
| 19 |
+
class UnrecognizedFlag(FlagsError): ...
|
| 20 |
+
|
| 21 |
+
class UnrecognizedFlagError(UnrecognizedFlag):
|
| 22 |
+
def __init__(self, flagname: str, flagvalue: str = ...) -> None: ...
|
| 23 |
+
|
| 24 |
+
def get_help_width() -> int: ...
|
| 25 |
+
|
| 26 |
+
GetHelpWidth = get_help_width
|
| 27 |
+
|
| 28 |
+
def text_wrap(text: str, length: int = ..., indent: str = ..., firstline_indent: str = ..., tabs: str = ...) -> str: ...
|
| 29 |
+
|
| 30 |
+
TextWrap = text_wrap
|
| 31 |
+
|
| 32 |
+
def doc_to_help(doc: str) -> str: ...
|
| 33 |
+
|
| 34 |
+
DocToHelp = doc_to_help
|
| 35 |
+
|
| 36 |
+
class FlagValues:
|
| 37 |
+
def __init__(self) -> None: ...
|
| 38 |
+
def UseGnuGetOpt(self, use_gnu_getopt: bool = ...) -> None: ...
|
| 39 |
+
def is_gnu_getopt(self) -> bool: ...
|
| 40 |
+
IsGnuGetOpt = is_gnu_getopt
|
| 41 |
+
# TODO dict type
|
| 42 |
+
def FlagDict(self) -> Dict[Any, Any]: ...
|
| 43 |
+
def flags_by_module_dict(self) -> Dict[str, List[Flag]]: ...
|
| 44 |
+
FlagsByModuleDict = flags_by_module_dict
|
| 45 |
+
def flags_by_module_id_dict(self) -> Dict[int, List[Flag]]: ...
|
| 46 |
+
FlagsByModuleIdDict = flags_by_module_id_dict
|
| 47 |
+
def key_flags_by_module_dict(self) -> Dict[str, List[Flag]]: ...
|
| 48 |
+
KeyFlagsByModuleDict = key_flags_by_module_dict
|
| 49 |
+
def find_module_defining_flag(self, flagname: str, default: str = ...) -> str: ...
|
| 50 |
+
FindModuleDefiningFlag = find_module_defining_flag
|
| 51 |
+
def find_module_id_defining_flag(self, flagname: str, default: int = ...) -> int: ...
|
| 52 |
+
FindModuleIdDefiningFlag = find_module_id_defining_flag
|
| 53 |
+
def append_flag_values(self, flag_values: FlagValues) -> None: ...
|
| 54 |
+
AppendFlagValues = append_flag_values
|
| 55 |
+
def remove_flag_values(self, flag_values: FlagValues) -> None: ...
|
| 56 |
+
RemoveFlagValues = remove_flag_values
|
| 57 |
+
def __setitem__(self, name: str, flag: Flag) -> None: ...
|
| 58 |
+
def __getitem__(self, name: str) -> Flag: ...
|
| 59 |
+
def __getattr__(self, name: str) -> Any: ...
|
| 60 |
+
def __setattr__(self, name: str, value: Any) -> None: ...
|
| 61 |
+
def __delattr__(self, flag_name: str) -> None: ...
|
| 62 |
+
def set_default(self, name: str, value: Any) -> None: ...
|
| 63 |
+
SetDefault = set_default
|
| 64 |
+
def __contains__(self, name: str) -> bool: ...
|
| 65 |
+
has_key = __contains__
|
| 66 |
+
def __iter__(self) -> Iterable[str]: ...
|
| 67 |
+
def __call__(self, argv: List[str], known_only: bool = ...) -> List[str]: ...
|
| 68 |
+
def reset(self) -> None: ...
|
| 69 |
+
Reset = reset
|
| 70 |
+
def RegisteredFlags(self) -> List[str]: ...
|
| 71 |
+
def flag_values_dict(self) -> Dict[str, Any]: ...
|
| 72 |
+
FlagValuesDict = flag_values_dict
|
| 73 |
+
def __str__(self) -> str: ...
|
| 74 |
+
def GetHelp(self, prefix: str = ...) -> str: ...
|
| 75 |
+
def module_help(self, module: Union[ModuleType, str]) -> str: ...
|
| 76 |
+
ModuleHelp = module_help
|
| 77 |
+
def main_module_help(self) -> str: ...
|
| 78 |
+
MainModuleHelp = main_module_help
|
| 79 |
+
def get(self, name: str, default: Any) -> Any: ...
|
| 80 |
+
def ShortestUniquePrefixes(self, fl: Dict[str, Flag]) -> Dict[str, str]: ...
|
| 81 |
+
def ExtractFilename(self, flagfile_str: str) -> str: ...
|
| 82 |
+
def read_flags_from_files(self, argv: List[str], force_gnu: bool = ...) -> List[str]: ...
|
| 83 |
+
ReadFlagsFromFiles = read_flags_from_files
|
| 84 |
+
def flags_into_string(self) -> str: ...
|
| 85 |
+
FlagsIntoString = flags_into_string
|
| 86 |
+
def append_flags_into_file(self, filename: str) -> None: ...
|
| 87 |
+
AppendFlagsIntoFile = append_flags_into_file
|
| 88 |
+
def write_help_in_xml_format(self, outfile: IO[str] = ...) -> None: ...
|
| 89 |
+
WriteHelpInXMLFormat = write_help_in_xml_format
|
| 90 |
+
# TODO validator: gflags_validators.Validator
|
| 91 |
+
def AddValidator(self, validator: Any) -> None: ...
|
| 92 |
+
def is_parsed(self) -> bool: ...
|
| 93 |
+
IsParsed = is_parsed
|
| 94 |
+
|
| 95 |
+
FLAGS: FlagValues
|
| 96 |
+
|
| 97 |
+
class Flag:
|
| 98 |
+
name: str
|
| 99 |
+
default: Any
|
| 100 |
+
default_as_str: str
|
| 101 |
+
value: Any
|
| 102 |
+
help: str
|
| 103 |
+
short_name: str
|
| 104 |
+
boolean = False
|
| 105 |
+
present = False
|
| 106 |
+
parser: ArgumentParser
|
| 107 |
+
serializer: ArgumentSerializer
|
| 108 |
+
allow_override = False
|
| 109 |
+
def __init__(
|
| 110 |
+
self,
|
| 111 |
+
parser: ArgumentParser,
|
| 112 |
+
serializer: ArgumentSerializer,
|
| 113 |
+
name: str,
|
| 114 |
+
default: Optional[str],
|
| 115 |
+
help_string: str,
|
| 116 |
+
short_name: str = ...,
|
| 117 |
+
boolean: bool = ...,
|
| 118 |
+
allow_override: bool = ...,
|
| 119 |
+
) -> None: ...
|
| 120 |
+
def Parse(self, argument: Any) -> Any: ...
|
| 121 |
+
def Unparse(self) -> None: ...
|
| 122 |
+
def Serialize(self) -> str: ...
|
| 123 |
+
def SetDefault(self, value: Any) -> None: ...
|
| 124 |
+
def Type(self) -> str: ...
|
| 125 |
+
def WriteInfoInXMLFormat(self, outfile: IO[str], module_name: str, is_key: bool = ..., indent: str = ...) -> None: ...
|
| 126 |
+
|
| 127 |
+
class ArgumentParser(object):
|
| 128 |
+
syntactic_help: str
|
| 129 |
+
# TODO what is this
|
| 130 |
+
def parse(self, argument: Any) -> Any: ...
|
| 131 |
+
Parser = parse
|
| 132 |
+
def flag_type(self) -> str: ...
|
| 133 |
+
Type = flag_type
|
| 134 |
+
def WriteCustomInfoInXMLFormat(self, outfile: IO[str], indent: str) -> None: ...
|
| 135 |
+
|
| 136 |
+
class ArgumentSerializer:
|
| 137 |
+
def Serialize(self, value: Any) -> Text: ...
|
| 138 |
+
|
| 139 |
+
class ListSerializer(ArgumentSerializer):
|
| 140 |
+
def __init__(self, list_sep: str) -> None: ...
|
| 141 |
+
def Serialize(self, value: List[Any]) -> str: ...
|
| 142 |
+
|
| 143 |
+
def register_validator(
|
| 144 |
+
flag_name: str, checker: Callable[[Any], bool], message: str = ..., flag_values: FlagValues = ...
|
| 145 |
+
) -> None: ...
|
| 146 |
+
|
| 147 |
+
RegisterValidator = register_validator
|
| 148 |
+
|
| 149 |
+
def mark_flag_as_required(flag_name: str, flag_values: FlagValues = ...) -> None: ...
|
| 150 |
+
|
| 151 |
+
MarkFlagAsRequired = mark_flag_as_required
|
| 152 |
+
|
| 153 |
+
def mark_flags_as_required(flag_names: Iterable[str], flag_values: FlagValues = ...) -> None: ...
|
| 154 |
+
|
| 155 |
+
MarkFlagsAsRequired = mark_flags_as_required
|
| 156 |
+
|
| 157 |
+
def mark_flags_as_mutual_exclusive(flag_names: Iterable[str], required: bool = ..., flag_values: FlagValues = ...) -> None: ...
|
| 158 |
+
|
| 159 |
+
MarkFlagsAsMutualExclusive = mark_flags_as_mutual_exclusive
|
| 160 |
+
|
| 161 |
+
def DEFINE(
|
| 162 |
+
parser: ArgumentParser,
|
| 163 |
+
name: str,
|
| 164 |
+
default: Any,
|
| 165 |
+
help: str,
|
| 166 |
+
flag_values: FlagValues = ...,
|
| 167 |
+
serializer: ArgumentSerializer = ...,
|
| 168 |
+
**args: Any,
|
| 169 |
+
) -> None: ...
|
| 170 |
+
def DEFINE_flag(flag: Flag, flag_values: FlagValues = ...) -> None: ...
|
| 171 |
+
def declare_key_flag(flag_name: str, flag_values: FlagValues = ...) -> None: ...
|
| 172 |
+
|
| 173 |
+
DECLARE_key_flag = declare_key_flag
|
| 174 |
+
|
| 175 |
+
def adopt_module_key_flags(module: ModuleType, flag_values: FlagValues = ...) -> None: ...
|
| 176 |
+
|
| 177 |
+
ADOPT_module_key_flags = adopt_module_key_flags
|
| 178 |
+
|
| 179 |
+
def DEFINE_string(name: str, default: Optional[str], help: str, flag_values: FlagValues = ..., **args: Any) -> None: ...
|
| 180 |
+
|
| 181 |
+
class BooleanParser(ArgumentParser):
|
| 182 |
+
def Convert(self, argument: Any) -> bool: ...
|
| 183 |
+
def Parse(self, argument: Any) -> bool: ...
|
| 184 |
+
|
| 185 |
+
class BooleanFlag(Flag):
|
| 186 |
+
def __init__(self, name: str, default: Optional[bool], help: str, short_name: str = ..., **args: Any) -> None: ...
|
| 187 |
+
|
| 188 |
+
def DEFINE_boolean(name: str, default: Optional[bool], help: str, flag_values: FlagValues = ..., **args: Any) -> None: ...
|
| 189 |
+
|
| 190 |
+
DEFINE_bool = DEFINE_boolean
|
| 191 |
+
|
| 192 |
+
class HelpFlag(BooleanFlag):
|
| 193 |
+
def __init__(self) -> None: ...
|
| 194 |
+
def Parse(self, arg: Any) -> None: ...
|
| 195 |
+
|
| 196 |
+
class HelpXMLFlag(BooleanFlag):
|
| 197 |
+
def __init__(self) -> None: ...
|
| 198 |
+
def Parse(self, arg: Any) -> None: ...
|
| 199 |
+
|
| 200 |
+
class HelpshortFlag(BooleanFlag):
|
| 201 |
+
def __init__(self) -> None: ...
|
| 202 |
+
def Parse(self, arg: Any) -> None: ...
|
| 203 |
+
|
| 204 |
+
class NumericParser(ArgumentParser):
|
| 205 |
+
def IsOutsideBounds(self, val: float) -> bool: ...
|
| 206 |
+
def Parse(self, argument: Any) -> float: ...
|
| 207 |
+
def WriteCustomInfoInXMLFormat(self, outfile: IO[str], indent: str) -> None: ...
|
| 208 |
+
def Convert(self, argument: Any) -> Any: ...
|
| 209 |
+
|
| 210 |
+
class FloatParser(NumericParser):
|
| 211 |
+
number_article: str
|
| 212 |
+
number_name: str
|
| 213 |
+
syntactic_help: str
|
| 214 |
+
def __init__(self, lower_bound: float = ..., upper_bound: float = ...) -> None: ...
|
| 215 |
+
def Convert(self, argument: Any) -> float: ...
|
| 216 |
+
|
| 217 |
+
def DEFINE_float(
|
| 218 |
+
name: str,
|
| 219 |
+
default: Optional[float],
|
| 220 |
+
help: str,
|
| 221 |
+
lower_bound: float = ...,
|
| 222 |
+
upper_bound: float = ...,
|
| 223 |
+
flag_values: FlagValues = ...,
|
| 224 |
+
**args: Any,
|
| 225 |
+
) -> None: ...
|
| 226 |
+
|
| 227 |
+
class IntegerParser(NumericParser):
|
| 228 |
+
number_article: str
|
| 229 |
+
number_name: str
|
| 230 |
+
syntactic_help: str
|
| 231 |
+
def __init__(self, lower_bound: int = ..., upper_bound: int = ...) -> None: ...
|
| 232 |
+
def Convert(self, argument: Any) -> int: ...
|
| 233 |
+
|
| 234 |
+
def DEFINE_integer(
|
| 235 |
+
name: str,
|
| 236 |
+
default: Optional[int],
|
| 237 |
+
help: str,
|
| 238 |
+
lower_bound: int = ...,
|
| 239 |
+
upper_bound: int = ...,
|
| 240 |
+
flag_values: FlagValues = ...,
|
| 241 |
+
**args: Any,
|
| 242 |
+
) -> None: ...
|
| 243 |
+
|
| 244 |
+
class EnumParser(ArgumentParser):
|
| 245 |
+
def __init__(self, enum_values: List[str]) -> None: ...
|
| 246 |
+
def Parse(self, argument: Any) -> Any: ...
|
| 247 |
+
|
| 248 |
+
class EnumFlag(Flag):
|
| 249 |
+
def __init__(
|
| 250 |
+
self, name: str, default: Optional[str], help: str, enum_values: List[str], short_name: str, **args: Any
|
| 251 |
+
) -> None: ...
|
| 252 |
+
|
| 253 |
+
def DEFINE_enum(
|
| 254 |
+
name: str, default: Optional[str], enum_values: Iterable[str], help: str, flag_values: FlagValues = ..., **args: Any
|
| 255 |
+
) -> None: ...
|
| 256 |
+
|
| 257 |
+
class BaseListParser(ArgumentParser):
|
| 258 |
+
def __init__(self, token: str = ..., name: str = ...) -> None: ...
|
| 259 |
+
def Parse(self, argument: Any) -> List[Any]: ...
|
| 260 |
+
|
| 261 |
+
class ListParser(BaseListParser):
|
| 262 |
+
def __init__(self) -> None: ...
|
| 263 |
+
|
| 264 |
+
class WhitespaceSeparatedListParser(BaseListParser):
|
| 265 |
+
def __init__(self) -> None: ...
|
| 266 |
+
|
| 267 |
+
def DEFINE_list(name: str, default: Optional[List[str]], help: str, flag_values: FlagValues = ..., **args: Any) -> None: ...
|
| 268 |
+
def DEFINE_spaceseplist(
|
| 269 |
+
name: str, default: Optional[List[str]], help: str, flag_values: FlagValues = ..., **args: Any
|
| 270 |
+
) -> None: ...
|
| 271 |
+
|
| 272 |
+
class MultiFlag(Flag):
|
| 273 |
+
def __init__(self, *args: Any, **kwargs: Any) -> None: ...
|
| 274 |
+
def Parse(self, arguments: Any) -> None: ...
|
| 275 |
+
def Serialize(self) -> str: ...
|
| 276 |
+
|
| 277 |
+
def DEFINE_multi_string(
|
| 278 |
+
name: str, default: Optional[Union[str, List[str]]], help: str, flag_values: FlagValues = ..., **args: Any
|
| 279 |
+
) -> None: ...
|
| 280 |
+
|
| 281 |
+
DEFINE_multistring = DEFINE_multi_string
|
| 282 |
+
|
| 283 |
+
def DEFINE_multi_integer(
|
| 284 |
+
name: str,
|
| 285 |
+
default: Optional[Union[int, List[int]]],
|
| 286 |
+
help: str,
|
| 287 |
+
lower_bound: int = ...,
|
| 288 |
+
upper_bound: int = ...,
|
| 289 |
+
flag_values: FlagValues = ...,
|
| 290 |
+
**args: Any,
|
| 291 |
+
) -> None: ...
|
| 292 |
+
|
| 293 |
+
DEFINE_multi_int = DEFINE_multi_integer
|
| 294 |
+
|
| 295 |
+
def DEFINE_multi_float(
|
| 296 |
+
name: str,
|
| 297 |
+
default: Optional[Union[float, List[float]]],
|
| 298 |
+
help: str,
|
| 299 |
+
lower_bound: float = ...,
|
| 300 |
+
upper_bound: float = ...,
|
| 301 |
+
flag_values: FlagValues = ...,
|
| 302 |
+
**args: Any,
|
| 303 |
+
) -> None: ...
|
| 304 |
+
def DEFINE_multi_enum(
|
| 305 |
+
name: str,
|
| 306 |
+
default: Optional[Union[Sequence[str], str]],
|
| 307 |
+
enum_values: Sequence[str],
|
| 308 |
+
help: str,
|
| 309 |
+
flag_values: FlagValues = ...,
|
| 310 |
+
case_sensitive: bool = ...,
|
| 311 |
+
**args: Any,
|
| 312 |
+
) -> None: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/itsdangerous.pyi
ADDED
|
@@ -0,0 +1,184 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from datetime import datetime
|
| 2 |
+
from typing import IO, Any, Callable, Generator, Mapping, MutableMapping, Optional, Text, Tuple, Union
|
| 3 |
+
|
| 4 |
+
_serializer = Any # must be an object that has "dumps" and "loads" attributes (e.g. the json module)
|
| 5 |
+
|
| 6 |
+
def want_bytes(s: Union[Text, bytes], encoding: Text = ..., errors: Text = ...) -> bytes: ...
|
| 7 |
+
|
| 8 |
+
class BadData(Exception):
|
| 9 |
+
message: str
|
| 10 |
+
def __init__(self, message: str) -> None: ...
|
| 11 |
+
|
| 12 |
+
class BadPayload(BadData):
|
| 13 |
+
original_error: Optional[Exception]
|
| 14 |
+
def __init__(self, message: str, original_error: Optional[Exception] = ...) -> None: ...
|
| 15 |
+
|
| 16 |
+
class BadSignature(BadData):
|
| 17 |
+
payload: Optional[Any]
|
| 18 |
+
def __init__(self, message: str, payload: Optional[Any] = ...) -> None: ...
|
| 19 |
+
|
| 20 |
+
class BadTimeSignature(BadSignature):
|
| 21 |
+
date_signed: Optional[int]
|
| 22 |
+
def __init__(self, message: str, payload: Optional[Any] = ..., date_signed: Optional[int] = ...) -> None: ...
|
| 23 |
+
|
| 24 |
+
class BadHeader(BadSignature):
|
| 25 |
+
header: Any
|
| 26 |
+
original_error: Any
|
| 27 |
+
def __init__(
|
| 28 |
+
self, message: str, payload: Optional[Any] = ..., header: Optional[Any] = ..., original_error: Optional[Any] = ...
|
| 29 |
+
) -> None: ...
|
| 30 |
+
|
| 31 |
+
class SignatureExpired(BadTimeSignature): ...
|
| 32 |
+
|
| 33 |
+
def base64_encode(string: Union[Text, bytes]) -> bytes: ...
|
| 34 |
+
def base64_decode(string: Union[Text, bytes]) -> bytes: ...
|
| 35 |
+
|
| 36 |
+
class SigningAlgorithm(object):
|
| 37 |
+
def get_signature(self, key: bytes, value: bytes) -> bytes: ...
|
| 38 |
+
def verify_signature(self, key: bytes, value: bytes, sig: bytes) -> bool: ...
|
| 39 |
+
|
| 40 |
+
class NoneAlgorithm(SigningAlgorithm):
|
| 41 |
+
def get_signature(self, key: bytes, value: bytes) -> bytes: ...
|
| 42 |
+
|
| 43 |
+
class HMACAlgorithm(SigningAlgorithm):
|
| 44 |
+
default_digest_method: Callable[..., Any]
|
| 45 |
+
digest_method: Callable[..., Any]
|
| 46 |
+
def __init__(self, digest_method: Optional[Callable[..., Any]] = ...) -> None: ...
|
| 47 |
+
def get_signature(self, key: bytes, value: bytes) -> bytes: ...
|
| 48 |
+
|
| 49 |
+
class Signer(object):
|
| 50 |
+
default_digest_method: Callable[..., Any] = ...
|
| 51 |
+
default_key_derivation: str = ...
|
| 52 |
+
|
| 53 |
+
secret_key: bytes
|
| 54 |
+
sep: bytes
|
| 55 |
+
salt: Union[Text, bytes]
|
| 56 |
+
key_derivation: str
|
| 57 |
+
digest_method: Callable[..., Any]
|
| 58 |
+
algorithm: SigningAlgorithm
|
| 59 |
+
def __init__(
|
| 60 |
+
self,
|
| 61 |
+
secret_key: Union[Text, bytes],
|
| 62 |
+
salt: Optional[Union[Text, bytes]] = ...,
|
| 63 |
+
sep: Optional[Union[Text, bytes]] = ...,
|
| 64 |
+
key_derivation: Optional[str] = ...,
|
| 65 |
+
digest_method: Optional[Callable[..., Any]] = ...,
|
| 66 |
+
algorithm: Optional[SigningAlgorithm] = ...,
|
| 67 |
+
) -> None: ...
|
| 68 |
+
def derive_key(self) -> bytes: ...
|
| 69 |
+
def get_signature(self, value: Union[Text, bytes]) -> bytes: ...
|
| 70 |
+
def sign(self, value: Union[Text, bytes]) -> bytes: ...
|
| 71 |
+
def verify_signature(self, value: bytes, sig: Union[Text, bytes]) -> bool: ...
|
| 72 |
+
def unsign(self, signed_value: Union[Text, bytes]) -> bytes: ...
|
| 73 |
+
def validate(self, signed_value: Union[Text, bytes]) -> bool: ...
|
| 74 |
+
|
| 75 |
+
class TimestampSigner(Signer):
|
| 76 |
+
def get_timestamp(self) -> int: ...
|
| 77 |
+
def timestamp_to_datetime(self, ts: float) -> datetime: ...
|
| 78 |
+
def sign(self, value: Union[Text, bytes]) -> bytes: ...
|
| 79 |
+
def unsign(
|
| 80 |
+
self, value: Union[Text, bytes], max_age: Optional[int] = ..., return_timestamp: bool = ...
|
| 81 |
+
) -> Any: ... # morally -> Union[bytes, Tuple[bytes, datetime]]
|
| 82 |
+
def validate(self, signed_value: Union[Text, bytes], max_age: Optional[int] = ...) -> bool: ...
|
| 83 |
+
|
| 84 |
+
class Serializer(object):
|
| 85 |
+
default_serializer: _serializer = ...
|
| 86 |
+
default_signer: Callable[..., Signer] = ...
|
| 87 |
+
|
| 88 |
+
secret_key: bytes
|
| 89 |
+
salt: bytes
|
| 90 |
+
serializer: _serializer
|
| 91 |
+
is_text_serializer: bool
|
| 92 |
+
signer: Callable[..., Signer]
|
| 93 |
+
signer_kwargs: MutableMapping[str, Any]
|
| 94 |
+
def __init__(
|
| 95 |
+
self,
|
| 96 |
+
secret_key: Union[Text, bytes],
|
| 97 |
+
salt: Optional[Union[Text, bytes]] = ...,
|
| 98 |
+
serializer: Optional[_serializer] = ...,
|
| 99 |
+
signer: Optional[Callable[..., Signer]] = ...,
|
| 100 |
+
signer_kwargs: Optional[MutableMapping[str, Any]] = ...,
|
| 101 |
+
) -> None: ...
|
| 102 |
+
def load_payload(self, payload: bytes, serializer: Optional[_serializer] = ...) -> Any: ...
|
| 103 |
+
def dump_payload(self, obj: Any) -> bytes: ...
|
| 104 |
+
def make_signer(self, salt: Optional[Union[Text, bytes]] = ...) -> Signer: ...
|
| 105 |
+
def iter_unsigners(self, salt: Optional[Union[Text, bytes]] = ...) -> Generator[Any, None, None]: ...
|
| 106 |
+
def dumps(self, obj: Any, salt: Optional[Union[Text, bytes]] = ...) -> Any: ... # morally -> Union[str, bytes]
|
| 107 |
+
def dump(self, obj: Any, f: IO[Any], salt: Optional[Union[Text, bytes]] = ...) -> None: ...
|
| 108 |
+
def loads(self, s: Union[Text, bytes], salt: Optional[Union[Text, bytes]] = ...) -> Any: ...
|
| 109 |
+
def load(self, f: IO[Any], salt: Optional[Union[Text, bytes]] = ...) -> Any: ...
|
| 110 |
+
def loads_unsafe(self, s: Union[Text, bytes], salt: Optional[Union[Text, bytes]] = ...) -> Tuple[bool, Optional[Any]]: ...
|
| 111 |
+
def load_unsafe(self, f: IO[Any], salt: Optional[Union[Text, bytes]] = ...) -> Tuple[bool, Optional[Any]]: ...
|
| 112 |
+
|
| 113 |
+
class TimedSerializer(Serializer):
|
| 114 |
+
def loads(
|
| 115 |
+
self,
|
| 116 |
+
s: Union[Text, bytes],
|
| 117 |
+
salt: Optional[Union[Text, bytes]] = ...,
|
| 118 |
+
max_age: Optional[int] = ...,
|
| 119 |
+
return_timestamp: bool = ...,
|
| 120 |
+
) -> Any: ... # morally -> Union[Any, Tuple[Any, datetime]]
|
| 121 |
+
def loads_unsafe(
|
| 122 |
+
self, s: Union[Text, bytes], salt: Optional[Union[Text, bytes]] = ..., max_age: Optional[int] = ...
|
| 123 |
+
) -> Tuple[bool, Any]: ...
|
| 124 |
+
|
| 125 |
+
class JSONWebSignatureSerializer(Serializer):
|
| 126 |
+
jws_algorithms: MutableMapping[Text, SigningAlgorithm] = ...
|
| 127 |
+
default_algorithm: Text = ...
|
| 128 |
+
default_serializer: Any = ...
|
| 129 |
+
|
| 130 |
+
algorithm_name: Text
|
| 131 |
+
algorithm: SigningAlgorithm
|
| 132 |
+
def __init__(
|
| 133 |
+
self,
|
| 134 |
+
secret_key: Union[Text, bytes],
|
| 135 |
+
salt: Optional[Union[Text, bytes]] = ...,
|
| 136 |
+
serializer: Optional[_serializer] = ...,
|
| 137 |
+
signer: Optional[Callable[..., Signer]] = ...,
|
| 138 |
+
signer_kwargs: Optional[MutableMapping[str, Any]] = ...,
|
| 139 |
+
algorithm_name: Optional[Text] = ...,
|
| 140 |
+
) -> None: ...
|
| 141 |
+
def load_payload(
|
| 142 |
+
self, payload: Union[Text, bytes], serializer: Optional[_serializer] = ..., return_header: bool = ...
|
| 143 |
+
) -> Any: ... # morally -> Union[Any, Tuple[Any, MutableMapping[str, Any]]]
|
| 144 |
+
def dump_payload(self, header: Mapping[str, Any], obj: Any) -> bytes: ... # type: ignore
|
| 145 |
+
def make_algorithm(self, algorithm_name: Text) -> SigningAlgorithm: ...
|
| 146 |
+
def make_signer(self, salt: Optional[Union[Text, bytes]] = ..., algorithm: SigningAlgorithm = ...) -> Signer: ...
|
| 147 |
+
def make_header(self, header_fields: Optional[Mapping[str, Any]]) -> MutableMapping[str, Any]: ...
|
| 148 |
+
def dumps(
|
| 149 |
+
self, obj: Any, salt: Optional[Union[Text, bytes]] = ..., header_fields: Optional[Mapping[str, Any]] = ...
|
| 150 |
+
) -> bytes: ...
|
| 151 |
+
def loads(
|
| 152 |
+
self, s: Union[Text, bytes], salt: Optional[Union[Text, bytes]] = ..., return_header: bool = ...
|
| 153 |
+
) -> Any: ... # morally -> Union[Any, Tuple[Any, MutableMapping[str, Any]]]
|
| 154 |
+
def loads_unsafe(
|
| 155 |
+
self, s: Union[Text, bytes], salt: Optional[Union[Text, bytes]] = ..., return_header: bool = ...
|
| 156 |
+
) -> Tuple[bool, Any]: ...
|
| 157 |
+
|
| 158 |
+
class TimedJSONWebSignatureSerializer(JSONWebSignatureSerializer):
|
| 159 |
+
DEFAULT_EXPIRES_IN: int = ...
|
| 160 |
+
expires_in: int
|
| 161 |
+
def __init__(
|
| 162 |
+
self,
|
| 163 |
+
secret_key: Union[Text, bytes],
|
| 164 |
+
expires_in: Optional[int] = ...,
|
| 165 |
+
salt: Optional[Union[Text, bytes]] = ...,
|
| 166 |
+
serializer: Optional[_serializer] = ...,
|
| 167 |
+
signer: Optional[Callable[..., Signer]] = ...,
|
| 168 |
+
signer_kwargs: Optional[MutableMapping[str, Any]] = ...,
|
| 169 |
+
algorithm_name: Optional[Text] = ...,
|
| 170 |
+
) -> None: ...
|
| 171 |
+
def make_header(self, header_fields: Optional[Mapping[str, Any]]) -> MutableMapping[str, Any]: ...
|
| 172 |
+
def loads(
|
| 173 |
+
self, s: Union[Text, bytes], salt: Optional[Union[Text, bytes]] = ..., return_header: bool = ...
|
| 174 |
+
) -> Any: ... # morally -> Union[Any, Tuple[Any, MutableMapping[str, Any]]]
|
| 175 |
+
def get_issue_date(self, header: Mapping[str, Any]) -> Optional[datetime]: ...
|
| 176 |
+
def now(self) -> int: ...
|
| 177 |
+
|
| 178 |
+
class _URLSafeSerializerMixin(object):
|
| 179 |
+
default_serializer: _serializer = ...
|
| 180 |
+
def load_payload(self, payload: bytes, serializer: Optional[_serializer] = ...) -> Any: ...
|
| 181 |
+
def dump_payload(self, obj: Any) -> bytes: ...
|
| 182 |
+
|
| 183 |
+
class URLSafeSerializer(_URLSafeSerializerMixin, Serializer): ...
|
| 184 |
+
class URLSafeTimedSerializer(_URLSafeSerializerMixin, TimedSerializer): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/__init__.pyi
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from jinja2.bccache import (
|
| 2 |
+
BytecodeCache as BytecodeCache,
|
| 3 |
+
FileSystemBytecodeCache as FileSystemBytecodeCache,
|
| 4 |
+
MemcachedBytecodeCache as MemcachedBytecodeCache,
|
| 5 |
+
)
|
| 6 |
+
from jinja2.environment import Environment as Environment, Template as Template
|
| 7 |
+
from jinja2.exceptions import (
|
| 8 |
+
TemplateAssertionError as TemplateAssertionError,
|
| 9 |
+
TemplateError as TemplateError,
|
| 10 |
+
TemplateNotFound as TemplateNotFound,
|
| 11 |
+
TemplatesNotFound as TemplatesNotFound,
|
| 12 |
+
TemplateSyntaxError as TemplateSyntaxError,
|
| 13 |
+
UndefinedError as UndefinedError,
|
| 14 |
+
)
|
| 15 |
+
from jinja2.filters import (
|
| 16 |
+
contextfilter as contextfilter,
|
| 17 |
+
environmentfilter as environmentfilter,
|
| 18 |
+
evalcontextfilter as evalcontextfilter,
|
| 19 |
+
)
|
| 20 |
+
from jinja2.loaders import (
|
| 21 |
+
BaseLoader as BaseLoader,
|
| 22 |
+
ChoiceLoader as ChoiceLoader,
|
| 23 |
+
DictLoader as DictLoader,
|
| 24 |
+
FileSystemLoader as FileSystemLoader,
|
| 25 |
+
FunctionLoader as FunctionLoader,
|
| 26 |
+
ModuleLoader as ModuleLoader,
|
| 27 |
+
PackageLoader as PackageLoader,
|
| 28 |
+
PrefixLoader as PrefixLoader,
|
| 29 |
+
)
|
| 30 |
+
from jinja2.runtime import (
|
| 31 |
+
DebugUndefined as DebugUndefined,
|
| 32 |
+
StrictUndefined as StrictUndefined,
|
| 33 |
+
Undefined as Undefined,
|
| 34 |
+
make_logging_undefined as make_logging_undefined,
|
| 35 |
+
)
|
| 36 |
+
from jinja2.utils import (
|
| 37 |
+
Markup as Markup,
|
| 38 |
+
clear_caches as clear_caches,
|
| 39 |
+
contextfunction as contextfunction,
|
| 40 |
+
environmentfunction as environmentfunction,
|
| 41 |
+
escape as escape,
|
| 42 |
+
evalcontextfunction as evalcontextfunction,
|
| 43 |
+
is_undefined as is_undefined,
|
| 44 |
+
select_autoescape as select_autoescape,
|
| 45 |
+
)
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/_compat.pyi
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
from typing import Any, Optional
|
| 3 |
+
|
| 4 |
+
if sys.version_info >= (3,):
|
| 5 |
+
from urllib.parse import quote_from_bytes
|
| 6 |
+
|
| 7 |
+
url_quote = quote_from_bytes
|
| 8 |
+
else:
|
| 9 |
+
import urllib
|
| 10 |
+
|
| 11 |
+
url_quote = urllib.quote
|
| 12 |
+
|
| 13 |
+
PY2: Any
|
| 14 |
+
PYPY: Any
|
| 15 |
+
unichr: Any
|
| 16 |
+
range_type: Any
|
| 17 |
+
text_type: Any
|
| 18 |
+
string_types: Any
|
| 19 |
+
integer_types: Any
|
| 20 |
+
iterkeys: Any
|
| 21 |
+
itervalues: Any
|
| 22 |
+
iteritems: Any
|
| 23 |
+
NativeStringIO: Any
|
| 24 |
+
|
| 25 |
+
def reraise(tp, value, tb: Optional[Any] = ...): ...
|
| 26 |
+
|
| 27 |
+
ifilter: Any
|
| 28 |
+
imap: Any
|
| 29 |
+
izip: Any
|
| 30 |
+
intern: Any
|
| 31 |
+
implements_iterator: Any
|
| 32 |
+
implements_to_string: Any
|
| 33 |
+
encode_filename: Any
|
| 34 |
+
get_next: Any
|
| 35 |
+
|
| 36 |
+
def with_metaclass(meta, *bases): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/_stringdefs.pyi
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any
|
| 2 |
+
|
| 3 |
+
Cc: str
|
| 4 |
+
Cf: str
|
| 5 |
+
Cn: str
|
| 6 |
+
Co: str
|
| 7 |
+
Cs: Any
|
| 8 |
+
Ll: str
|
| 9 |
+
Lm: str
|
| 10 |
+
Lo: str
|
| 11 |
+
Lt: str
|
| 12 |
+
Lu: str
|
| 13 |
+
Mc: str
|
| 14 |
+
Me: str
|
| 15 |
+
Mn: str
|
| 16 |
+
Nd: str
|
| 17 |
+
Nl: str
|
| 18 |
+
No: str
|
| 19 |
+
Pc: str
|
| 20 |
+
Pd: str
|
| 21 |
+
Pe: str
|
| 22 |
+
Pf: str
|
| 23 |
+
Pi: str
|
| 24 |
+
Po: str
|
| 25 |
+
Ps: str
|
| 26 |
+
Sc: str
|
| 27 |
+
Sk: str
|
| 28 |
+
Sm: str
|
| 29 |
+
So: str
|
| 30 |
+
Zl: str
|
| 31 |
+
Zp: str
|
| 32 |
+
Zs: str
|
| 33 |
+
cats: Any
|
| 34 |
+
|
| 35 |
+
def combine(*args): ...
|
| 36 |
+
|
| 37 |
+
xid_start: str
|
| 38 |
+
xid_continue: str
|
| 39 |
+
|
| 40 |
+
def allexcept(*args): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/bccache.pyi
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Optional
|
| 2 |
+
|
| 3 |
+
marshal_dump: Any
|
| 4 |
+
marshal_load: Any
|
| 5 |
+
bc_version: int
|
| 6 |
+
bc_magic: Any
|
| 7 |
+
|
| 8 |
+
class Bucket:
|
| 9 |
+
environment: Any
|
| 10 |
+
key: Any
|
| 11 |
+
checksum: Any
|
| 12 |
+
def __init__(self, environment, key, checksum) -> None: ...
|
| 13 |
+
code: Any
|
| 14 |
+
def reset(self): ...
|
| 15 |
+
def load_bytecode(self, f): ...
|
| 16 |
+
def write_bytecode(self, f): ...
|
| 17 |
+
def bytecode_from_string(self, string): ...
|
| 18 |
+
def bytecode_to_string(self): ...
|
| 19 |
+
|
| 20 |
+
class BytecodeCache:
|
| 21 |
+
def load_bytecode(self, bucket): ...
|
| 22 |
+
def dump_bytecode(self, bucket): ...
|
| 23 |
+
def clear(self): ...
|
| 24 |
+
def get_cache_key(self, name, filename: Optional[Any] = ...): ...
|
| 25 |
+
def get_source_checksum(self, source): ...
|
| 26 |
+
def get_bucket(self, environment, name, filename, source): ...
|
| 27 |
+
def set_bucket(self, bucket): ...
|
| 28 |
+
|
| 29 |
+
class FileSystemBytecodeCache(BytecodeCache):
|
| 30 |
+
directory: Any
|
| 31 |
+
pattern: Any
|
| 32 |
+
def __init__(self, directory: Optional[Any] = ..., pattern: str = ...) -> None: ...
|
| 33 |
+
def load_bytecode(self, bucket): ...
|
| 34 |
+
def dump_bytecode(self, bucket): ...
|
| 35 |
+
def clear(self): ...
|
| 36 |
+
|
| 37 |
+
class MemcachedBytecodeCache(BytecodeCache):
|
| 38 |
+
client: Any
|
| 39 |
+
prefix: Any
|
| 40 |
+
timeout: Any
|
| 41 |
+
ignore_memcache_errors: Any
|
| 42 |
+
def __init__(self, client, prefix: str = ..., timeout: Optional[Any] = ..., ignore_memcache_errors: bool = ...) -> None: ...
|
| 43 |
+
def load_bytecode(self, bucket): ...
|
| 44 |
+
def dump_bytecode(self, bucket): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/compiler.pyi
ADDED
|
@@ -0,0 +1,177 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from keyword import iskeyword as is_python_keyword
|
| 2 |
+
from typing import Any, Optional
|
| 3 |
+
|
| 4 |
+
from jinja2.visitor import NodeVisitor
|
| 5 |
+
|
| 6 |
+
operators: Any
|
| 7 |
+
dict_item_iter: str
|
| 8 |
+
|
| 9 |
+
unoptimize_before_dead_code: bool
|
| 10 |
+
|
| 11 |
+
def generate(node, environment, name, filename, stream: Optional[Any] = ..., defer_init: bool = ...): ...
|
| 12 |
+
def has_safe_repr(value): ...
|
| 13 |
+
def find_undeclared(nodes, names): ...
|
| 14 |
+
|
| 15 |
+
class Identifiers:
|
| 16 |
+
declared: Any
|
| 17 |
+
outer_undeclared: Any
|
| 18 |
+
undeclared: Any
|
| 19 |
+
declared_locally: Any
|
| 20 |
+
declared_parameter: Any
|
| 21 |
+
def __init__(self) -> None: ...
|
| 22 |
+
def add_special(self, name): ...
|
| 23 |
+
def is_declared(self, name): ...
|
| 24 |
+
def copy(self): ...
|
| 25 |
+
|
| 26 |
+
class Frame:
|
| 27 |
+
eval_ctx: Any
|
| 28 |
+
identifiers: Any
|
| 29 |
+
toplevel: bool
|
| 30 |
+
rootlevel: bool
|
| 31 |
+
require_output_check: Any
|
| 32 |
+
buffer: Any
|
| 33 |
+
block: Any
|
| 34 |
+
assigned_names: Any
|
| 35 |
+
parent: Any
|
| 36 |
+
def __init__(self, eval_ctx, parent: Optional[Any] = ...) -> None: ...
|
| 37 |
+
def copy(self): ...
|
| 38 |
+
def inspect(self, nodes): ...
|
| 39 |
+
def find_shadowed(self, extra: Any = ...): ...
|
| 40 |
+
def inner(self): ...
|
| 41 |
+
def soft(self): ...
|
| 42 |
+
__copy__: Any
|
| 43 |
+
|
| 44 |
+
class VisitorExit(RuntimeError): ...
|
| 45 |
+
|
| 46 |
+
class DependencyFinderVisitor(NodeVisitor):
|
| 47 |
+
filters: Any
|
| 48 |
+
tests: Any
|
| 49 |
+
def __init__(self) -> None: ...
|
| 50 |
+
def visit_Filter(self, node): ...
|
| 51 |
+
def visit_Test(self, node): ...
|
| 52 |
+
def visit_Block(self, node): ...
|
| 53 |
+
|
| 54 |
+
class UndeclaredNameVisitor(NodeVisitor):
|
| 55 |
+
names: Any
|
| 56 |
+
undeclared: Any
|
| 57 |
+
def __init__(self, names) -> None: ...
|
| 58 |
+
def visit_Name(self, node): ...
|
| 59 |
+
def visit_Block(self, node): ...
|
| 60 |
+
|
| 61 |
+
class FrameIdentifierVisitor(NodeVisitor):
|
| 62 |
+
identifiers: Any
|
| 63 |
+
def __init__(self, identifiers) -> None: ...
|
| 64 |
+
def visit_Name(self, node): ...
|
| 65 |
+
def visit_If(self, node): ...
|
| 66 |
+
def visit_Macro(self, node): ...
|
| 67 |
+
def visit_Import(self, node): ...
|
| 68 |
+
def visit_FromImport(self, node): ...
|
| 69 |
+
def visit_Assign(self, node): ...
|
| 70 |
+
def visit_For(self, node): ...
|
| 71 |
+
def visit_CallBlock(self, node): ...
|
| 72 |
+
def visit_FilterBlock(self, node): ...
|
| 73 |
+
def visit_AssignBlock(self, node): ...
|
| 74 |
+
def visit_Scope(self, node): ...
|
| 75 |
+
def visit_Block(self, node): ...
|
| 76 |
+
|
| 77 |
+
class CompilerExit(Exception): ...
|
| 78 |
+
|
| 79 |
+
class CodeGenerator(NodeVisitor):
|
| 80 |
+
environment: Any
|
| 81 |
+
name: Any
|
| 82 |
+
filename: Any
|
| 83 |
+
stream: Any
|
| 84 |
+
created_block_context: bool
|
| 85 |
+
defer_init: Any
|
| 86 |
+
import_aliases: Any
|
| 87 |
+
blocks: Any
|
| 88 |
+
extends_so_far: int
|
| 89 |
+
has_known_extends: bool
|
| 90 |
+
code_lineno: int
|
| 91 |
+
tests: Any
|
| 92 |
+
filters: Any
|
| 93 |
+
debug_info: Any
|
| 94 |
+
def __init__(self, environment, name, filename, stream: Optional[Any] = ..., defer_init: bool = ...) -> None: ...
|
| 95 |
+
def fail(self, msg, lineno): ...
|
| 96 |
+
def temporary_identifier(self): ...
|
| 97 |
+
def buffer(self, frame): ...
|
| 98 |
+
def return_buffer_contents(self, frame): ...
|
| 99 |
+
def indent(self): ...
|
| 100 |
+
def outdent(self, step: int = ...): ...
|
| 101 |
+
def start_write(self, frame, node: Optional[Any] = ...): ...
|
| 102 |
+
def end_write(self, frame): ...
|
| 103 |
+
def simple_write(self, s, frame, node: Optional[Any] = ...): ...
|
| 104 |
+
def blockvisit(self, nodes, frame): ...
|
| 105 |
+
def write(self, x): ...
|
| 106 |
+
def writeline(self, x, node: Optional[Any] = ..., extra: int = ...): ...
|
| 107 |
+
def newline(self, node: Optional[Any] = ..., extra: int = ...): ...
|
| 108 |
+
def signature(self, node, frame, extra_kwargs: Optional[Any] = ...): ...
|
| 109 |
+
def pull_locals(self, frame): ...
|
| 110 |
+
def pull_dependencies(self, nodes): ...
|
| 111 |
+
def unoptimize_scope(self, frame): ...
|
| 112 |
+
def push_scope(self, frame, extra_vars: Any = ...): ...
|
| 113 |
+
def pop_scope(self, aliases, frame): ...
|
| 114 |
+
def function_scoping(self, node, frame, children: Optional[Any] = ..., find_special: bool = ...): ...
|
| 115 |
+
def macro_body(self, node, frame, children: Optional[Any] = ...): ...
|
| 116 |
+
def macro_def(self, node, frame): ...
|
| 117 |
+
def position(self, node): ...
|
| 118 |
+
def visit_Template(self, node, frame: Optional[Any] = ...): ...
|
| 119 |
+
def visit_Block(self, node, frame): ...
|
| 120 |
+
def visit_Extends(self, node, frame): ...
|
| 121 |
+
def visit_Include(self, node, frame): ...
|
| 122 |
+
def visit_Import(self, node, frame): ...
|
| 123 |
+
def visit_FromImport(self, node, frame): ...
|
| 124 |
+
def visit_For(self, node, frame): ...
|
| 125 |
+
def visit_If(self, node, frame): ...
|
| 126 |
+
def visit_Macro(self, node, frame): ...
|
| 127 |
+
def visit_CallBlock(self, node, frame): ...
|
| 128 |
+
def visit_FilterBlock(self, node, frame): ...
|
| 129 |
+
def visit_ExprStmt(self, node, frame): ...
|
| 130 |
+
def visit_Output(self, node, frame): ...
|
| 131 |
+
def make_assignment_frame(self, frame): ...
|
| 132 |
+
def export_assigned_vars(self, frame, assignment_frame): ...
|
| 133 |
+
def visit_Assign(self, node, frame): ...
|
| 134 |
+
def visit_AssignBlock(self, node, frame): ...
|
| 135 |
+
def visit_Name(self, node, frame): ...
|
| 136 |
+
def visit_Const(self, node, frame): ...
|
| 137 |
+
def visit_TemplateData(self, node, frame): ...
|
| 138 |
+
def visit_Tuple(self, node, frame): ...
|
| 139 |
+
def visit_List(self, node, frame): ...
|
| 140 |
+
def visit_Dict(self, node, frame): ...
|
| 141 |
+
def binop(self, interceptable: bool = ...): ...
|
| 142 |
+
def uaop(self, interceptable: bool = ...): ...
|
| 143 |
+
visit_Add: Any
|
| 144 |
+
visit_Sub: Any
|
| 145 |
+
visit_Mul: Any
|
| 146 |
+
visit_Div: Any
|
| 147 |
+
visit_FloorDiv: Any
|
| 148 |
+
visit_Pow: Any
|
| 149 |
+
visit_Mod: Any
|
| 150 |
+
visit_And: Any
|
| 151 |
+
visit_Or: Any
|
| 152 |
+
visit_Pos: Any
|
| 153 |
+
visit_Neg: Any
|
| 154 |
+
visit_Not: Any
|
| 155 |
+
def visit_Concat(self, node, frame): ...
|
| 156 |
+
def visit_Compare(self, node, frame): ...
|
| 157 |
+
def visit_Operand(self, node, frame): ...
|
| 158 |
+
def visit_Getattr(self, node, frame): ...
|
| 159 |
+
def visit_Getitem(self, node, frame): ...
|
| 160 |
+
def visit_Slice(self, node, frame): ...
|
| 161 |
+
def visit_Filter(self, node, frame): ...
|
| 162 |
+
def visit_Test(self, node, frame): ...
|
| 163 |
+
def visit_CondExpr(self, node, frame): ...
|
| 164 |
+
def visit_Call(self, node, frame, forward_caller: bool = ...): ...
|
| 165 |
+
def visit_Keyword(self, node, frame): ...
|
| 166 |
+
def visit_MarkSafe(self, node, frame): ...
|
| 167 |
+
def visit_MarkSafeIfAutoescape(self, node, frame): ...
|
| 168 |
+
def visit_EnvironmentAttribute(self, node, frame): ...
|
| 169 |
+
def visit_ExtensionAttribute(self, node, frame): ...
|
| 170 |
+
def visit_ImportedName(self, node, frame): ...
|
| 171 |
+
def visit_InternalName(self, node, frame): ...
|
| 172 |
+
def visit_ContextReference(self, node, frame): ...
|
| 173 |
+
def visit_Continue(self, node, frame): ...
|
| 174 |
+
def visit_Break(self, node, frame): ...
|
| 175 |
+
def visit_Scope(self, node, frame): ...
|
| 176 |
+
def visit_EvalContextModifier(self, node, frame): ...
|
| 177 |
+
def visit_ScopedEvalContextModifier(self, node, frame): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/debug.pyi
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Optional
|
| 2 |
+
|
| 3 |
+
tproxy: Any
|
| 4 |
+
raise_helper: str
|
| 5 |
+
|
| 6 |
+
class TracebackFrameProxy:
|
| 7 |
+
tb: Any
|
| 8 |
+
def __init__(self, tb) -> None: ...
|
| 9 |
+
@property
|
| 10 |
+
def tb_next(self): ...
|
| 11 |
+
def set_next(self, next): ...
|
| 12 |
+
@property
|
| 13 |
+
def is_jinja_frame(self): ...
|
| 14 |
+
def __getattr__(self, name): ...
|
| 15 |
+
|
| 16 |
+
def make_frame_proxy(frame): ...
|
| 17 |
+
|
| 18 |
+
class ProcessedTraceback:
|
| 19 |
+
exc_type: Any
|
| 20 |
+
exc_value: Any
|
| 21 |
+
frames: Any
|
| 22 |
+
def __init__(self, exc_type, exc_value, frames) -> None: ...
|
| 23 |
+
def render_as_text(self, limit: Optional[Any] = ...): ...
|
| 24 |
+
def render_as_html(self, full: bool = ...): ...
|
| 25 |
+
@property
|
| 26 |
+
def is_template_syntax_error(self): ...
|
| 27 |
+
@property
|
| 28 |
+
def exc_info(self): ...
|
| 29 |
+
@property
|
| 30 |
+
def standard_exc_info(self): ...
|
| 31 |
+
|
| 32 |
+
def make_traceback(exc_info, source_hint: Optional[Any] = ...): ...
|
| 33 |
+
def translate_syntax_error(error, source: Optional[Any] = ...): ...
|
| 34 |
+
def translate_exception(exc_info, initial_skip: int = ...): ...
|
| 35 |
+
def fake_exc_info(exc_info, filename, lineno): ...
|
| 36 |
+
|
| 37 |
+
tb_set_next: Any
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/defaults.pyi
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Dict, Optional
|
| 2 |
+
|
| 3 |
+
from jinja2.filters import FILTERS
|
| 4 |
+
from jinja2.tests import TESTS
|
| 5 |
+
|
| 6 |
+
DEFAULT_FILTERS = FILTERS
|
| 7 |
+
DEFAULT_TESTS = TESTS
|
| 8 |
+
|
| 9 |
+
BLOCK_START_STRING: str
|
| 10 |
+
BLOCK_END_STRING: str
|
| 11 |
+
VARIABLE_START_STRING: str
|
| 12 |
+
VARIABLE_END_STRING: str
|
| 13 |
+
COMMENT_START_STRING: str
|
| 14 |
+
COMMENT_END_STRING: str
|
| 15 |
+
LINE_STATEMENT_PREFIX: Optional[str]
|
| 16 |
+
LINE_COMMENT_PREFIX: Optional[str]
|
| 17 |
+
TRIM_BLOCKS: bool
|
| 18 |
+
LSTRIP_BLOCKS: bool
|
| 19 |
+
NEWLINE_SEQUENCE: str
|
| 20 |
+
KEEP_TRAILING_NEWLINE: bool
|
| 21 |
+
DEFAULT_NAMESPACE: Dict[str, Any]
|
| 22 |
+
DEFAULT_POLICIES = Dict[str, Any]
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/exceptions.pyi
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Optional, Text
|
| 2 |
+
|
| 3 |
+
class TemplateError(Exception):
|
| 4 |
+
def __init__(self, message: Optional[Text] = ...) -> None: ...
|
| 5 |
+
@property
|
| 6 |
+
def message(self): ...
|
| 7 |
+
def __unicode__(self): ...
|
| 8 |
+
|
| 9 |
+
class TemplateNotFound(IOError, LookupError, TemplateError):
|
| 10 |
+
message: Any
|
| 11 |
+
name: Any
|
| 12 |
+
templates: Any
|
| 13 |
+
def __init__(self, name, message: Optional[Text] = ...) -> None: ...
|
| 14 |
+
|
| 15 |
+
class TemplatesNotFound(TemplateNotFound):
|
| 16 |
+
templates: Any
|
| 17 |
+
def __init__(self, names: Any = ..., message: Optional[Text] = ...) -> None: ...
|
| 18 |
+
|
| 19 |
+
class TemplateSyntaxError(TemplateError):
|
| 20 |
+
lineno: int
|
| 21 |
+
name: Text
|
| 22 |
+
filename: Text
|
| 23 |
+
source: Text
|
| 24 |
+
translated: bool
|
| 25 |
+
def __init__(self, message: Text, lineno: int, name: Optional[Text] = ..., filename: Optional[Text] = ...) -> None: ...
|
| 26 |
+
|
| 27 |
+
class TemplateAssertionError(TemplateSyntaxError): ...
|
| 28 |
+
class TemplateRuntimeError(TemplateError): ...
|
| 29 |
+
class UndefinedError(TemplateRuntimeError): ...
|
| 30 |
+
class SecurityError(TemplateRuntimeError): ...
|
| 31 |
+
class FilterArgumentError(TemplateRuntimeError): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/filters.pyi
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, NamedTuple, Optional
|
| 2 |
+
|
| 3 |
+
def contextfilter(f): ...
|
| 4 |
+
def evalcontextfilter(f): ...
|
| 5 |
+
def environmentfilter(f): ...
|
| 6 |
+
def make_attrgetter(environment, attribute): ...
|
| 7 |
+
def do_forceescape(value): ...
|
| 8 |
+
def do_urlencode(value): ...
|
| 9 |
+
def do_replace(eval_ctx, s, old, new, count: Optional[Any] = ...): ...
|
| 10 |
+
def do_upper(s): ...
|
| 11 |
+
def do_lower(s): ...
|
| 12 |
+
def do_xmlattr(_eval_ctx, d, autospace: bool = ...): ...
|
| 13 |
+
def do_capitalize(s): ...
|
| 14 |
+
def do_title(s): ...
|
| 15 |
+
def do_dictsort(value, case_sensitive: bool = ..., by: str = ...): ...
|
| 16 |
+
def do_sort(environment, value, reverse: bool = ..., case_sensitive: bool = ..., attribute: Optional[Any] = ...): ...
|
| 17 |
+
def do_default(value, default_value: str = ..., boolean: bool = ...): ...
|
| 18 |
+
def do_join(eval_ctx, value, d: str = ..., attribute: Optional[Any] = ...): ...
|
| 19 |
+
def do_center(value, width: int = ...): ...
|
| 20 |
+
def do_first(environment, seq): ...
|
| 21 |
+
def do_last(environment, seq): ...
|
| 22 |
+
def do_random(environment, seq): ...
|
| 23 |
+
def do_filesizeformat(value, binary: bool = ...): ...
|
| 24 |
+
def do_pprint(value, verbose: bool = ...): ...
|
| 25 |
+
def do_urlize(eval_ctx, value, trim_url_limit: Optional[Any] = ..., nofollow: bool = ..., target: Optional[Any] = ...): ...
|
| 26 |
+
def do_indent(s, width: int = ..., indentfirst: bool = ...): ...
|
| 27 |
+
def do_truncate(s, length: int = ..., killwords: bool = ..., end: str = ...): ...
|
| 28 |
+
def do_wordwrap(environment, s, width: int = ..., break_long_words: bool = ..., wrapstring: Optional[Any] = ...): ...
|
| 29 |
+
def do_wordcount(s): ...
|
| 30 |
+
def do_int(value, default: int = ..., base: int = ...): ...
|
| 31 |
+
def do_float(value, default: float = ...): ...
|
| 32 |
+
def do_format(value, *args, **kwargs): ...
|
| 33 |
+
def do_trim(value): ...
|
| 34 |
+
def do_striptags(value): ...
|
| 35 |
+
def do_slice(value, slices, fill_with: Optional[Any] = ...): ...
|
| 36 |
+
def do_batch(value, linecount, fill_with: Optional[Any] = ...): ...
|
| 37 |
+
def do_round(value, precision: int = ..., method: str = ...): ...
|
| 38 |
+
def do_groupby(environment, value, attribute): ...
|
| 39 |
+
|
| 40 |
+
class _GroupTuple(NamedTuple):
|
| 41 |
+
grouper: Any
|
| 42 |
+
list: Any
|
| 43 |
+
|
| 44 |
+
def do_sum(environment, iterable, attribute: Optional[Any] = ..., start: int = ...): ...
|
| 45 |
+
def do_list(value): ...
|
| 46 |
+
def do_mark_safe(value): ...
|
| 47 |
+
def do_mark_unsafe(value): ...
|
| 48 |
+
def do_reverse(value): ...
|
| 49 |
+
def do_attr(environment, obj, name): ...
|
| 50 |
+
def do_map(*args, **kwargs): ...
|
| 51 |
+
def do_select(*args, **kwargs): ...
|
| 52 |
+
def do_reject(*args, **kwargs): ...
|
| 53 |
+
def do_selectattr(*args, **kwargs): ...
|
| 54 |
+
def do_rejectattr(*args, **kwargs): ...
|
| 55 |
+
|
| 56 |
+
FILTERS: Any
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/lexer.pyi
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Optional, Tuple
|
| 2 |
+
|
| 3 |
+
whitespace_re: Any
|
| 4 |
+
string_re: Any
|
| 5 |
+
integer_re: Any
|
| 6 |
+
name_re: Any
|
| 7 |
+
float_re: Any
|
| 8 |
+
newline_re: Any
|
| 9 |
+
TOKEN_ADD: Any
|
| 10 |
+
TOKEN_ASSIGN: Any
|
| 11 |
+
TOKEN_COLON: Any
|
| 12 |
+
TOKEN_COMMA: Any
|
| 13 |
+
TOKEN_DIV: Any
|
| 14 |
+
TOKEN_DOT: Any
|
| 15 |
+
TOKEN_EQ: Any
|
| 16 |
+
TOKEN_FLOORDIV: Any
|
| 17 |
+
TOKEN_GT: Any
|
| 18 |
+
TOKEN_GTEQ: Any
|
| 19 |
+
TOKEN_LBRACE: Any
|
| 20 |
+
TOKEN_LBRACKET: Any
|
| 21 |
+
TOKEN_LPAREN: Any
|
| 22 |
+
TOKEN_LT: Any
|
| 23 |
+
TOKEN_LTEQ: Any
|
| 24 |
+
TOKEN_MOD: Any
|
| 25 |
+
TOKEN_MUL: Any
|
| 26 |
+
TOKEN_NE: Any
|
| 27 |
+
TOKEN_PIPE: Any
|
| 28 |
+
TOKEN_POW: Any
|
| 29 |
+
TOKEN_RBRACE: Any
|
| 30 |
+
TOKEN_RBRACKET: Any
|
| 31 |
+
TOKEN_RPAREN: Any
|
| 32 |
+
TOKEN_SEMICOLON: Any
|
| 33 |
+
TOKEN_SUB: Any
|
| 34 |
+
TOKEN_TILDE: Any
|
| 35 |
+
TOKEN_WHITESPACE: Any
|
| 36 |
+
TOKEN_FLOAT: Any
|
| 37 |
+
TOKEN_INTEGER: Any
|
| 38 |
+
TOKEN_NAME: Any
|
| 39 |
+
TOKEN_STRING: Any
|
| 40 |
+
TOKEN_OPERATOR: Any
|
| 41 |
+
TOKEN_BLOCK_BEGIN: Any
|
| 42 |
+
TOKEN_BLOCK_END: Any
|
| 43 |
+
TOKEN_VARIABLE_BEGIN: Any
|
| 44 |
+
TOKEN_VARIABLE_END: Any
|
| 45 |
+
TOKEN_RAW_BEGIN: Any
|
| 46 |
+
TOKEN_RAW_END: Any
|
| 47 |
+
TOKEN_COMMENT_BEGIN: Any
|
| 48 |
+
TOKEN_COMMENT_END: Any
|
| 49 |
+
TOKEN_COMMENT: Any
|
| 50 |
+
TOKEN_LINESTATEMENT_BEGIN: Any
|
| 51 |
+
TOKEN_LINESTATEMENT_END: Any
|
| 52 |
+
TOKEN_LINECOMMENT_BEGIN: Any
|
| 53 |
+
TOKEN_LINECOMMENT_END: Any
|
| 54 |
+
TOKEN_LINECOMMENT: Any
|
| 55 |
+
TOKEN_DATA: Any
|
| 56 |
+
TOKEN_INITIAL: Any
|
| 57 |
+
TOKEN_EOF: Any
|
| 58 |
+
operators: Any
|
| 59 |
+
reverse_operators: Any
|
| 60 |
+
operator_re: Any
|
| 61 |
+
ignored_tokens: Any
|
| 62 |
+
ignore_if_empty: Any
|
| 63 |
+
|
| 64 |
+
def describe_token(token): ...
|
| 65 |
+
def describe_token_expr(expr): ...
|
| 66 |
+
def count_newlines(value): ...
|
| 67 |
+
def compile_rules(environment): ...
|
| 68 |
+
|
| 69 |
+
class Failure:
|
| 70 |
+
message: Any
|
| 71 |
+
error_class: Any
|
| 72 |
+
def __init__(self, message, cls: Any = ...) -> None: ...
|
| 73 |
+
def __call__(self, lineno, filename): ...
|
| 74 |
+
|
| 75 |
+
class Token(Tuple[int, Any, Any]):
|
| 76 |
+
lineno: Any
|
| 77 |
+
type: Any
|
| 78 |
+
value: Any
|
| 79 |
+
def __new__(cls, lineno, type, value): ...
|
| 80 |
+
def test(self, expr): ...
|
| 81 |
+
def test_any(self, *iterable): ...
|
| 82 |
+
|
| 83 |
+
class TokenStreamIterator:
|
| 84 |
+
stream: Any
|
| 85 |
+
def __init__(self, stream) -> None: ...
|
| 86 |
+
def __iter__(self): ...
|
| 87 |
+
def __next__(self): ...
|
| 88 |
+
|
| 89 |
+
class TokenStream:
|
| 90 |
+
name: Any
|
| 91 |
+
filename: Any
|
| 92 |
+
closed: bool
|
| 93 |
+
current: Any
|
| 94 |
+
def __init__(self, generator, name, filename) -> None: ...
|
| 95 |
+
def __iter__(self): ...
|
| 96 |
+
def __bool__(self): ...
|
| 97 |
+
__nonzero__: Any
|
| 98 |
+
eos: Any
|
| 99 |
+
def push(self, token): ...
|
| 100 |
+
def look(self): ...
|
| 101 |
+
def skip(self, n: int = ...): ...
|
| 102 |
+
def next_if(self, expr): ...
|
| 103 |
+
def skip_if(self, expr): ...
|
| 104 |
+
def __next__(self): ...
|
| 105 |
+
def close(self): ...
|
| 106 |
+
def expect(self, expr): ...
|
| 107 |
+
|
| 108 |
+
def get_lexer(environment): ...
|
| 109 |
+
|
| 110 |
+
class Lexer:
|
| 111 |
+
newline_sequence: Any
|
| 112 |
+
keep_trailing_newline: Any
|
| 113 |
+
rules: Any
|
| 114 |
+
def __init__(self, environment) -> None: ...
|
| 115 |
+
def tokenize(self, source, name: Optional[Any] = ..., filename: Optional[Any] = ..., state: Optional[Any] = ...): ...
|
| 116 |
+
def wrap(self, stream, name: Optional[Any] = ..., filename: Optional[Any] = ...): ...
|
| 117 |
+
def tokeniter(self, source, name, filename: Optional[Any] = ..., state: Optional[Any] = ...): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/loaders.pyi
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
from types import ModuleType
|
| 3 |
+
from typing import Any, Callable, Iterable, List, Optional, Text, Tuple, Union
|
| 4 |
+
|
| 5 |
+
from .environment import Environment
|
| 6 |
+
|
| 7 |
+
if sys.version_info >= (3, 7):
|
| 8 |
+
from os import PathLike
|
| 9 |
+
|
| 10 |
+
_SearchPath = Union[Text, PathLike[str], Iterable[Union[Text, PathLike[str]]]]
|
| 11 |
+
else:
|
| 12 |
+
_SearchPath = Union[Text, Iterable[Text]]
|
| 13 |
+
|
| 14 |
+
def split_template_path(template: Text) -> List[Text]: ...
|
| 15 |
+
|
| 16 |
+
class BaseLoader:
|
| 17 |
+
has_source_access: bool
|
| 18 |
+
def get_source(self, environment, template): ...
|
| 19 |
+
def list_templates(self): ...
|
| 20 |
+
def load(self, environment, name, globals: Optional[Any] = ...): ...
|
| 21 |
+
|
| 22 |
+
class FileSystemLoader(BaseLoader):
|
| 23 |
+
searchpath: Text
|
| 24 |
+
encoding: Any
|
| 25 |
+
followlinks: Any
|
| 26 |
+
def __init__(self, searchpath: _SearchPath, encoding: Text = ..., followlinks: bool = ...) -> None: ...
|
| 27 |
+
def get_source(self, environment: Environment, template: Text) -> Tuple[Text, Text, Callable[..., Any]]: ...
|
| 28 |
+
def list_templates(self): ...
|
| 29 |
+
|
| 30 |
+
class PackageLoader(BaseLoader):
|
| 31 |
+
encoding: Text
|
| 32 |
+
manager: Any
|
| 33 |
+
filesystem_bound: Any
|
| 34 |
+
provider: Any
|
| 35 |
+
package_path: Any
|
| 36 |
+
def __init__(self, package_name: Text, package_path: Text = ..., encoding: Text = ...) -> None: ...
|
| 37 |
+
def get_source(self, environment: Environment, template: Text) -> Tuple[Text, Text, Callable[..., Any]]: ...
|
| 38 |
+
def list_templates(self): ...
|
| 39 |
+
|
| 40 |
+
class DictLoader(BaseLoader):
|
| 41 |
+
mapping: Any
|
| 42 |
+
def __init__(self, mapping) -> None: ...
|
| 43 |
+
def get_source(self, environment: Environment, template: Text) -> Tuple[Text, Text, Callable[..., Any]]: ...
|
| 44 |
+
def list_templates(self): ...
|
| 45 |
+
|
| 46 |
+
class FunctionLoader(BaseLoader):
|
| 47 |
+
load_func: Any
|
| 48 |
+
def __init__(self, load_func) -> None: ...
|
| 49 |
+
def get_source(
|
| 50 |
+
self, environment: Environment, template: Text
|
| 51 |
+
) -> Tuple[Text, Optional[Text], Optional[Callable[..., Any]]]: ...
|
| 52 |
+
|
| 53 |
+
class PrefixLoader(BaseLoader):
|
| 54 |
+
mapping: Any
|
| 55 |
+
delimiter: Any
|
| 56 |
+
def __init__(self, mapping, delimiter: str = ...) -> None: ...
|
| 57 |
+
def get_loader(self, template): ...
|
| 58 |
+
def get_source(self, environment: Environment, template: Text) -> Tuple[Text, Text, Callable[..., Any]]: ...
|
| 59 |
+
def load(self, environment, name, globals: Optional[Any] = ...): ...
|
| 60 |
+
def list_templates(self): ...
|
| 61 |
+
|
| 62 |
+
class ChoiceLoader(BaseLoader):
|
| 63 |
+
loaders: Any
|
| 64 |
+
def __init__(self, loaders) -> None: ...
|
| 65 |
+
def get_source(self, environment: Environment, template: Text) -> Tuple[Text, Text, Callable[..., Any]]: ...
|
| 66 |
+
def load(self, environment, name, globals: Optional[Any] = ...): ...
|
| 67 |
+
def list_templates(self): ...
|
| 68 |
+
|
| 69 |
+
class _TemplateModule(ModuleType): ...
|
| 70 |
+
|
| 71 |
+
class ModuleLoader(BaseLoader):
|
| 72 |
+
has_source_access: bool
|
| 73 |
+
module: Any
|
| 74 |
+
package_name: Any
|
| 75 |
+
def __init__(self, path) -> None: ...
|
| 76 |
+
@staticmethod
|
| 77 |
+
def get_template_key(name): ...
|
| 78 |
+
@staticmethod
|
| 79 |
+
def get_module_filename(name): ...
|
| 80 |
+
def load(self, environment, name, globals: Optional[Any] = ...): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/meta.pyi
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any
|
| 2 |
+
|
| 3 |
+
from jinja2.compiler import CodeGenerator
|
| 4 |
+
|
| 5 |
+
class TrackingCodeGenerator(CodeGenerator):
|
| 6 |
+
undeclared_identifiers: Any
|
| 7 |
+
def __init__(self, environment) -> None: ...
|
| 8 |
+
def write(self, x): ...
|
| 9 |
+
def pull_locals(self, frame): ...
|
| 10 |
+
|
| 11 |
+
def find_undeclared_variables(ast): ...
|
| 12 |
+
def find_referenced_templates(ast): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/nodes.pyi
ADDED
|
@@ -0,0 +1,255 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import typing
|
| 2 |
+
from typing import Any, Optional
|
| 3 |
+
|
| 4 |
+
class Impossible(Exception): ...
|
| 5 |
+
|
| 6 |
+
class NodeType(type):
|
| 7 |
+
def __new__(cls, name, bases, d): ...
|
| 8 |
+
|
| 9 |
+
class EvalContext:
|
| 10 |
+
environment: Any
|
| 11 |
+
autoescape: Any
|
| 12 |
+
volatile: bool
|
| 13 |
+
def __init__(self, environment, template_name: Optional[Any] = ...) -> None: ...
|
| 14 |
+
def save(self): ...
|
| 15 |
+
def revert(self, old): ...
|
| 16 |
+
|
| 17 |
+
def get_eval_context(node, ctx): ...
|
| 18 |
+
|
| 19 |
+
class Node:
|
| 20 |
+
fields: Any
|
| 21 |
+
attributes: Any
|
| 22 |
+
abstract: bool
|
| 23 |
+
def __init__(self, *fields, **attributes) -> None: ...
|
| 24 |
+
def iter_fields(self, exclude: Optional[Any] = ..., only: Optional[Any] = ...): ...
|
| 25 |
+
def iter_child_nodes(self, exclude: Optional[Any] = ..., only: Optional[Any] = ...): ...
|
| 26 |
+
def find(self, node_type): ...
|
| 27 |
+
def find_all(self, node_type): ...
|
| 28 |
+
def set_ctx(self, ctx): ...
|
| 29 |
+
def set_lineno(self, lineno, override: bool = ...): ...
|
| 30 |
+
def set_environment(self, environment): ...
|
| 31 |
+
def __eq__(self, other): ...
|
| 32 |
+
def __ne__(self, other): ...
|
| 33 |
+
__hash__: Any
|
| 34 |
+
|
| 35 |
+
class Stmt(Node):
|
| 36 |
+
abstract: bool
|
| 37 |
+
|
| 38 |
+
class Helper(Node):
|
| 39 |
+
abstract: bool
|
| 40 |
+
|
| 41 |
+
class Template(Node):
|
| 42 |
+
fields: Any
|
| 43 |
+
|
| 44 |
+
class Output(Stmt):
|
| 45 |
+
fields: Any
|
| 46 |
+
|
| 47 |
+
class Extends(Stmt):
|
| 48 |
+
fields: Any
|
| 49 |
+
|
| 50 |
+
class For(Stmt):
|
| 51 |
+
fields: Any
|
| 52 |
+
|
| 53 |
+
class If(Stmt):
|
| 54 |
+
fields: Any
|
| 55 |
+
|
| 56 |
+
class Macro(Stmt):
|
| 57 |
+
fields: Any
|
| 58 |
+
name: str
|
| 59 |
+
args: typing.List[Any]
|
| 60 |
+
defaults: typing.List[Any]
|
| 61 |
+
body: typing.List[Any]
|
| 62 |
+
|
| 63 |
+
class CallBlock(Stmt):
|
| 64 |
+
fields: Any
|
| 65 |
+
|
| 66 |
+
class FilterBlock(Stmt):
|
| 67 |
+
fields: Any
|
| 68 |
+
|
| 69 |
+
class Block(Stmt):
|
| 70 |
+
fields: Any
|
| 71 |
+
|
| 72 |
+
class Include(Stmt):
|
| 73 |
+
fields: Any
|
| 74 |
+
|
| 75 |
+
class Import(Stmt):
|
| 76 |
+
fields: Any
|
| 77 |
+
|
| 78 |
+
class FromImport(Stmt):
|
| 79 |
+
fields: Any
|
| 80 |
+
|
| 81 |
+
class ExprStmt(Stmt):
|
| 82 |
+
fields: Any
|
| 83 |
+
|
| 84 |
+
class Assign(Stmt):
|
| 85 |
+
fields: Any
|
| 86 |
+
|
| 87 |
+
class AssignBlock(Stmt):
|
| 88 |
+
fields: Any
|
| 89 |
+
|
| 90 |
+
class Expr(Node):
|
| 91 |
+
abstract: bool
|
| 92 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
| 93 |
+
def can_assign(self): ...
|
| 94 |
+
|
| 95 |
+
class BinExpr(Expr):
|
| 96 |
+
fields: Any
|
| 97 |
+
operator: Any
|
| 98 |
+
abstract: bool
|
| 99 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
| 100 |
+
|
| 101 |
+
class UnaryExpr(Expr):
|
| 102 |
+
fields: Any
|
| 103 |
+
operator: Any
|
| 104 |
+
abstract: bool
|
| 105 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
| 106 |
+
|
| 107 |
+
class Name(Expr):
|
| 108 |
+
fields: Any
|
| 109 |
+
def can_assign(self): ...
|
| 110 |
+
|
| 111 |
+
class Literal(Expr):
|
| 112 |
+
abstract: bool
|
| 113 |
+
|
| 114 |
+
class Const(Literal):
|
| 115 |
+
fields: Any
|
| 116 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
| 117 |
+
@classmethod
|
| 118 |
+
def from_untrusted(cls, value, lineno: Optional[Any] = ..., environment: Optional[Any] = ...): ...
|
| 119 |
+
|
| 120 |
+
class TemplateData(Literal):
|
| 121 |
+
fields: Any
|
| 122 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
| 123 |
+
|
| 124 |
+
class Tuple(Literal):
|
| 125 |
+
fields: Any
|
| 126 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
| 127 |
+
def can_assign(self): ...
|
| 128 |
+
|
| 129 |
+
class List(Literal):
|
| 130 |
+
fields: Any
|
| 131 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
| 132 |
+
|
| 133 |
+
class Dict(Literal):
|
| 134 |
+
fields: Any
|
| 135 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
| 136 |
+
|
| 137 |
+
class Pair(Helper):
|
| 138 |
+
fields: Any
|
| 139 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
| 140 |
+
|
| 141 |
+
class Keyword(Helper):
|
| 142 |
+
fields: Any
|
| 143 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
| 144 |
+
|
| 145 |
+
class CondExpr(Expr):
|
| 146 |
+
fields: Any
|
| 147 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
| 148 |
+
|
| 149 |
+
class Filter(Expr):
|
| 150 |
+
fields: Any
|
| 151 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
| 152 |
+
|
| 153 |
+
class Test(Expr):
|
| 154 |
+
fields: Any
|
| 155 |
+
|
| 156 |
+
class Call(Expr):
|
| 157 |
+
fields: Any
|
| 158 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
| 159 |
+
|
| 160 |
+
class Getitem(Expr):
|
| 161 |
+
fields: Any
|
| 162 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
| 163 |
+
def can_assign(self): ...
|
| 164 |
+
|
| 165 |
+
class Getattr(Expr):
|
| 166 |
+
fields: Any
|
| 167 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
| 168 |
+
def can_assign(self): ...
|
| 169 |
+
|
| 170 |
+
class Slice(Expr):
|
| 171 |
+
fields: Any
|
| 172 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
| 173 |
+
|
| 174 |
+
class Concat(Expr):
|
| 175 |
+
fields: Any
|
| 176 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
| 177 |
+
|
| 178 |
+
class Compare(Expr):
|
| 179 |
+
fields: Any
|
| 180 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
| 181 |
+
|
| 182 |
+
class Operand(Helper):
|
| 183 |
+
fields: Any
|
| 184 |
+
|
| 185 |
+
class Mul(BinExpr):
|
| 186 |
+
operator: str
|
| 187 |
+
|
| 188 |
+
class Div(BinExpr):
|
| 189 |
+
operator: str
|
| 190 |
+
|
| 191 |
+
class FloorDiv(BinExpr):
|
| 192 |
+
operator: str
|
| 193 |
+
|
| 194 |
+
class Add(BinExpr):
|
| 195 |
+
operator: str
|
| 196 |
+
|
| 197 |
+
class Sub(BinExpr):
|
| 198 |
+
operator: str
|
| 199 |
+
|
| 200 |
+
class Mod(BinExpr):
|
| 201 |
+
operator: str
|
| 202 |
+
|
| 203 |
+
class Pow(BinExpr):
|
| 204 |
+
operator: str
|
| 205 |
+
|
| 206 |
+
class And(BinExpr):
|
| 207 |
+
operator: str
|
| 208 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
| 209 |
+
|
| 210 |
+
class Or(BinExpr):
|
| 211 |
+
operator: str
|
| 212 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
| 213 |
+
|
| 214 |
+
class Not(UnaryExpr):
|
| 215 |
+
operator: str
|
| 216 |
+
|
| 217 |
+
class Neg(UnaryExpr):
|
| 218 |
+
operator: str
|
| 219 |
+
|
| 220 |
+
class Pos(UnaryExpr):
|
| 221 |
+
operator: str
|
| 222 |
+
|
| 223 |
+
class EnvironmentAttribute(Expr):
|
| 224 |
+
fields: Any
|
| 225 |
+
|
| 226 |
+
class ExtensionAttribute(Expr):
|
| 227 |
+
fields: Any
|
| 228 |
+
|
| 229 |
+
class ImportedName(Expr):
|
| 230 |
+
fields: Any
|
| 231 |
+
|
| 232 |
+
class InternalName(Expr):
|
| 233 |
+
fields: Any
|
| 234 |
+
def __init__(self) -> None: ...
|
| 235 |
+
|
| 236 |
+
class MarkSafe(Expr):
|
| 237 |
+
fields: Any
|
| 238 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
| 239 |
+
|
| 240 |
+
class MarkSafeIfAutoescape(Expr):
|
| 241 |
+
fields: Any
|
| 242 |
+
def as_const(self, eval_ctx: Optional[Any] = ...): ...
|
| 243 |
+
|
| 244 |
+
class ContextReference(Expr): ...
|
| 245 |
+
class Continue(Stmt): ...
|
| 246 |
+
class Break(Stmt): ...
|
| 247 |
+
|
| 248 |
+
class Scope(Stmt):
|
| 249 |
+
fields: Any
|
| 250 |
+
|
| 251 |
+
class EvalContextModifier(Stmt):
|
| 252 |
+
fields: Any
|
| 253 |
+
|
| 254 |
+
class ScopedEvalContextModifier(EvalContextModifier):
|
| 255 |
+
fields: Any
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/runtime.pyi
ADDED
|
@@ -0,0 +1,132 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Dict, Optional, Text, Union
|
| 2 |
+
|
| 3 |
+
from jinja2.environment import Environment
|
| 4 |
+
from jinja2.exceptions import TemplateNotFound as TemplateNotFound, TemplateRuntimeError as TemplateRuntimeError
|
| 5 |
+
from jinja2.utils import Markup as Markup, concat as concat, escape as escape, missing as missing
|
| 6 |
+
|
| 7 |
+
to_string: Any
|
| 8 |
+
identity: Any
|
| 9 |
+
|
| 10 |
+
def markup_join(seq): ...
|
| 11 |
+
def unicode_join(seq): ...
|
| 12 |
+
|
| 13 |
+
class TemplateReference:
|
| 14 |
+
def __init__(self, context) -> None: ...
|
| 15 |
+
def __getitem__(self, name): ...
|
| 16 |
+
|
| 17 |
+
class Context:
|
| 18 |
+
parent: Union[Context, Dict[str, Any]]
|
| 19 |
+
vars: Dict[str, Any]
|
| 20 |
+
environment: Environment
|
| 21 |
+
eval_ctx: Any
|
| 22 |
+
exported_vars: Any
|
| 23 |
+
name: Text
|
| 24 |
+
blocks: Dict[str, Any]
|
| 25 |
+
def __init__(
|
| 26 |
+
self, environment: Environment, parent: Union[Context, Dict[str, Any]], name: Text, blocks: Dict[str, Any]
|
| 27 |
+
) -> None: ...
|
| 28 |
+
def super(self, name, current): ...
|
| 29 |
+
def get(self, key, default: Optional[Any] = ...): ...
|
| 30 |
+
def resolve(self, key): ...
|
| 31 |
+
def get_exported(self): ...
|
| 32 |
+
def get_all(self): ...
|
| 33 |
+
def call(__self, __obj, *args, **kwargs): ...
|
| 34 |
+
def derived(self, locals: Optional[Any] = ...): ...
|
| 35 |
+
keys: Any
|
| 36 |
+
values: Any
|
| 37 |
+
items: Any
|
| 38 |
+
iterkeys: Any
|
| 39 |
+
itervalues: Any
|
| 40 |
+
iteritems: Any
|
| 41 |
+
def __contains__(self, name): ...
|
| 42 |
+
def __getitem__(self, key): ...
|
| 43 |
+
|
| 44 |
+
class BlockReference:
|
| 45 |
+
name: Any
|
| 46 |
+
def __init__(self, name, context, stack, depth) -> None: ...
|
| 47 |
+
@property
|
| 48 |
+
def super(self): ...
|
| 49 |
+
def __call__(self): ...
|
| 50 |
+
|
| 51 |
+
class LoopContext:
|
| 52 |
+
index0: int
|
| 53 |
+
depth0: Any
|
| 54 |
+
def __init__(self, iterable, recurse: Optional[Any] = ..., depth0: int = ...) -> None: ...
|
| 55 |
+
def cycle(self, *args): ...
|
| 56 |
+
first: Any
|
| 57 |
+
last: Any
|
| 58 |
+
index: Any
|
| 59 |
+
revindex: Any
|
| 60 |
+
revindex0: Any
|
| 61 |
+
depth: Any
|
| 62 |
+
def __len__(self): ...
|
| 63 |
+
def __iter__(self): ...
|
| 64 |
+
def loop(self, iterable): ...
|
| 65 |
+
__call__: Any
|
| 66 |
+
@property
|
| 67 |
+
def length(self): ...
|
| 68 |
+
|
| 69 |
+
class LoopContextIterator:
|
| 70 |
+
context: Any
|
| 71 |
+
def __init__(self, context) -> None: ...
|
| 72 |
+
def __iter__(self): ...
|
| 73 |
+
def __next__(self): ...
|
| 74 |
+
|
| 75 |
+
class Macro:
|
| 76 |
+
name: Any
|
| 77 |
+
arguments: Any
|
| 78 |
+
defaults: Any
|
| 79 |
+
catch_kwargs: Any
|
| 80 |
+
catch_varargs: Any
|
| 81 |
+
caller: Any
|
| 82 |
+
def __init__(self, environment, func, name, arguments, defaults, catch_kwargs, catch_varargs, caller) -> None: ...
|
| 83 |
+
def __call__(self, *args, **kwargs): ...
|
| 84 |
+
|
| 85 |
+
class Undefined:
|
| 86 |
+
def __init__(self, hint: Optional[Any] = ..., obj: Any = ..., name: Optional[Any] = ..., exc: Any = ...) -> None: ...
|
| 87 |
+
def __getattr__(self, name): ...
|
| 88 |
+
__add__: Any
|
| 89 |
+
__radd__: Any
|
| 90 |
+
__mul__: Any
|
| 91 |
+
__rmul__: Any
|
| 92 |
+
__div__: Any
|
| 93 |
+
__rdiv__: Any
|
| 94 |
+
__truediv__: Any
|
| 95 |
+
__rtruediv__: Any
|
| 96 |
+
__floordiv__: Any
|
| 97 |
+
__rfloordiv__: Any
|
| 98 |
+
__mod__: Any
|
| 99 |
+
__rmod__: Any
|
| 100 |
+
__pos__: Any
|
| 101 |
+
__neg__: Any
|
| 102 |
+
__call__: Any
|
| 103 |
+
__getitem__: Any
|
| 104 |
+
__lt__: Any
|
| 105 |
+
__le__: Any
|
| 106 |
+
__gt__: Any
|
| 107 |
+
__ge__: Any
|
| 108 |
+
__int__: Any
|
| 109 |
+
__float__: Any
|
| 110 |
+
__complex__: Any
|
| 111 |
+
__pow__: Any
|
| 112 |
+
__rpow__: Any
|
| 113 |
+
def __eq__(self, other): ...
|
| 114 |
+
def __ne__(self, other): ...
|
| 115 |
+
def __hash__(self): ...
|
| 116 |
+
def __len__(self): ...
|
| 117 |
+
def __iter__(self): ...
|
| 118 |
+
def __nonzero__(self): ...
|
| 119 |
+
__bool__: Any
|
| 120 |
+
|
| 121 |
+
def make_logging_undefined(logger: Optional[Any] = ..., base: Optional[Any] = ...): ...
|
| 122 |
+
|
| 123 |
+
class DebugUndefined(Undefined): ...
|
| 124 |
+
|
| 125 |
+
class StrictUndefined(Undefined):
|
| 126 |
+
__iter__: Any
|
| 127 |
+
__len__: Any
|
| 128 |
+
__nonzero__: Any
|
| 129 |
+
__eq__: Any
|
| 130 |
+
__ne__: Any
|
| 131 |
+
__bool__: Any
|
| 132 |
+
__hash__: Any
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/sandbox.pyi
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any
|
| 2 |
+
|
| 3 |
+
from jinja2.environment import Environment
|
| 4 |
+
|
| 5 |
+
MAX_RANGE: int
|
| 6 |
+
UNSAFE_FUNCTION_ATTRIBUTES: Any
|
| 7 |
+
UNSAFE_METHOD_ATTRIBUTES: Any
|
| 8 |
+
UNSAFE_GENERATOR_ATTRIBUTES: Any
|
| 9 |
+
|
| 10 |
+
def safe_range(*args): ...
|
| 11 |
+
def unsafe(f): ...
|
| 12 |
+
def is_internal_attribute(obj, attr): ...
|
| 13 |
+
def modifies_known_mutable(obj, attr): ...
|
| 14 |
+
|
| 15 |
+
class SandboxedEnvironment(Environment):
|
| 16 |
+
sandboxed: bool
|
| 17 |
+
default_binop_table: Any
|
| 18 |
+
default_unop_table: Any
|
| 19 |
+
intercepted_binops: Any
|
| 20 |
+
intercepted_unops: Any
|
| 21 |
+
def intercept_unop(self, operator): ...
|
| 22 |
+
binop_table: Any
|
| 23 |
+
unop_table: Any
|
| 24 |
+
def __init__(self, *args, **kwargs) -> None: ...
|
| 25 |
+
def is_safe_attribute(self, obj, attr, value): ...
|
| 26 |
+
def is_safe_callable(self, obj): ...
|
| 27 |
+
def call_binop(self, context, operator, left, right): ...
|
| 28 |
+
def call_unop(self, context, operator, arg): ...
|
| 29 |
+
def getitem(self, obj, argument): ...
|
| 30 |
+
def getattr(self, obj, attribute): ...
|
| 31 |
+
def unsafe_undefined(self, obj, attribute): ...
|
| 32 |
+
def call(__self, __context, __obj, *args, **kwargs): ...
|
| 33 |
+
|
| 34 |
+
class ImmutableSandboxedEnvironment(SandboxedEnvironment):
|
| 35 |
+
def is_safe_attribute(self, obj, attr, value): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/utils.pyi
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from _typeshed import AnyPath
|
| 2 |
+
from typing import IO, Any, Callable, Iterable, Optional, Protocol, Text, TypeVar, Union
|
| 3 |
+
from typing_extensions import Literal
|
| 4 |
+
|
| 5 |
+
from markupsafe import Markup as Markup, escape as escape, soft_unicode as soft_unicode
|
| 6 |
+
|
| 7 |
+
missing: Any
|
| 8 |
+
internal_code: Any
|
| 9 |
+
concat: Any
|
| 10 |
+
|
| 11 |
+
_CallableT = TypeVar("_CallableT", bound=Callable[..., Any])
|
| 12 |
+
|
| 13 |
+
class _ContextFunction(Protocol[_CallableT]):
|
| 14 |
+
contextfunction: Literal[True]
|
| 15 |
+
__call__: _CallableT
|
| 16 |
+
|
| 17 |
+
class _EvalContextFunction(Protocol[_CallableT]):
|
| 18 |
+
evalcontextfunction: Literal[True]
|
| 19 |
+
__call__: _CallableT
|
| 20 |
+
|
| 21 |
+
class _EnvironmentFunction(Protocol[_CallableT]):
|
| 22 |
+
environmentfunction: Literal[True]
|
| 23 |
+
__call__: _CallableT
|
| 24 |
+
|
| 25 |
+
def contextfunction(f: _CallableT) -> _ContextFunction[_CallableT]: ...
|
| 26 |
+
def evalcontextfunction(f: _CallableT) -> _EvalContextFunction[_CallableT]: ...
|
| 27 |
+
def environmentfunction(f: _CallableT) -> _EnvironmentFunction[_CallableT]: ...
|
| 28 |
+
def internalcode(f: _CallableT) -> _CallableT: ...
|
| 29 |
+
def is_undefined(obj: object) -> bool: ...
|
| 30 |
+
def select_autoescape(
|
| 31 |
+
enabled_extensions: Iterable[str] = ...,
|
| 32 |
+
disabled_extensions: Iterable[str] = ...,
|
| 33 |
+
default_for_string: bool = ...,
|
| 34 |
+
default: bool = ...,
|
| 35 |
+
) -> Callable[[str], bool]: ...
|
| 36 |
+
def consume(iterable: Iterable[object]) -> None: ...
|
| 37 |
+
def clear_caches() -> None: ...
|
| 38 |
+
def import_string(import_name: str, silent: bool = ...) -> Any: ...
|
| 39 |
+
def open_if_exists(filename: AnyPath, mode: str = ...) -> Optional[IO[Any]]: ...
|
| 40 |
+
def object_type_repr(obj: object) -> str: ...
|
| 41 |
+
def pformat(obj: object, verbose: bool = ...) -> str: ...
|
| 42 |
+
def urlize(
|
| 43 |
+
text: Union[Markup, Text],
|
| 44 |
+
trim_url_limit: Optional[int] = ...,
|
| 45 |
+
rel: Optional[Union[Markup, Text]] = ...,
|
| 46 |
+
target: Optional[Union[Markup, Text]] = ...,
|
| 47 |
+
) -> str: ...
|
| 48 |
+
def generate_lorem_ipsum(n: int = ..., html: bool = ..., min: int = ..., max: int = ...) -> Union[Markup, str]: ...
|
| 49 |
+
def unicode_urlencode(obj: object, charset: str = ..., for_qs: bool = ...) -> str: ...
|
| 50 |
+
|
| 51 |
+
class LRUCache:
|
| 52 |
+
capacity: Any
|
| 53 |
+
def __init__(self, capacity) -> None: ...
|
| 54 |
+
def __getnewargs__(self): ...
|
| 55 |
+
def copy(self): ...
|
| 56 |
+
def get(self, key, default: Optional[Any] = ...): ...
|
| 57 |
+
def setdefault(self, key, default: Optional[Any] = ...): ...
|
| 58 |
+
def clear(self): ...
|
| 59 |
+
def __contains__(self, key): ...
|
| 60 |
+
def __len__(self): ...
|
| 61 |
+
def __getitem__(self, key): ...
|
| 62 |
+
def __setitem__(self, key, value): ...
|
| 63 |
+
def __delitem__(self, key): ...
|
| 64 |
+
def items(self): ...
|
| 65 |
+
def iteritems(self): ...
|
| 66 |
+
def values(self): ...
|
| 67 |
+
def itervalue(self): ...
|
| 68 |
+
def keys(self): ...
|
| 69 |
+
def iterkeys(self): ...
|
| 70 |
+
__iter__: Any
|
| 71 |
+
def __reversed__(self): ...
|
| 72 |
+
__copy__: Any
|
| 73 |
+
|
| 74 |
+
class Cycler:
|
| 75 |
+
items: Any
|
| 76 |
+
def __init__(self, *items) -> None: ...
|
| 77 |
+
pos: int
|
| 78 |
+
def reset(self): ...
|
| 79 |
+
@property
|
| 80 |
+
def current(self): ...
|
| 81 |
+
def __next__(self): ...
|
| 82 |
+
|
| 83 |
+
class Joiner:
|
| 84 |
+
sep: Any
|
| 85 |
+
used: bool
|
| 86 |
+
def __init__(self, sep: str = ...) -> None: ...
|
| 87 |
+
def __call__(self): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/jinja2/visitor.pyi
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class NodeVisitor:
|
| 2 |
+
def get_visitor(self, node): ...
|
| 3 |
+
def visit(self, node, *args, **kwargs): ...
|
| 4 |
+
def generic_visit(self, node, *args, **kwargs): ...
|
| 5 |
+
|
| 6 |
+
class NodeTransformer(NodeVisitor):
|
| 7 |
+
def generic_visit(self, node, *args, **kwargs): ...
|
| 8 |
+
def visit_list(self, node, *args, **kwargs): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markupsafe/__init__.pyi
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import string
|
| 2 |
+
import sys
|
| 3 |
+
from collections import Mapping
|
| 4 |
+
from typing import Any, Callable, Iterable, List, Optional, Sequence, Text, Tuple, Union
|
| 5 |
+
|
| 6 |
+
from markupsafe._compat import text_type
|
| 7 |
+
from markupsafe._native import escape as escape, escape_silent as escape_silent, soft_unicode as soft_unicode
|
| 8 |
+
|
| 9 |
+
class Markup(text_type):
|
| 10 |
+
def __new__(cls, base: Text = ..., encoding: Optional[Text] = ..., errors: Text = ...) -> Markup: ...
|
| 11 |
+
def __html__(self) -> Markup: ...
|
| 12 |
+
def __add__(self, other: text_type) -> Markup: ...
|
| 13 |
+
def __radd__(self, other: text_type) -> Markup: ...
|
| 14 |
+
def __mul__(self, num: int) -> Markup: ...
|
| 15 |
+
def __rmul__(self, num: int) -> Markup: ...
|
| 16 |
+
def __mod__(self, *args: Any) -> Markup: ...
|
| 17 |
+
def join(self, seq: Iterable[text_type]): ...
|
| 18 |
+
def split(self, sep: Optional[text_type] = ..., maxsplit: int = ...) -> List[text_type]: ...
|
| 19 |
+
def rsplit(self, sep: Optional[text_type] = ..., maxsplit: int = ...) -> List[text_type]: ...
|
| 20 |
+
def splitlines(self, keepends: bool = ...) -> List[text_type]: ...
|
| 21 |
+
def unescape(self) -> Text: ...
|
| 22 |
+
def striptags(self) -> Text: ...
|
| 23 |
+
@classmethod
|
| 24 |
+
def escape(cls, s: text_type) -> Markup: ... # noqa: F811
|
| 25 |
+
def partition(self, sep: text_type) -> Tuple[Markup, Markup, Markup]: ...
|
| 26 |
+
def rpartition(self, sep: text_type) -> Tuple[Markup, Markup, Markup]: ...
|
| 27 |
+
def format(self, *args, **kwargs) -> Markup: ...
|
| 28 |
+
def __html_format__(self, format_spec) -> Markup: ...
|
| 29 |
+
def __getslice__(self, start: int, stop: int) -> Markup: ...
|
| 30 |
+
def __getitem__(self, i: Union[int, slice]) -> Markup: ...
|
| 31 |
+
def capitalize(self) -> Markup: ...
|
| 32 |
+
def title(self) -> Markup: ...
|
| 33 |
+
def lower(self) -> Markup: ...
|
| 34 |
+
def upper(self) -> Markup: ...
|
| 35 |
+
def swapcase(self) -> Markup: ...
|
| 36 |
+
def replace(self, old: text_type, new: text_type, count: int = ...) -> Markup: ...
|
| 37 |
+
def ljust(self, width: int, fillchar: text_type = ...) -> Markup: ...
|
| 38 |
+
def rjust(self, width: int, fillchar: text_type = ...) -> Markup: ...
|
| 39 |
+
def lstrip(self, chars: Optional[text_type] = ...) -> Markup: ...
|
| 40 |
+
def rstrip(self, chars: Optional[text_type] = ...) -> Markup: ...
|
| 41 |
+
def strip(self, chars: Optional[text_type] = ...) -> Markup: ...
|
| 42 |
+
def center(self, width: int, fillchar: text_type = ...) -> Markup: ...
|
| 43 |
+
def zfill(self, width: int) -> Markup: ...
|
| 44 |
+
def translate(
|
| 45 |
+
self, table: Union[Mapping[int, Union[int, text_type, None]], Sequence[Union[int, text_type, None]]]
|
| 46 |
+
) -> Markup: ...
|
| 47 |
+
def expandtabs(self, tabsize: int = ...) -> Markup: ...
|
| 48 |
+
|
| 49 |
+
class EscapeFormatter(string.Formatter):
|
| 50 |
+
escape: Callable[[text_type], Markup]
|
| 51 |
+
def __init__(self, escape: Callable[[text_type], Markup]) -> None: ... # noqa: F811
|
| 52 |
+
def format_field(self, value: text_type, format_spec: text_type) -> Markup: ...
|
| 53 |
+
|
| 54 |
+
if sys.version_info >= (3,):
|
| 55 |
+
soft_str = soft_unicode
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markupsafe/_compat.pyi
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
from typing import Iterator, Mapping, Tuple, TypeVar
|
| 3 |
+
|
| 4 |
+
_K = TypeVar("_K")
|
| 5 |
+
_V = TypeVar("_V")
|
| 6 |
+
|
| 7 |
+
PY2: bool
|
| 8 |
+
|
| 9 |
+
def iteritems(d: Mapping[_K, _V]) -> Iterator[Tuple[_K, _V]]: ...
|
| 10 |
+
|
| 11 |
+
if sys.version_info >= (3,):
|
| 12 |
+
text_type = str
|
| 13 |
+
string_types = (str,)
|
| 14 |
+
unichr = chr
|
| 15 |
+
int_types = (int,)
|
| 16 |
+
else:
|
| 17 |
+
from __builtin__ import unichr as unichr
|
| 18 |
+
|
| 19 |
+
text_type = unicode
|
| 20 |
+
string_types = (str, unicode)
|
| 21 |
+
int_types = (int, long)
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markupsafe/_native.pyi
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Text, Union
|
| 2 |
+
|
| 3 |
+
from . import Markup
|
| 4 |
+
from ._compat import text_type
|
| 5 |
+
|
| 6 |
+
def escape(s: Union[Markup, Text]) -> Markup: ...
|
| 7 |
+
def escape_silent(s: Union[None, Markup, Text]) -> Markup: ...
|
| 8 |
+
def soft_unicode(s: Text) -> text_type: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/markupsafe/_speedups.pyi
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Text, Union
|
| 2 |
+
|
| 3 |
+
from . import Markup
|
| 4 |
+
from ._compat import text_type
|
| 5 |
+
|
| 6 |
+
def escape(s: Union[Markup, Text]) -> Markup: ...
|
| 7 |
+
def escape_silent(s: Union[None, Markup, Text]) -> Markup: ...
|
| 8 |
+
def soft_unicode(s: Text) -> text_type: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vim/fault.pyi
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any
|
| 2 |
+
|
| 3 |
+
def __getattr__(name: str) -> Any: ... # incomplete
|
| 4 |
+
|
| 5 |
+
class InvalidName(Exception): ...
|
| 6 |
+
class RestrictedByAdministrator(Exception): ...
|
| 7 |
+
class NoPermission(Exception): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vim/option.pyi
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, List
|
| 2 |
+
|
| 3 |
+
def __getattr__(name: str) -> Any: ... # incomplete
|
| 4 |
+
|
| 5 |
+
class OptionManager:
|
| 6 |
+
def QueryOptions(self, name: str) -> List[OptionValue]: ...
|
| 7 |
+
|
| 8 |
+
class OptionValue:
|
| 9 |
+
value: Any
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pymysql/constants/CLIENT.pyi
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
LONG_PASSWORD: int
|
| 2 |
+
FOUND_ROWS: int
|
| 3 |
+
LONG_FLAG: int
|
| 4 |
+
CONNECT_WITH_DB: int
|
| 5 |
+
NO_SCHEMA: int
|
| 6 |
+
COMPRESS: int
|
| 7 |
+
ODBC: int
|
| 8 |
+
LOCAL_FILES: int
|
| 9 |
+
IGNORE_SPACE: int
|
| 10 |
+
PROTOCOL_41: int
|
| 11 |
+
INTERACTIVE: int
|
| 12 |
+
SSL: int
|
| 13 |
+
IGNORE_SIGPIPE: int
|
| 14 |
+
TRANSACTIONS: int
|
| 15 |
+
SECURE_CONNECTION: int
|
| 16 |
+
MULTI_STATEMENTS: int
|
| 17 |
+
MULTI_RESULTS: int
|
| 18 |
+
CAPABILITIES: int
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pymysql/constants/COMMAND.pyi
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
COM_SLEEP: int
|
| 2 |
+
COM_QUIT: int
|
| 3 |
+
COM_INIT_DB: int
|
| 4 |
+
COM_QUERY: int
|
| 5 |
+
COM_FIELD_LIST: int
|
| 6 |
+
COM_CREATE_DB: int
|
| 7 |
+
COM_DROP_DB: int
|
| 8 |
+
COM_REFRESH: int
|
| 9 |
+
COM_SHUTDOWN: int
|
| 10 |
+
COM_STATISTICS: int
|
| 11 |
+
COM_PROCESS_INFO: int
|
| 12 |
+
COM_CONNECT: int
|
| 13 |
+
COM_PROCESS_KILL: int
|
| 14 |
+
COM_DEBUG: int
|
| 15 |
+
COM_PING: int
|
| 16 |
+
COM_TIME: int
|
| 17 |
+
COM_DELAYED_INSERT: int
|
| 18 |
+
COM_CHANGE_USER: int
|
| 19 |
+
COM_BINLOG_DUMP: int
|
| 20 |
+
COM_TABLE_DUMP: int
|
| 21 |
+
COM_CONNECT_OUT: int
|
| 22 |
+
COM_REGISTER_SLAVE: int
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pymysql/constants/ER.pyi
ADDED
|
@@ -0,0 +1,471 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
ERROR_FIRST: int
|
| 2 |
+
HASHCHK: int
|
| 3 |
+
NISAMCHK: int
|
| 4 |
+
NO: int
|
| 5 |
+
YES: int
|
| 6 |
+
CANT_CREATE_FILE: int
|
| 7 |
+
CANT_CREATE_TABLE: int
|
| 8 |
+
CANT_CREATE_DB: int
|
| 9 |
+
DB_CREATE_EXISTS: int
|
| 10 |
+
DB_DROP_EXISTS: int
|
| 11 |
+
DB_DROP_DELETE: int
|
| 12 |
+
DB_DROP_RMDIR: int
|
| 13 |
+
CANT_DELETE_FILE: int
|
| 14 |
+
CANT_FIND_SYSTEM_REC: int
|
| 15 |
+
CANT_GET_STAT: int
|
| 16 |
+
CANT_GET_WD: int
|
| 17 |
+
CANT_LOCK: int
|
| 18 |
+
CANT_OPEN_FILE: int
|
| 19 |
+
FILE_NOT_FOUND: int
|
| 20 |
+
CANT_READ_DIR: int
|
| 21 |
+
CANT_SET_WD: int
|
| 22 |
+
CHECKREAD: int
|
| 23 |
+
DISK_FULL: int
|
| 24 |
+
DUP_KEY: int
|
| 25 |
+
ERROR_ON_CLOSE: int
|
| 26 |
+
ERROR_ON_READ: int
|
| 27 |
+
ERROR_ON_RENAME: int
|
| 28 |
+
ERROR_ON_WRITE: int
|
| 29 |
+
FILE_USED: int
|
| 30 |
+
FILSORT_ABORT: int
|
| 31 |
+
FORM_NOT_FOUND: int
|
| 32 |
+
GET_ERRNO: int
|
| 33 |
+
ILLEGAL_HA: int
|
| 34 |
+
KEY_NOT_FOUND: int
|
| 35 |
+
NOT_FORM_FILE: int
|
| 36 |
+
NOT_KEYFILE: int
|
| 37 |
+
OLD_KEYFILE: int
|
| 38 |
+
OPEN_AS_READONLY: int
|
| 39 |
+
OUTOFMEMORY: int
|
| 40 |
+
OUT_OF_SORTMEMORY: int
|
| 41 |
+
UNEXPECTED_EOF: int
|
| 42 |
+
CON_COUNT_ERROR: int
|
| 43 |
+
OUT_OF_RESOURCES: int
|
| 44 |
+
BAD_HOST_ERROR: int
|
| 45 |
+
HANDSHAKE_ERROR: int
|
| 46 |
+
DBACCESS_DENIED_ERROR: int
|
| 47 |
+
ACCESS_DENIED_ERROR: int
|
| 48 |
+
NO_DB_ERROR: int
|
| 49 |
+
UNKNOWN_COM_ERROR: int
|
| 50 |
+
BAD_NULL_ERROR: int
|
| 51 |
+
BAD_DB_ERROR: int
|
| 52 |
+
TABLE_EXISTS_ERROR: int
|
| 53 |
+
BAD_TABLE_ERROR: int
|
| 54 |
+
NON_UNIQ_ERROR: int
|
| 55 |
+
SERVER_SHUTDOWN: int
|
| 56 |
+
BAD_FIELD_ERROR: int
|
| 57 |
+
WRONG_FIELD_WITH_GROUP: int
|
| 58 |
+
WRONG_GROUP_FIELD: int
|
| 59 |
+
WRONG_SUM_SELECT: int
|
| 60 |
+
WRONG_VALUE_COUNT: int
|
| 61 |
+
TOO_LONG_IDENT: int
|
| 62 |
+
DUP_FIELDNAME: int
|
| 63 |
+
DUP_KEYNAME: int
|
| 64 |
+
DUP_ENTRY: int
|
| 65 |
+
WRONG_FIELD_SPEC: int
|
| 66 |
+
PARSE_ERROR: int
|
| 67 |
+
EMPTY_QUERY: int
|
| 68 |
+
NONUNIQ_TABLE: int
|
| 69 |
+
INVALID_DEFAULT: int
|
| 70 |
+
MULTIPLE_PRI_KEY: int
|
| 71 |
+
TOO_MANY_KEYS: int
|
| 72 |
+
TOO_MANY_KEY_PARTS: int
|
| 73 |
+
TOO_LONG_KEY: int
|
| 74 |
+
KEY_COLUMN_DOES_NOT_EXITS: int
|
| 75 |
+
BLOB_USED_AS_KEY: int
|
| 76 |
+
TOO_BIG_FIELDLENGTH: int
|
| 77 |
+
WRONG_AUTO_KEY: int
|
| 78 |
+
READY: int
|
| 79 |
+
NORMAL_SHUTDOWN: int
|
| 80 |
+
GOT_SIGNAL: int
|
| 81 |
+
SHUTDOWN_COMPLETE: int
|
| 82 |
+
FORCING_CLOSE: int
|
| 83 |
+
IPSOCK_ERROR: int
|
| 84 |
+
NO_SUCH_INDEX: int
|
| 85 |
+
WRONG_FIELD_TERMINATORS: int
|
| 86 |
+
BLOBS_AND_NO_TERMINATED: int
|
| 87 |
+
TEXTFILE_NOT_READABLE: int
|
| 88 |
+
FILE_EXISTS_ERROR: int
|
| 89 |
+
LOAD_INFO: int
|
| 90 |
+
ALTER_INFO: int
|
| 91 |
+
WRONG_SUB_KEY: int
|
| 92 |
+
CANT_REMOVE_ALL_FIELDS: int
|
| 93 |
+
CANT_DROP_FIELD_OR_KEY: int
|
| 94 |
+
INSERT_INFO: int
|
| 95 |
+
UPDATE_TABLE_USED: int
|
| 96 |
+
NO_SUCH_THREAD: int
|
| 97 |
+
KILL_DENIED_ERROR: int
|
| 98 |
+
NO_TABLES_USED: int
|
| 99 |
+
TOO_BIG_SET: int
|
| 100 |
+
NO_UNIQUE_LOGFILE: int
|
| 101 |
+
TABLE_NOT_LOCKED_FOR_WRITE: int
|
| 102 |
+
TABLE_NOT_LOCKED: int
|
| 103 |
+
BLOB_CANT_HAVE_DEFAULT: int
|
| 104 |
+
WRONG_DB_NAME: int
|
| 105 |
+
WRONG_TABLE_NAME: int
|
| 106 |
+
TOO_BIG_SELECT: int
|
| 107 |
+
UNKNOWN_ERROR: int
|
| 108 |
+
UNKNOWN_PROCEDURE: int
|
| 109 |
+
WRONG_PARAMCOUNT_TO_PROCEDURE: int
|
| 110 |
+
WRONG_PARAMETERS_TO_PROCEDURE: int
|
| 111 |
+
UNKNOWN_TABLE: int
|
| 112 |
+
FIELD_SPECIFIED_TWICE: int
|
| 113 |
+
INVALID_GROUP_FUNC_USE: int
|
| 114 |
+
UNSUPPORTED_EXTENSION: int
|
| 115 |
+
TABLE_MUST_HAVE_COLUMNS: int
|
| 116 |
+
RECORD_FILE_FULL: int
|
| 117 |
+
UNKNOWN_CHARACTER_SET: int
|
| 118 |
+
TOO_MANY_TABLES: int
|
| 119 |
+
TOO_MANY_FIELDS: int
|
| 120 |
+
TOO_BIG_ROWSIZE: int
|
| 121 |
+
STACK_OVERRUN: int
|
| 122 |
+
WRONG_OUTER_JOIN: int
|
| 123 |
+
NULL_COLUMN_IN_INDEX: int
|
| 124 |
+
CANT_FIND_UDF: int
|
| 125 |
+
CANT_INITIALIZE_UDF: int
|
| 126 |
+
UDF_NO_PATHS: int
|
| 127 |
+
UDF_EXISTS: int
|
| 128 |
+
CANT_OPEN_LIBRARY: int
|
| 129 |
+
CANT_FIND_DL_ENTRY: int
|
| 130 |
+
FUNCTION_NOT_DEFINED: int
|
| 131 |
+
HOST_IS_BLOCKED: int
|
| 132 |
+
HOST_NOT_PRIVILEGED: int
|
| 133 |
+
PASSWORD_ANONYMOUS_USER: int
|
| 134 |
+
PASSWORD_NOT_ALLOWED: int
|
| 135 |
+
PASSWORD_NO_MATCH: int
|
| 136 |
+
UPDATE_INFO: int
|
| 137 |
+
CANT_CREATE_THREAD: int
|
| 138 |
+
WRONG_VALUE_COUNT_ON_ROW: int
|
| 139 |
+
CANT_REOPEN_TABLE: int
|
| 140 |
+
INVALID_USE_OF_NULL: int
|
| 141 |
+
REGEXP_ERROR: int
|
| 142 |
+
MIX_OF_GROUP_FUNC_AND_FIELDS: int
|
| 143 |
+
NONEXISTING_GRANT: int
|
| 144 |
+
TABLEACCESS_DENIED_ERROR: int
|
| 145 |
+
COLUMNACCESS_DENIED_ERROR: int
|
| 146 |
+
ILLEGAL_GRANT_FOR_TABLE: int
|
| 147 |
+
GRANT_WRONG_HOST_OR_USER: int
|
| 148 |
+
NO_SUCH_TABLE: int
|
| 149 |
+
NONEXISTING_TABLE_GRANT: int
|
| 150 |
+
NOT_ALLOWED_COMMAND: int
|
| 151 |
+
SYNTAX_ERROR: int
|
| 152 |
+
DELAYED_CANT_CHANGE_LOCK: int
|
| 153 |
+
TOO_MANY_DELAYED_THREADS: int
|
| 154 |
+
ABORTING_CONNECTION: int
|
| 155 |
+
NET_PACKET_TOO_LARGE: int
|
| 156 |
+
NET_READ_ERROR_FROM_PIPE: int
|
| 157 |
+
NET_FCNTL_ERROR: int
|
| 158 |
+
NET_PACKETS_OUT_OF_ORDER: int
|
| 159 |
+
NET_UNCOMPRESS_ERROR: int
|
| 160 |
+
NET_READ_ERROR: int
|
| 161 |
+
NET_READ_INTERRUPTED: int
|
| 162 |
+
NET_ERROR_ON_WRITE: int
|
| 163 |
+
NET_WRITE_INTERRUPTED: int
|
| 164 |
+
TOO_LONG_STRING: int
|
| 165 |
+
TABLE_CANT_HANDLE_BLOB: int
|
| 166 |
+
TABLE_CANT_HANDLE_AUTO_INCREMENT: int
|
| 167 |
+
DELAYED_INSERT_TABLE_LOCKED: int
|
| 168 |
+
WRONG_COLUMN_NAME: int
|
| 169 |
+
WRONG_KEY_COLUMN: int
|
| 170 |
+
WRONG_MRG_TABLE: int
|
| 171 |
+
DUP_UNIQUE: int
|
| 172 |
+
BLOB_KEY_WITHOUT_LENGTH: int
|
| 173 |
+
PRIMARY_CANT_HAVE_NULL: int
|
| 174 |
+
TOO_MANY_ROWS: int
|
| 175 |
+
REQUIRES_PRIMARY_KEY: int
|
| 176 |
+
NO_RAID_COMPILED: int
|
| 177 |
+
UPDATE_WITHOUT_KEY_IN_SAFE_MODE: int
|
| 178 |
+
KEY_DOES_NOT_EXITS: int
|
| 179 |
+
CHECK_NO_SUCH_TABLE: int
|
| 180 |
+
CHECK_NOT_IMPLEMENTED: int
|
| 181 |
+
CANT_DO_THIS_DURING_AN_TRANSACTION: int
|
| 182 |
+
ERROR_DURING_COMMIT: int
|
| 183 |
+
ERROR_DURING_ROLLBACK: int
|
| 184 |
+
ERROR_DURING_FLUSH_LOGS: int
|
| 185 |
+
ERROR_DURING_CHECKPOINT: int
|
| 186 |
+
NEW_ABORTING_CONNECTION: int
|
| 187 |
+
DUMP_NOT_IMPLEMENTED: int
|
| 188 |
+
FLUSH_MASTER_BINLOG_CLOSED: int
|
| 189 |
+
INDEX_REBUILD: int
|
| 190 |
+
MASTER: int
|
| 191 |
+
MASTER_NET_READ: int
|
| 192 |
+
MASTER_NET_WRITE: int
|
| 193 |
+
FT_MATCHING_KEY_NOT_FOUND: int
|
| 194 |
+
LOCK_OR_ACTIVE_TRANSACTION: int
|
| 195 |
+
UNKNOWN_SYSTEM_VARIABLE: int
|
| 196 |
+
CRASHED_ON_USAGE: int
|
| 197 |
+
CRASHED_ON_REPAIR: int
|
| 198 |
+
WARNING_NOT_COMPLETE_ROLLBACK: int
|
| 199 |
+
TRANS_CACHE_FULL: int
|
| 200 |
+
SLAVE_MUST_STOP: int
|
| 201 |
+
SLAVE_NOT_RUNNING: int
|
| 202 |
+
BAD_SLAVE: int
|
| 203 |
+
MASTER_INFO: int
|
| 204 |
+
SLAVE_THREAD: int
|
| 205 |
+
TOO_MANY_USER_CONNECTIONS: int
|
| 206 |
+
SET_CONSTANTS_ONLY: int
|
| 207 |
+
LOCK_WAIT_TIMEOUT: int
|
| 208 |
+
LOCK_TABLE_FULL: int
|
| 209 |
+
READ_ONLY_TRANSACTION: int
|
| 210 |
+
DROP_DB_WITH_READ_LOCK: int
|
| 211 |
+
CREATE_DB_WITH_READ_LOCK: int
|
| 212 |
+
WRONG_ARGUMENTS: int
|
| 213 |
+
NO_PERMISSION_TO_CREATE_USER: int
|
| 214 |
+
UNION_TABLES_IN_DIFFERENT_DIR: int
|
| 215 |
+
LOCK_DEADLOCK: int
|
| 216 |
+
TABLE_CANT_HANDLE_FT: int
|
| 217 |
+
CANNOT_ADD_FOREIGN: int
|
| 218 |
+
NO_REFERENCED_ROW: int
|
| 219 |
+
ROW_IS_REFERENCED: int
|
| 220 |
+
CONNECT_TO_MASTER: int
|
| 221 |
+
QUERY_ON_MASTER: int
|
| 222 |
+
ERROR_WHEN_EXECUTING_COMMAND: int
|
| 223 |
+
WRONG_USAGE: int
|
| 224 |
+
WRONG_NUMBER_OF_COLUMNS_IN_SELECT: int
|
| 225 |
+
CANT_UPDATE_WITH_READLOCK: int
|
| 226 |
+
MIXING_NOT_ALLOWED: int
|
| 227 |
+
DUP_ARGUMENT: int
|
| 228 |
+
USER_LIMIT_REACHED: int
|
| 229 |
+
SPECIFIC_ACCESS_DENIED_ERROR: int
|
| 230 |
+
LOCAL_VARIABLE: int
|
| 231 |
+
GLOBAL_VARIABLE: int
|
| 232 |
+
NO_DEFAULT: int
|
| 233 |
+
WRONG_VALUE_FOR_VAR: int
|
| 234 |
+
WRONG_TYPE_FOR_VAR: int
|
| 235 |
+
VAR_CANT_BE_READ: int
|
| 236 |
+
CANT_USE_OPTION_HERE: int
|
| 237 |
+
NOT_SUPPORTED_YET: int
|
| 238 |
+
MASTER_FATAL_ERROR_READING_BINLOG: int
|
| 239 |
+
SLAVE_IGNORED_TABLE: int
|
| 240 |
+
INCORRECT_GLOBAL_LOCAL_VAR: int
|
| 241 |
+
WRONG_FK_DEF: int
|
| 242 |
+
KEY_REF_DO_NOT_MATCH_TABLE_REF: int
|
| 243 |
+
OPERAND_COLUMNS: int
|
| 244 |
+
SUBQUERY_NO_1_ROW: int
|
| 245 |
+
UNKNOWN_STMT_HANDLER: int
|
| 246 |
+
CORRUPT_HELP_DB: int
|
| 247 |
+
CYCLIC_REFERENCE: int
|
| 248 |
+
AUTO_CONVERT: int
|
| 249 |
+
ILLEGAL_REFERENCE: int
|
| 250 |
+
DERIVED_MUST_HAVE_ALIAS: int
|
| 251 |
+
SELECT_REDUCED: int
|
| 252 |
+
TABLENAME_NOT_ALLOWED_HERE: int
|
| 253 |
+
NOT_SUPPORTED_AUTH_MODE: int
|
| 254 |
+
SPATIAL_CANT_HAVE_NULL: int
|
| 255 |
+
COLLATION_CHARSET_MISMATCH: int
|
| 256 |
+
SLAVE_WAS_RUNNING: int
|
| 257 |
+
SLAVE_WAS_NOT_RUNNING: int
|
| 258 |
+
TOO_BIG_FOR_UNCOMPRESS: int
|
| 259 |
+
ZLIB_Z_MEM_ERROR: int
|
| 260 |
+
ZLIB_Z_BUF_ERROR: int
|
| 261 |
+
ZLIB_Z_DATA_ERROR: int
|
| 262 |
+
CUT_VALUE_GROUP_CONCAT: int
|
| 263 |
+
WARN_TOO_FEW_RECORDS: int
|
| 264 |
+
WARN_TOO_MANY_RECORDS: int
|
| 265 |
+
WARN_NULL_TO_NOTNULL: int
|
| 266 |
+
WARN_DATA_OUT_OF_RANGE: int
|
| 267 |
+
WARN_DATA_TRUNCATED: int
|
| 268 |
+
WARN_USING_OTHER_HANDLER: int
|
| 269 |
+
CANT_AGGREGATE_2COLLATIONS: int
|
| 270 |
+
DROP_USER: int
|
| 271 |
+
REVOKE_GRANTS: int
|
| 272 |
+
CANT_AGGREGATE_3COLLATIONS: int
|
| 273 |
+
CANT_AGGREGATE_NCOLLATIONS: int
|
| 274 |
+
VARIABLE_IS_NOT_STRUCT: int
|
| 275 |
+
UNKNOWN_COLLATION: int
|
| 276 |
+
SLAVE_IGNORED_SSL_PARAMS: int
|
| 277 |
+
SERVER_IS_IN_SECURE_AUTH_MODE: int
|
| 278 |
+
WARN_FIELD_RESOLVED: int
|
| 279 |
+
BAD_SLAVE_UNTIL_COND: int
|
| 280 |
+
MISSING_SKIP_SLAVE: int
|
| 281 |
+
UNTIL_COND_IGNORED: int
|
| 282 |
+
WRONG_NAME_FOR_INDEX: int
|
| 283 |
+
WRONG_NAME_FOR_CATALOG: int
|
| 284 |
+
WARN_QC_RESIZE: int
|
| 285 |
+
BAD_FT_COLUMN: int
|
| 286 |
+
UNKNOWN_KEY_CACHE: int
|
| 287 |
+
WARN_HOSTNAME_WONT_WORK: int
|
| 288 |
+
UNKNOWN_STORAGE_ENGINE: int
|
| 289 |
+
WARN_DEPRECATED_SYNTAX: int
|
| 290 |
+
NON_UPDATABLE_TABLE: int
|
| 291 |
+
FEATURE_DISABLED: int
|
| 292 |
+
OPTION_PREVENTS_STATEMENT: int
|
| 293 |
+
DUPLICATED_VALUE_IN_TYPE: int
|
| 294 |
+
TRUNCATED_WRONG_VALUE: int
|
| 295 |
+
TOO_MUCH_AUTO_TIMESTAMP_COLS: int
|
| 296 |
+
INVALID_ON_UPDATE: int
|
| 297 |
+
UNSUPPORTED_PS: int
|
| 298 |
+
GET_ERRMSG: int
|
| 299 |
+
GET_TEMPORARY_ERRMSG: int
|
| 300 |
+
UNKNOWN_TIME_ZONE: int
|
| 301 |
+
WARN_INVALID_TIMESTAMP: int
|
| 302 |
+
INVALID_CHARACTER_STRING: int
|
| 303 |
+
WARN_ALLOWED_PACKET_OVERFLOWED: int
|
| 304 |
+
CONFLICTING_DECLARATIONS: int
|
| 305 |
+
SP_NO_RECURSIVE_CREATE: int
|
| 306 |
+
SP_ALREADY_EXISTS: int
|
| 307 |
+
SP_DOES_NOT_EXIST: int
|
| 308 |
+
SP_DROP_FAILED: int
|
| 309 |
+
SP_STORE_FAILED: int
|
| 310 |
+
SP_LILABEL_MISMATCH: int
|
| 311 |
+
SP_LABEL_REDEFINE: int
|
| 312 |
+
SP_LABEL_MISMATCH: int
|
| 313 |
+
SP_UNINIT_VAR: int
|
| 314 |
+
SP_BADSELECT: int
|
| 315 |
+
SP_BADRETURN: int
|
| 316 |
+
SP_BADSTATEMENT: int
|
| 317 |
+
UPDATE_LOG_DEPRECATED_IGNORED: int
|
| 318 |
+
UPDATE_LOG_DEPRECATED_TRANSLATED: int
|
| 319 |
+
QUERY_INTERRUPTED: int
|
| 320 |
+
SP_WRONG_NO_OF_ARGS: int
|
| 321 |
+
SP_COND_MISMATCH: int
|
| 322 |
+
SP_NORETURN: int
|
| 323 |
+
SP_NORETURNEND: int
|
| 324 |
+
SP_BAD_CURSOR_QUERY: int
|
| 325 |
+
SP_BAD_CURSOR_SELECT: int
|
| 326 |
+
SP_CURSOR_MISMATCH: int
|
| 327 |
+
SP_CURSOR_ALREADY_OPEN: int
|
| 328 |
+
SP_CURSOR_NOT_OPEN: int
|
| 329 |
+
SP_UNDECLARED_VAR: int
|
| 330 |
+
SP_WRONG_NO_OF_FETCH_ARGS: int
|
| 331 |
+
SP_FETCH_NO_DATA: int
|
| 332 |
+
SP_DUP_PARAM: int
|
| 333 |
+
SP_DUP_VAR: int
|
| 334 |
+
SP_DUP_COND: int
|
| 335 |
+
SP_DUP_CURS: int
|
| 336 |
+
SP_CANT_ALTER: int
|
| 337 |
+
SP_SUBSELECT_NYI: int
|
| 338 |
+
STMT_NOT_ALLOWED_IN_SF_OR_TRG: int
|
| 339 |
+
SP_VARCOND_AFTER_CURSHNDLR: int
|
| 340 |
+
SP_CURSOR_AFTER_HANDLER: int
|
| 341 |
+
SP_CASE_NOT_FOUND: int
|
| 342 |
+
FPARSER_TOO_BIG_FILE: int
|
| 343 |
+
FPARSER_BAD_HEADER: int
|
| 344 |
+
FPARSER_EOF_IN_COMMENT: int
|
| 345 |
+
FPARSER_ERROR_IN_PARAMETER: int
|
| 346 |
+
FPARSER_EOF_IN_UNKNOWN_PARAMETER: int
|
| 347 |
+
VIEW_NO_EXPLAIN: int
|
| 348 |
+
FRM_UNKNOWN_TYPE: int
|
| 349 |
+
WRONG_OBJECT: int
|
| 350 |
+
NONUPDATEABLE_COLUMN: int
|
| 351 |
+
VIEW_SELECT_DERIVED: int
|
| 352 |
+
VIEW_SELECT_CLAUSE: int
|
| 353 |
+
VIEW_SELECT_VARIABLE: int
|
| 354 |
+
VIEW_SELECT_TMPTABLE: int
|
| 355 |
+
VIEW_WRONG_LIST: int
|
| 356 |
+
WARN_VIEW_MERGE: int
|
| 357 |
+
WARN_VIEW_WITHOUT_KEY: int
|
| 358 |
+
VIEW_INVALID: int
|
| 359 |
+
SP_NO_DROP_SP: int
|
| 360 |
+
SP_GOTO_IN_HNDLR: int
|
| 361 |
+
TRG_ALREADY_EXISTS: int
|
| 362 |
+
TRG_DOES_NOT_EXIST: int
|
| 363 |
+
TRG_ON_VIEW_OR_TEMP_TABLE: int
|
| 364 |
+
TRG_CANT_CHANGE_ROW: int
|
| 365 |
+
TRG_NO_SUCH_ROW_IN_TRG: int
|
| 366 |
+
NO_DEFAULT_FOR_FIELD: int
|
| 367 |
+
DIVISION_BY_ZERO: int
|
| 368 |
+
TRUNCATED_WRONG_VALUE_FOR_FIELD: int
|
| 369 |
+
ILLEGAL_VALUE_FOR_TYPE: int
|
| 370 |
+
VIEW_NONUPD_CHECK: int
|
| 371 |
+
VIEW_CHECK_FAILED: int
|
| 372 |
+
PROCACCESS_DENIED_ERROR: int
|
| 373 |
+
RELAY_LOG_FAIL: int
|
| 374 |
+
PASSWD_LENGTH: int
|
| 375 |
+
UNKNOWN_TARGET_BINLOG: int
|
| 376 |
+
IO_ERR_LOG_INDEX_READ: int
|
| 377 |
+
BINLOG_PURGE_PROHIBITED: int
|
| 378 |
+
FSEEK_FAIL: int
|
| 379 |
+
BINLOG_PURGE_FATAL_ERR: int
|
| 380 |
+
LOG_IN_USE: int
|
| 381 |
+
LOG_PURGE_UNKNOWN_ERR: int
|
| 382 |
+
RELAY_LOG_INIT: int
|
| 383 |
+
NO_BINARY_LOGGING: int
|
| 384 |
+
RESERVED_SYNTAX: int
|
| 385 |
+
WSAS_FAILED: int
|
| 386 |
+
DIFF_GROUPS_PROC: int
|
| 387 |
+
NO_GROUP_FOR_PROC: int
|
| 388 |
+
ORDER_WITH_PROC: int
|
| 389 |
+
LOGGING_PROHIBIT_CHANGING_OF: int
|
| 390 |
+
NO_FILE_MAPPING: int
|
| 391 |
+
WRONG_MAGIC: int
|
| 392 |
+
PS_MANY_PARAM: int
|
| 393 |
+
KEY_PART_0: int
|
| 394 |
+
VIEW_CHECKSUM: int
|
| 395 |
+
VIEW_MULTIUPDATE: int
|
| 396 |
+
VIEW_NO_INSERT_FIELD_LIST: int
|
| 397 |
+
VIEW_DELETE_MERGE_VIEW: int
|
| 398 |
+
CANNOT_USER: int
|
| 399 |
+
XAER_NOTA: int
|
| 400 |
+
XAER_INVAL: int
|
| 401 |
+
XAER_RMFAIL: int
|
| 402 |
+
XAER_OUTSIDE: int
|
| 403 |
+
XAER_RMERR: int
|
| 404 |
+
XA_RBROLLBACK: int
|
| 405 |
+
NONEXISTING_PROC_GRANT: int
|
| 406 |
+
PROC_AUTO_GRANT_FAIL: int
|
| 407 |
+
PROC_AUTO_REVOKE_FAIL: int
|
| 408 |
+
DATA_TOO_LONG: int
|
| 409 |
+
SP_BAD_SQLSTATE: int
|
| 410 |
+
STARTUP: int
|
| 411 |
+
LOAD_FROM_FIXED_SIZE_ROWS_TO_VAR: int
|
| 412 |
+
CANT_CREATE_USER_WITH_GRANT: int
|
| 413 |
+
WRONG_VALUE_FOR_TYPE: int
|
| 414 |
+
TABLE_DEF_CHANGED: int
|
| 415 |
+
SP_DUP_HANDLER: int
|
| 416 |
+
SP_NOT_VAR_ARG: int
|
| 417 |
+
SP_NO_RETSET: int
|
| 418 |
+
CANT_CREATE_GEOMETRY_OBJECT: int
|
| 419 |
+
FAILED_ROUTINE_BREAK_BINLOG: int
|
| 420 |
+
BINLOG_UNSAFE_ROUTINE: int
|
| 421 |
+
BINLOG_CREATE_ROUTINE_NEED_SUPER: int
|
| 422 |
+
EXEC_STMT_WITH_OPEN_CURSOR: int
|
| 423 |
+
STMT_HAS_NO_OPEN_CURSOR: int
|
| 424 |
+
COMMIT_NOT_ALLOWED_IN_SF_OR_TRG: int
|
| 425 |
+
NO_DEFAULT_FOR_VIEW_FIELD: int
|
| 426 |
+
SP_NO_RECURSION: int
|
| 427 |
+
TOO_BIG_SCALE: int
|
| 428 |
+
TOO_BIG_PRECISION: int
|
| 429 |
+
M_BIGGER_THAN_D: int
|
| 430 |
+
WRONG_LOCK_OF_SYSTEM_TABLE: int
|
| 431 |
+
CONNECT_TO_FOREIGN_DATA_SOURCE: int
|
| 432 |
+
QUERY_ON_FOREIGN_DATA_SOURCE: int
|
| 433 |
+
FOREIGN_DATA_SOURCE_DOESNT_EXIST: int
|
| 434 |
+
FOREIGN_DATA_STRING_INVALID_CANT_CREATE: int
|
| 435 |
+
FOREIGN_DATA_STRING_INVALID: int
|
| 436 |
+
CANT_CREATE_FEDERATED_TABLE: int
|
| 437 |
+
TRG_IN_WRONG_SCHEMA: int
|
| 438 |
+
STACK_OVERRUN_NEED_MORE: int
|
| 439 |
+
TOO_LONG_BODY: int
|
| 440 |
+
WARN_CANT_DROP_DEFAULT_KEYCACHE: int
|
| 441 |
+
TOO_BIG_DISPLAYWIDTH: int
|
| 442 |
+
XAER_DUPID: int
|
| 443 |
+
DATETIME_FUNCTION_OVERFLOW: int
|
| 444 |
+
CANT_UPDATE_USED_TABLE_IN_SF_OR_TRG: int
|
| 445 |
+
VIEW_PREVENT_UPDATE: int
|
| 446 |
+
PS_NO_RECURSION: int
|
| 447 |
+
SP_CANT_SET_AUTOCOMMIT: int
|
| 448 |
+
MALFORMED_DEFINER: int
|
| 449 |
+
VIEW_FRM_NO_USER: int
|
| 450 |
+
VIEW_OTHER_USER: int
|
| 451 |
+
NO_SUCH_USER: int
|
| 452 |
+
FORBID_SCHEMA_CHANGE: int
|
| 453 |
+
ROW_IS_REFERENCED_2: int
|
| 454 |
+
NO_REFERENCED_ROW_2: int
|
| 455 |
+
SP_BAD_VAR_SHADOW: int
|
| 456 |
+
TRG_NO_DEFINER: int
|
| 457 |
+
OLD_FILE_FORMAT: int
|
| 458 |
+
SP_RECURSION_LIMIT: int
|
| 459 |
+
SP_PROC_TABLE_CORRUPT: int
|
| 460 |
+
SP_WRONG_NAME: int
|
| 461 |
+
TABLE_NEEDS_UPGRADE: int
|
| 462 |
+
SP_NO_AGGREGATE: int
|
| 463 |
+
MAX_PREPARED_STMT_COUNT_REACHED: int
|
| 464 |
+
VIEW_RECURSIVE: int
|
| 465 |
+
NON_GROUPING_FIELD_USED: int
|
| 466 |
+
TABLE_CANT_HANDLE_SPKEYS: int
|
| 467 |
+
NO_TRIGGERS_ON_SYSTEM_SCHEMA: int
|
| 468 |
+
USERNAME: int
|
| 469 |
+
HOSTNAME: int
|
| 470 |
+
WRONG_STRING_LENGTH: int
|
| 471 |
+
ERROR_LAST: int
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pymysql/constants/FIELD_TYPE.pyi
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
DECIMAL: int
|
| 2 |
+
TINY: int
|
| 3 |
+
SHORT: int
|
| 4 |
+
LONG: int
|
| 5 |
+
FLOAT: int
|
| 6 |
+
DOUBLE: int
|
| 7 |
+
NULL: int
|
| 8 |
+
TIMESTAMP: int
|
| 9 |
+
LONGLONG: int
|
| 10 |
+
INT24: int
|
| 11 |
+
DATE: int
|
| 12 |
+
TIME: int
|
| 13 |
+
DATETIME: int
|
| 14 |
+
YEAR: int
|
| 15 |
+
NEWDATE: int
|
| 16 |
+
VARCHAR: int
|
| 17 |
+
BIT: int
|
| 18 |
+
NEWDECIMAL: int
|
| 19 |
+
ENUM: int
|
| 20 |
+
SET: int
|
| 21 |
+
TINY_BLOB: int
|
| 22 |
+
MEDIUM_BLOB: int
|
| 23 |
+
LONG_BLOB: int
|
| 24 |
+
BLOB: int
|
| 25 |
+
VAR_STRING: int
|
| 26 |
+
STRING: int
|
| 27 |
+
GEOMETRY: int
|
| 28 |
+
CHAR: int
|
| 29 |
+
INTERVAL: int
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pymysql/constants/SERVER_STATUS.pyi
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
SERVER_STATUS_IN_TRANS: int
|
| 2 |
+
SERVER_STATUS_AUTOCOMMIT: int
|
| 3 |
+
SERVER_MORE_RESULTS_EXISTS: int
|
| 4 |
+
SERVER_QUERY_NO_GOOD_INDEX_USED: int
|
| 5 |
+
SERVER_QUERY_NO_INDEX_USED: int
|
| 6 |
+
SERVER_STATUS_CURSOR_EXISTS: int
|
| 7 |
+
SERVER_STATUS_LAST_ROW_SENT: int
|
| 8 |
+
SERVER_STATUS_DB_DROPPED: int
|
| 9 |
+
SERVER_STATUS_NO_BACKSLASH_ESCAPES: int
|
| 10 |
+
SERVER_STATUS_METADATA_CHANGED: int
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pymysql/constants/__init__.pyi
ADDED
|
File without changes
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/simplejson/__init__.pyi
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import IO, Any, Text, Union
|
| 2 |
+
|
| 3 |
+
from simplejson.decoder import JSONDecoder as JSONDecoder
|
| 4 |
+
from simplejson.encoder import JSONEncoder as JSONEncoder, JSONEncoderForHTML as JSONEncoderForHTML
|
| 5 |
+
from simplejson.scanner import JSONDecodeError as JSONDecodeError
|
| 6 |
+
|
| 7 |
+
_LoadsString = Union[Text, bytes, bytearray]
|
| 8 |
+
|
| 9 |
+
def dumps(obj: Any, *args: Any, **kwds: Any) -> str: ...
|
| 10 |
+
def dump(obj: Any, fp: IO[str], *args: Any, **kwds: Any) -> None: ...
|
| 11 |
+
def loads(s: _LoadsString, **kwds: Any) -> Any: ...
|
| 12 |
+
def load(fp: IO[str], **kwds: Any) -> Any: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/simplejson/decoder.pyi
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Match
|
| 2 |
+
|
| 3 |
+
class JSONDecoder(object):
|
| 4 |
+
def __init__(self, **kwargs): ...
|
| 5 |
+
def decode(self, s: str, _w: Match[str], _PY3: bool): ...
|
| 6 |
+
def raw_decode(self, s: str, idx: int, _w: Match[str], _PY3: bool): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/simplejson/encoder.pyi
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any
|
| 2 |
+
|
| 3 |
+
class JSONEncoder(object):
|
| 4 |
+
def __init__(self, *args, **kwargs): ...
|
| 5 |
+
def encode(self, o: Any): ...
|
| 6 |
+
def default(self, o: Any): ...
|
| 7 |
+
def iterencode(self, o: Any, _one_shot: bool): ...
|
| 8 |
+
|
| 9 |
+
class JSONEncoderForHTML(JSONEncoder): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/simplejson/scanner.pyi
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Optional
|
| 2 |
+
|
| 3 |
+
class JSONDecodeError(ValueError):
|
| 4 |
+
msg: str = ...
|
| 5 |
+
doc: str = ...
|
| 6 |
+
pos: int = ...
|
| 7 |
+
end: Optional[int] = ...
|
| 8 |
+
lineno: int = ...
|
| 9 |
+
colno: int = ...
|
| 10 |
+
endlineno: Optional[int] = ...
|
| 11 |
+
endcolno: Optional[int] = ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/singledispatch.pyi
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Callable, Generic, Mapping, TypeVar, overload
|
| 2 |
+
|
| 3 |
+
_T = TypeVar("_T")
|
| 4 |
+
|
| 5 |
+
class _SingleDispatchCallable(Generic[_T]):
|
| 6 |
+
registry: Mapping[Any, Callable[..., _T]]
|
| 7 |
+
def dispatch(self, cls: Any) -> Callable[..., _T]: ...
|
| 8 |
+
@overload
|
| 9 |
+
def register(self, cls: Any) -> Callable[[Callable[..., _T]], Callable[..., _T]]: ...
|
| 10 |
+
@overload
|
| 11 |
+
def register(self, cls: Any, func: Callable[..., _T]) -> Callable[..., _T]: ...
|
| 12 |
+
def _clear_cache(self) -> None: ...
|
| 13 |
+
def __call__(self, *args: Any, **kwargs: Any) -> _T: ...
|
| 14 |
+
|
| 15 |
+
def singledispatch(func: Callable[..., _T]) -> _SingleDispatchCallable[_T]: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/toml.pyi
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
from _typeshed import StrPath, SupportsWrite
|
| 3 |
+
from typing import IO, Any, List, Mapping, MutableMapping, Text, Type, Union
|
| 4 |
+
|
| 5 |
+
if sys.version_info >= (3, 6):
|
| 6 |
+
_PathLike = StrPath
|
| 7 |
+
elif sys.version_info >= (3, 4):
|
| 8 |
+
import pathlib
|
| 9 |
+
|
| 10 |
+
_PathLike = Union[StrPath, pathlib.PurePath]
|
| 11 |
+
else:
|
| 12 |
+
_PathLike = StrPath
|
| 13 |
+
|
| 14 |
+
class TomlDecodeError(Exception): ...
|
| 15 |
+
|
| 16 |
+
def load(f: Union[_PathLike, List[Text], IO[str]], _dict: Type[MutableMapping[str, Any]] = ...) -> MutableMapping[str, Any]: ...
|
| 17 |
+
def loads(s: Text, _dict: Type[MutableMapping[str, Any]] = ...) -> MutableMapping[str, Any]: ...
|
| 18 |
+
def dump(o: Mapping[str, Any], f: SupportsWrite[str]) -> str: ...
|
| 19 |
+
def dumps(o: Mapping[str, Any]) -> str: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/werkzeug/_internal.pyi
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Optional
|
| 2 |
+
|
| 3 |
+
class _Missing:
|
| 4 |
+
def __reduce__(self): ...
|
| 5 |
+
|
| 6 |
+
class _DictAccessorProperty:
|
| 7 |
+
read_only: Any
|
| 8 |
+
name: Any
|
| 9 |
+
default: Any
|
| 10 |
+
load_func: Any
|
| 11 |
+
dump_func: Any
|
| 12 |
+
__doc__: Any
|
| 13 |
+
def __init__(
|
| 14 |
+
self,
|
| 15 |
+
name,
|
| 16 |
+
default: Optional[Any] = ...,
|
| 17 |
+
load_func: Optional[Any] = ...,
|
| 18 |
+
dump_func: Optional[Any] = ...,
|
| 19 |
+
read_only: Optional[Any] = ...,
|
| 20 |
+
doc: Optional[Any] = ...,
|
| 21 |
+
): ...
|
| 22 |
+
def __get__(self, obj, type: Optional[Any] = ...): ...
|
| 23 |
+
def __set__(self, obj, value): ...
|
| 24 |
+
def __delete__(self, obj): ...
|
| 25 |
+
|
| 26 |
+
def _easteregg(app: Optional[Any] = ...): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/werkzeug/_reloader.pyi
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Optional
|
| 2 |
+
|
| 3 |
+
class ReloaderLoop:
|
| 4 |
+
name: Any
|
| 5 |
+
extra_files: Any
|
| 6 |
+
interval: float
|
| 7 |
+
def __init__(self, extra_files: Optional[Any] = ..., interval: float = ...): ...
|
| 8 |
+
def run(self): ...
|
| 9 |
+
def restart_with_reloader(self): ...
|
| 10 |
+
def trigger_reload(self, filename): ...
|
| 11 |
+
def log_reload(self, filename): ...
|
| 12 |
+
|
| 13 |
+
class StatReloaderLoop(ReloaderLoop):
|
| 14 |
+
name: Any
|
| 15 |
+
def run(self): ...
|
| 16 |
+
|
| 17 |
+
class WatchdogReloaderLoop(ReloaderLoop):
|
| 18 |
+
observable_paths: Any
|
| 19 |
+
name: Any
|
| 20 |
+
observer_class: Any
|
| 21 |
+
event_handler: Any
|
| 22 |
+
should_reload: Any
|
| 23 |
+
def __init__(self, *args, **kwargs): ...
|
| 24 |
+
def trigger_reload(self, filename): ...
|
| 25 |
+
def run(self): ...
|
| 26 |
+
|
| 27 |
+
reloader_loops: Any
|
| 28 |
+
|
| 29 |
+
def run_with_reloader(main_func, extra_files: Optional[Any] = ..., interval: float = ..., reloader_type: str = ...): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/werkzeug/contrib/__init__.pyi
ADDED
|
File without changes
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/werkzeug/contrib/atom.pyi
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Optional
|
| 2 |
+
|
| 3 |
+
XHTML_NAMESPACE: Any
|
| 4 |
+
|
| 5 |
+
def format_iso8601(obj): ...
|
| 6 |
+
|
| 7 |
+
class AtomFeed:
|
| 8 |
+
default_generator: Any
|
| 9 |
+
title: Any
|
| 10 |
+
title_type: Any
|
| 11 |
+
url: Any
|
| 12 |
+
feed_url: Any
|
| 13 |
+
id: Any
|
| 14 |
+
updated: Any
|
| 15 |
+
author: Any
|
| 16 |
+
icon: Any
|
| 17 |
+
logo: Any
|
| 18 |
+
rights: Any
|
| 19 |
+
rights_type: Any
|
| 20 |
+
subtitle: Any
|
| 21 |
+
subtitle_type: Any
|
| 22 |
+
generator: Any
|
| 23 |
+
links: Any
|
| 24 |
+
entries: Any
|
| 25 |
+
def __init__(self, title: Optional[Any] = ..., entries: Optional[Any] = ..., **kwargs): ...
|
| 26 |
+
def add(self, *args, **kwargs): ...
|
| 27 |
+
def generate(self): ...
|
| 28 |
+
def to_string(self): ...
|
| 29 |
+
def get_response(self): ...
|
| 30 |
+
def __call__(self, environ, start_response): ...
|
| 31 |
+
|
| 32 |
+
class FeedEntry:
|
| 33 |
+
title: Any
|
| 34 |
+
title_type: Any
|
| 35 |
+
content: Any
|
| 36 |
+
content_type: Any
|
| 37 |
+
url: Any
|
| 38 |
+
id: Any
|
| 39 |
+
updated: Any
|
| 40 |
+
summary: Any
|
| 41 |
+
summary_type: Any
|
| 42 |
+
author: Any
|
| 43 |
+
published: Any
|
| 44 |
+
rights: Any
|
| 45 |
+
links: Any
|
| 46 |
+
categories: Any
|
| 47 |
+
xml_base: Any
|
| 48 |
+
def __init__(self, title: Optional[Any] = ..., content: Optional[Any] = ..., feed_url: Optional[Any] = ..., **kwargs): ...
|
| 49 |
+
def generate(self): ...
|
| 50 |
+
def to_string(self): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/werkzeug/contrib/cache.pyi
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Optional
|
| 2 |
+
|
| 3 |
+
class BaseCache:
|
| 4 |
+
default_timeout: float
|
| 5 |
+
def __init__(self, default_timeout: float = ...): ...
|
| 6 |
+
def get(self, key): ...
|
| 7 |
+
def delete(self, key): ...
|
| 8 |
+
def get_many(self, *keys): ...
|
| 9 |
+
def get_dict(self, *keys): ...
|
| 10 |
+
def set(self, key, value, timeout: Optional[float] = ...): ...
|
| 11 |
+
def add(self, key, value, timeout: Optional[float] = ...): ...
|
| 12 |
+
def set_many(self, mapping, timeout: Optional[float] = ...): ...
|
| 13 |
+
def delete_many(self, *keys): ...
|
| 14 |
+
def has(self, key): ...
|
| 15 |
+
def clear(self): ...
|
| 16 |
+
def inc(self, key, delta=...): ...
|
| 17 |
+
def dec(self, key, delta=...): ...
|
| 18 |
+
|
| 19 |
+
class NullCache(BaseCache): ...
|
| 20 |
+
|
| 21 |
+
class SimpleCache(BaseCache):
|
| 22 |
+
clear: Any
|
| 23 |
+
def __init__(self, threshold: int = ..., default_timeout: float = ...): ...
|
| 24 |
+
def get(self, key): ...
|
| 25 |
+
def set(self, key, value, timeout: Optional[float] = ...): ...
|
| 26 |
+
def add(self, key, value, timeout: Optional[float] = ...): ...
|
| 27 |
+
def delete(self, key): ...
|
| 28 |
+
def has(self, key): ...
|
| 29 |
+
|
| 30 |
+
class MemcachedCache(BaseCache):
|
| 31 |
+
key_prefix: Any
|
| 32 |
+
def __init__(self, servers: Optional[Any] = ..., default_timeout: float = ..., key_prefix: Optional[Any] = ...): ...
|
| 33 |
+
def get(self, key): ...
|
| 34 |
+
def get_dict(self, *keys): ...
|
| 35 |
+
def add(self, key, value, timeout: Optional[float] = ...): ...
|
| 36 |
+
def set(self, key, value, timeout: Optional[float] = ...): ...
|
| 37 |
+
def get_many(self, *keys): ...
|
| 38 |
+
def set_many(self, mapping, timeout: Optional[float] = ...): ...
|
| 39 |
+
def delete(self, key): ...
|
| 40 |
+
def delete_many(self, *keys): ...
|
| 41 |
+
def has(self, key): ...
|
| 42 |
+
def clear(self): ...
|
| 43 |
+
def inc(self, key, delta=...): ...
|
| 44 |
+
def dec(self, key, delta=...): ...
|
| 45 |
+
def import_preferred_memcache_lib(self, servers): ...
|
| 46 |
+
|
| 47 |
+
GAEMemcachedCache: Any
|
| 48 |
+
|
| 49 |
+
class RedisCache(BaseCache):
|
| 50 |
+
key_prefix: Any
|
| 51 |
+
def __init__(
|
| 52 |
+
self,
|
| 53 |
+
host: str = ...,
|
| 54 |
+
port: int = ...,
|
| 55 |
+
password: Optional[Any] = ...,
|
| 56 |
+
db: int = ...,
|
| 57 |
+
default_timeout: float = ...,
|
| 58 |
+
key_prefix: Optional[Any] = ...,
|
| 59 |
+
**kwargs,
|
| 60 |
+
): ...
|
| 61 |
+
def dump_object(self, value): ...
|
| 62 |
+
def load_object(self, value): ...
|
| 63 |
+
def get(self, key): ...
|
| 64 |
+
def get_many(self, *keys): ...
|
| 65 |
+
def set(self, key, value, timeout: Optional[float] = ...): ...
|
| 66 |
+
def add(self, key, value, timeout: Optional[float] = ...): ...
|
| 67 |
+
def set_many(self, mapping, timeout: Optional[float] = ...): ...
|
| 68 |
+
def delete(self, key): ...
|
| 69 |
+
def delete_many(self, *keys): ...
|
| 70 |
+
def has(self, key): ...
|
| 71 |
+
def clear(self): ...
|
| 72 |
+
def inc(self, key, delta=...): ...
|
| 73 |
+
def dec(self, key, delta=...): ...
|
| 74 |
+
|
| 75 |
+
class FileSystemCache(BaseCache):
|
| 76 |
+
def __init__(self, cache_dir, threshold: int = ..., default_timeout: float = ..., mode: int = ...): ...
|
| 77 |
+
def clear(self): ...
|
| 78 |
+
def get(self, key): ...
|
| 79 |
+
def add(self, key, value, timeout: Optional[float] = ...): ...
|
| 80 |
+
def set(self, key, value, timeout: Optional[float] = ...): ...
|
| 81 |
+
def delete(self, key): ...
|
| 82 |
+
def has(self, key): ...
|
| 83 |
+
|
| 84 |
+
class UWSGICache(BaseCache):
|
| 85 |
+
cache: Any
|
| 86 |
+
def __init__(self, default_timeout: float = ..., cache: str = ...): ...
|
| 87 |
+
def get(self, key): ...
|
| 88 |
+
def delete(self, key): ...
|
| 89 |
+
def set(self, key, value, timeout: Optional[float] = ...): ...
|
| 90 |
+
def add(self, key, value, timeout: Optional[float] = ...): ...
|
| 91 |
+
def clear(self): ...
|
| 92 |
+
def has(self, key): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/werkzeug/contrib/fixers.pyi
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from _typeshed.wsgi import StartResponse, WSGIApplication, WSGIEnvironment
|
| 2 |
+
from typing import Any, Iterable, List, Mapping, Optional, Set, Text
|
| 3 |
+
|
| 4 |
+
from ..middleware.proxy_fix import ProxyFix as ProxyFix
|
| 5 |
+
|
| 6 |
+
class CGIRootFix(object):
|
| 7 |
+
app: WSGIApplication
|
| 8 |
+
app_root: Text
|
| 9 |
+
def __init__(self, app: WSGIApplication, app_root: Text = ...) -> None: ...
|
| 10 |
+
def __call__(self, environ: WSGIEnvironment, start_response: StartResponse) -> Iterable[bytes]: ...
|
| 11 |
+
|
| 12 |
+
class LighttpdCGIRootFix(CGIRootFix): ...
|
| 13 |
+
|
| 14 |
+
class PathInfoFromRequestUriFix(object):
|
| 15 |
+
app: WSGIApplication
|
| 16 |
+
def __init__(self, app: WSGIApplication) -> None: ...
|
| 17 |
+
def __call__(self, environ: WSGIEnvironment, start_response: StartResponse) -> Iterable[bytes]: ...
|
| 18 |
+
|
| 19 |
+
class HeaderRewriterFix(object):
|
| 20 |
+
app: WSGIApplication
|
| 21 |
+
remove_headers: Set[Text]
|
| 22 |
+
add_headers: List[Text]
|
| 23 |
+
def __init__(
|
| 24 |
+
self, app: WSGIApplication, remove_headers: Optional[Iterable[Text]] = ..., add_headers: Optional[Iterable[Text]] = ...
|
| 25 |
+
) -> None: ...
|
| 26 |
+
def __call__(self, environ: WSGIEnvironment, start_response: StartResponse) -> Iterable[bytes]: ...
|
| 27 |
+
|
| 28 |
+
class InternetExplorerFix(object):
|
| 29 |
+
app: WSGIApplication
|
| 30 |
+
fix_vary: bool
|
| 31 |
+
fix_attach: bool
|
| 32 |
+
def __init__(self, app: WSGIApplication, fix_vary: bool = ..., fix_attach: bool = ...) -> None: ...
|
| 33 |
+
def fix_headers(self, environ: WSGIEnvironment, headers: Mapping[str, str], status: Optional[Any] = ...) -> None: ...
|
| 34 |
+
def run_fixed(self, environ: WSGIEnvironment, start_response: StartResponse) -> Iterable[bytes]: ...
|
| 35 |
+
def __call__(self, environ: WSGIEnvironment, start_response: StartResponse) -> Iterable[bytes]: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/werkzeug/contrib/iterio.pyi
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Optional, Text, Union
|
| 2 |
+
|
| 3 |
+
greenlet: Any
|
| 4 |
+
|
| 5 |
+
class IterIO:
|
| 6 |
+
def __new__(cls, obj, sentinel: Union[Text, bytes] = ...): ...
|
| 7 |
+
def __iter__(self): ...
|
| 8 |
+
def tell(self): ...
|
| 9 |
+
def isatty(self): ...
|
| 10 |
+
def seek(self, pos, mode: int = ...): ...
|
| 11 |
+
def truncate(self, size: Optional[Any] = ...): ...
|
| 12 |
+
def write(self, s): ...
|
| 13 |
+
def writelines(self, list): ...
|
| 14 |
+
def read(self, n: int = ...): ...
|
| 15 |
+
def readlines(self, sizehint: int = ...): ...
|
| 16 |
+
def readline(self, length: Optional[Any] = ...): ...
|
| 17 |
+
def flush(self): ...
|
| 18 |
+
def __next__(self): ...
|
| 19 |
+
|
| 20 |
+
class IterI(IterIO):
|
| 21 |
+
sentinel: Any
|
| 22 |
+
def __new__(cls, func, sentinel: Union[Text, bytes] = ...): ...
|
| 23 |
+
closed: Any
|
| 24 |
+
def close(self): ...
|
| 25 |
+
def write(self, s): ...
|
| 26 |
+
def writelines(self, list): ...
|
| 27 |
+
def flush(self): ...
|
| 28 |
+
|
| 29 |
+
class IterO(IterIO):
|
| 30 |
+
sentinel: Any
|
| 31 |
+
closed: Any
|
| 32 |
+
pos: Any
|
| 33 |
+
def __new__(cls, gen, sentinel: Union[Text, bytes] = ...): ...
|
| 34 |
+
def __iter__(self): ...
|
| 35 |
+
def close(self): ...
|
| 36 |
+
def seek(self, pos, mode: int = ...): ...
|
| 37 |
+
def read(self, n: int = ...): ...
|
| 38 |
+
def readline(self, length: Optional[Any] = ...): ...
|
| 39 |
+
def readlines(self, sizehint: int = ...): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/werkzeug/contrib/jsrouting.pyi
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any
|
| 2 |
+
|
| 3 |
+
def dumps(*args): ...
|
| 4 |
+
def render_template(name_parts, rules, converters): ...
|
| 5 |
+
def generate_map(map, name: str = ...): ...
|
| 6 |
+
def generate_adapter(adapter, name: str = ..., map_name: str = ...): ...
|
| 7 |
+
def js_to_url_function(converter): ...
|
| 8 |
+
def NumberConverter_js_to_url(conv): ...
|
| 9 |
+
|
| 10 |
+
js_to_url_functions: Any
|