id int64 0 458k | file_name stringlengths 4 119 | file_path stringlengths 14 227 | content stringlengths 24 9.96M | size int64 24 9.96M | language stringclasses 1 value | extension stringclasses 14 values | total_lines int64 1 219k | avg_line_length float64 2.52 4.63M | max_line_length int64 5 9.91M | alphanum_fraction float64 0 1 | repo_name stringlengths 7 101 | repo_stars int64 100 139k | repo_forks int64 0 26.4k | repo_open_issues int64 0 2.27k | repo_license stringclasses 12 values | repo_extraction_date stringclasses 433 values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
28,400 | blockprocessors.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/markdown/blockprocessors.pyi | from typing import Any, Pattern
logger: Any
def build_block_parser(md, **kwargs): ...
class BlockProcessor:
parser: Any
tab_length: Any
def __init__(self, parser) -> None: ...
def lastChild(self, parent): ...
def detab(self, text): ...
def looseDetab(self, text, level: int = ...): ...
def test(self, parent, block) -> None: ...
def run(self, parent, blocks) -> None: ...
class ListIndentProcessor(BlockProcessor):
ITEM_TYPES: Any
LIST_TYPES: Any
INDENT_RE: Pattern
def __init__(self, *args) -> None: ...
def create_item(self, parent, block) -> None: ...
def get_level(self, parent, block): ...
class CodeBlockProcessor(BlockProcessor): ...
class BlockQuoteProcessor(BlockProcessor):
RE: Pattern
def clean(self, line): ...
class OListProcessor(BlockProcessor):
TAG: str = ...
STARTSWITH: str = ...
LAZY_OL: bool = ...
SIBLING_TAGS: Any
RE: Pattern
CHILD_RE: Pattern
INDENT_RE: Pattern
def __init__(self, parser) -> None: ...
def get_items(self, block): ...
class UListProcessor(OListProcessor):
TAG: str = ...
RE: Pattern
def __init__(self, parser) -> None: ...
class HashHeaderProcessor(BlockProcessor):
RE: Pattern
class SetextHeaderProcessor(BlockProcessor):
RE: Pattern
class HRProcessor(BlockProcessor):
RE: str = ...
SEARCH_RE: Pattern
match: Any
class EmptyBlockProcessor(BlockProcessor): ...
class ParagraphProcessor(BlockProcessor): ...
| 1,490 | Python | .py | 47 | 27.638298 | 53 | 0.663173 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,401 | pep562.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/markdown/pep562.pyi | from typing import Any
class Version:
def __new__(cls, major, minor, micro, release: str = ..., pre: int = ..., post: int = ..., dev: int = ...): ...
class Pep562:
def __init__(self, name) -> None: ...
def __dir__(self): ...
def __getattr__(self, name): ...
| 276 | Python | .py | 7 | 35.857143 | 115 | 0.531835 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,402 | wikilinks.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/wikilinks.pyi | from typing import Any
from markdown.extensions import Extension
from markdown.inlinepatterns import InlineProcessor
def build_url(label, base, end): ...
class WikiLinkExtension(Extension):
def __init__(self, **kwargs) -> None: ...
md: Any
class WikiLinksInlineProcessor(InlineProcessor):
config: Any
def __init__(self, pattern, config) -> None: ...
def makeExtension(**kwargs): ...
| 404 | Python | .py | 11 | 33.818182 | 52 | 0.737113 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,403 | legacy_attrs.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/legacy_attrs.pyi | from typing import Any, Pattern
from markdown.extensions import Extension
from markdown.treeprocessors import Treeprocessor
ATTR_RE: Pattern
class LegacyAttrs(Treeprocessor):
def handleAttributes(self, el, txt): ...
class LegacyAttrExtension(Extension): ...
def makeExtension(**kwargs): ...
| 300 | Python | .py | 8 | 35.375 | 49 | 0.811847 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,404 | footnotes.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/footnotes.pyi | from typing import Any, Pattern
from markdown.extensions import Extension
from markdown.inlinepatterns import InlineProcessor
from markdown.postprocessors import Postprocessor
from markdown.preprocessors import Preprocessor
from markdown.treeprocessors import Treeprocessor
FN_BACKLINK_TEXT: Any
NBSP_PLACEHOLDER: Any
DEF_RE: Pattern
TABBED_RE: Pattern
RE_REF_ID: Any
class FootnoteExtension(Extension):
unique_prefix: int = ...
found_refs: Any
used_refs: Any
def __init__(self, **kwargs) -> None: ...
parser: Any
md: Any
footnotes: Any
def reset(self) -> None: ...
def unique_ref(self, reference, found: bool = ...): ...
def findFootnotesPlaceholder(self, root): ...
def setFootnote(self, id, text) -> None: ...
def get_separator(self): ...
def makeFootnoteId(self, id): ...
def makeFootnoteRefId(self, id, found: bool = ...): ...
def makeFootnotesDiv(self, root): ...
class FootnotePreprocessor(Preprocessor):
footnotes: Any
def __init__(self, footnotes) -> None: ...
def detectTabbed(self, lines): ...
class FootnoteInlineProcessor(InlineProcessor):
footnotes: Any
def __init__(self, pattern, footnotes) -> None: ...
class FootnotePostTreeprocessor(Treeprocessor):
footnotes: Any
def __init__(self, footnotes) -> None: ...
def add_duplicates(self, li, duplicates) -> None: ...
def get_num_duplicates(self, li): ...
def handle_duplicates(self, parent) -> None: ...
offset: int = ...
class FootnoteTreeprocessor(Treeprocessor):
footnotes: Any
def __init__(self, footnotes) -> None: ...
class FootnotePostprocessor(Postprocessor):
footnotes: Any
def __init__(self, footnotes) -> None: ...
def makeExtension(**kwargs): ...
| 1,751 | Python | .py | 48 | 32.791667 | 59 | 0.699528 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,405 | smarty.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/smarty.pyi | from typing import Any, Pattern
from markdown.extensions import Extension
from markdown.inlinepatterns import HtmlInlineProcessor
punctClass: str
endOfWordClass: str
closeClass: str
openingQuotesBase: str
substitutions: Any
singleQuoteStartRe: Any
doubleQuoteStartRe: Any
doubleQuoteSetsRe: str
singleQuoteSetsRe: str
decadeAbbrRe: str
openingDoubleQuotesRegex: Any
closingDoubleQuotesRegex: str
closingDoubleQuotesRegex2: Any
openingSingleQuotesRegex: Any
closingSingleQuotesRegex: Any
closingSingleQuotesRegex2: Any
remainingSingleQuotesRegex: str
remainingDoubleQuotesRegex: str
HTML_STRICT_RE: str
class SubstituteTextPattern(HtmlInlineProcessor):
replace: Any
def __init__(self, pattern, replace, md) -> None: ...
class SmartyExtension(Extension):
substitutions: Any
def __init__(self, **kwargs) -> None: ...
def educateDashes(self, md) -> None: ...
def educateEllipses(self, md) -> None: ...
def educateAngledQuotes(self, md) -> None: ...
def educateQuotes(self, md) -> None: ...
inlinePatterns: Any
def makeExtension(**kwargs): ...
| 1,080 | Python | .py | 34 | 29.558824 | 57 | 0.79731 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,406 | admonition.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/admonition.pyi | from typing import Any, Pattern
from markdown.blockprocessors import BlockProcessor
from markdown.extensions import Extension
class AdmonitionExtension(Extension): ...
class AdmonitionProcessor(BlockProcessor):
CLASSNAME: str = ...
CLASSNAME_TITLE: str = ...
RE: Pattern
RE_SPACES: Any
def get_class_and_title(self, match): ...
def makeExtension(**kwargs): ...
| 385 | Python | .py | 11 | 31.818182 | 51 | 0.756757 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,407 | legacy_em.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/legacy_em.pyi | from typing import Any
from markdown.extensions import Extension
from markdown.inlinepatterns import UnderscoreProcessor
EMPHASIS_RE: str
STRONG_RE: str
STRONG_EM_RE: str
class LegacyUnderscoreProcessor(UnderscoreProcessor): ...
class LegacyEmExtension(Extension): ...
def makeExtension(**kwargs): ...
| 306 | Python | .py | 9 | 32.555556 | 57 | 0.83959 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,408 | sane_lists.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/sane_lists.pyi | from typing import Any, Pattern
from markdown.blockprocessors import OListProcessor, UListProcessor
from markdown.extensions import Extension
class SaneOListProcessor(OListProcessor):
def __init__(self, parser) -> None: ...
class SaneUListProcessor(UListProcessor):
def __init__(self, parser) -> None: ...
class SaneListExtension(Extension): ...
def makeExtension(**kwargs): ...
| 392 | Python | .py | 9 | 41.111111 | 67 | 0.775132 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,409 | abbr.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/abbr.pyi | from typing import Any, Pattern
from markdown.blockprocessors import BlockProcessor
from markdown.extensions import Extension
from markdown.inlinepatterns import InlineProcessor
ABBR_REF_RE: Pattern
class AbbrExtension(Extension): ...
class AbbrPreprocessor(BlockProcessor): ...
class AbbrInlineProcessor(InlineProcessor):
title: Any
def __init__(self, pattern, title) -> None: ...
def makeExtension(**kwargs): ...
| 428 | Python | .py | 11 | 36.727273 | 51 | 0.803398 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,410 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/__init__.pyi | from typing import Any, Dict, List, Mapping, Tuple
from markdown.core import Markdown
class Extension:
config: Mapping[str, List[Any]] = ...
def __init__(self, **kwargs: Any) -> None: ...
def getConfig(self, key: str, default: Any = ...) -> Any: ...
def getConfigs(self) -> Dict[str, Any]: ...
def getConfigInfo(self) -> List[Tuple[str, str]]: ...
def setConfig(self, key: str, value: Any) -> None: ...
def setConfigs(self, items: Mapping[str, Any]) -> None: ...
def extendMarkdown(self, md: Markdown) -> None: ...
| 549 | Python | .py | 11 | 45.818182 | 65 | 0.625 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,411 | codehilite.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/codehilite.pyi | from typing import Any, Optional
from markdown.extensions import Extension
from markdown.treeprocessors import Treeprocessor
pygments: bool
def parse_hl_lines(expr): ...
class CodeHilite:
src: Any
lang: Any
linenums: Any
guess_lang: Any
css_class: Any
style: Any
noclasses: Any
tab_length: Any
hl_lines: Any
use_pygments: Any
def __init__(
self,
src: Optional[Any] = ...,
linenums: Optional[Any] = ...,
guess_lang: bool = ...,
css_class: str = ...,
lang: Optional[Any] = ...,
style: str = ...,
noclasses: bool = ...,
tab_length: int = ...,
hl_lines: Optional[Any] = ...,
use_pygments: bool = ...,
) -> None: ...
def hilite(self): ...
class HiliteTreeprocessor(Treeprocessor):
def code_unescape(self, text): ...
class CodeHiliteExtension(Extension):
def __init__(self, **kwargs) -> None: ...
def makeExtension(**kwargs): ...
| 979 | Python | .py | 35 | 22.542857 | 49 | 0.597652 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,412 | fenced_code.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/fenced_code.pyi | from typing import Any, Pattern
from markdown.extensions import Extension
from markdown.preprocessors import Preprocessor
class FencedCodeExtension(Extension): ...
class FencedBlockPreprocessor(Preprocessor):
FENCED_BLOCK_RE: Pattern
CODE_WRAP: str = ...
LANG_TAG: str = ...
checked_for_codehilite: bool = ...
codehilite_conf: Any
def __init__(self, md) -> None: ...
def makeExtension(**kwargs): ...
| 428 | Python | .py | 12 | 32.333333 | 47 | 0.728155 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,413 | meta.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/meta.pyi | from typing import Any, Pattern
from markdown.extensions import Extension
from markdown.preprocessors import Preprocessor
log: Any
META_RE: Pattern
META_MORE_RE: Pattern
BEGIN_RE: Pattern
END_RE: Pattern
class MetaExtension(Extension):
md: Any
def reset(self) -> None: ...
class MetaPreprocessor(Preprocessor): ...
def makeExtension(**kwargs): ...
| 361 | Python | .py | 13 | 25.769231 | 47 | 0.790087 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,414 | md_in_html.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/md_in_html.pyi | from typing import Any, Optional
from markdown.blockprocessors import BlockProcessor
from markdown.extensions import Extension
class MarkdownInHtmlProcessor(BlockProcessor): ...
class MarkdownInHtmlExtension(Extension): ...
def makeExtension(**kwargs): ...
| 260 | Python | .py | 6 | 41.833333 | 51 | 0.844622 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,415 | tables.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/tables.pyi | from typing import Any
from markdown.blockprocessors import BlockProcessor
from markdown.extensions import Extension
PIPE_NONE: int
PIPE_LEFT: int
PIPE_RIGHT: int
class TableProcessor(BlockProcessor):
RE_CODE_PIPES: Any
RE_END_BORDER: Any
border: bool = ...
separator: str = ...
def __init__(self, parser) -> None: ...
class TableExtension(Extension): ...
def makeExtension(**kwargs): ...
| 414 | Python | .py | 14 | 26.785714 | 51 | 0.736709 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,416 | attr_list.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/attr_list.pyi | from typing import Any, Pattern
from markdown.extensions import Extension
from markdown.treeprocessors import Treeprocessor
def get_attrs(str): ...
def isheader(elem): ...
class AttrListTreeprocessor(Treeprocessor):
BASE_RE: str = ...
HEADER_RE: Pattern
BLOCK_RE: Pattern
INLINE_RE: Pattern
NAME_RE: Pattern
def assign_attrs(self, elem, attrs) -> None: ...
def sanitize_name(self, name): ...
class AttrListExtension(Extension): ...
def makeExtension(**kwargs): ...
| 498 | Python | .py | 15 | 30 | 52 | 0.730126 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,417 | nl2br.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/nl2br.pyi | from typing import Any
from markdown.extensions import Extension
BR_RE: str
class Nl2BrExtension(Extension): ...
def makeExtension(**kwargs): ...
| 150 | Python | .py | 5 | 28.2 | 41 | 0.801418 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,418 | def_list.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/def_list.pyi | from typing import Any, Pattern
from markdown.blockprocessors import BlockProcessor, ListIndentProcessor
from markdown.extensions import Extension
class DefListProcessor(BlockProcessor):
RE: Pattern
NO_INDENT_RE: Pattern
class DefListIndentProcessor(ListIndentProcessor): ...
class DefListExtension(Extension): ...
def makeExtension(**kwargs): ...
| 360 | Python | .py | 9 | 37.666667 | 72 | 0.829971 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,419 | extra.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/extra.pyi | from typing import Any
from markdown.extensions import Extension
extensions: Any
class ExtraExtension(Extension):
def __init__(self, **kwargs) -> None: ...
def makeExtension(**kwargs): ...
| 197 | Python | .py | 6 | 30.5 | 45 | 0.748663 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,420 | toc.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/toc.pyi | from typing import Any, Pattern
from markdown.extensions import Extension
from markdown.treeprocessors import Treeprocessor
def slugify(value, separator): ...
IDCOUNT_RE: Pattern
def unique(id, ids): ...
def get_name(el): ...
def stashedHTML2text(text, md, strip_entities: bool = ...): ...
def unescape(text): ...
def nest_toc_tokens(toc_list): ...
class TocTreeprocessor(Treeprocessor):
marker: Any
title: Any
base_level: Any
slugify: Any
sep: Any
use_anchors: Any
anchorlink_class: Any
use_permalinks: Any
permalink_class: Any
permalink_title: Any
header_rgx: Any
toc_top: int = ...
toc_bottom: Any
def __init__(self, md, config) -> None: ...
def iterparent(self, node) -> None: ...
def replace_marker(self, root, elem) -> None: ...
def set_level(self, elem) -> None: ...
def add_anchor(self, c, elem_id) -> None: ...
def add_permalink(self, c, elem_id) -> None: ...
def build_toc_div(self, toc_list): ...
class TocExtension(Extension):
TreeProcessorClass: Any
def __init__(self, **kwargs) -> None: ...
md: Any
def reset(self) -> None: ...
def makeExtension(**kwargs): ...
| 1,178 | Python | .py | 37 | 28.054054 | 63 | 0.655203 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,421 | utils.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/boto/utils.pyi | import datetime
import logging.handlers
import subprocess
import sys
import time
from typing import (
IO,
Any,
Callable,
ContextManager,
Dict,
Iterable,
List,
Mapping,
Optional,
Sequence,
Tuple,
Type,
TypeVar,
Union,
)
import boto.connection
_KT = TypeVar("_KT")
_VT = TypeVar("_VT")
if sys.version_info >= (3,):
# TODO move _StringIO definition into boto.compat once stubs exist and rename to StringIO
import io
_StringIO = io.StringIO
from hashlib import _Hash
_HashType = _Hash
from email.message import Message as _Message
else:
# TODO move _StringIO definition into boto.compat once stubs exist and rename to StringIO
import StringIO
_StringIO = StringIO.StringIO[Any]
from hashlib import _hash
_HashType = _hash
# TODO use email.message.Message once stubs exist
_Message = Any
_Provider = Any # TODO replace this with boto.provider.Provider once stubs exist
_LockType = Any # TODO replace this with _thread.LockType once stubs exist
JSONDecodeError: Type[ValueError]
qsa_of_interest: List[str]
def unquote_v(nv: str) -> Union[str, Tuple[str, str]]: ...
def canonical_string(
method: str,
path: str,
headers: Mapping[str, Optional[str]],
expires: Optional[int] = ...,
provider: Optional[_Provider] = ...,
) -> str: ...
def merge_meta(
headers: Mapping[str, str], metadata: Mapping[str, str], provider: Optional[_Provider] = ...
) -> Mapping[str, str]: ...
def get_aws_metadata(headers: Mapping[str, str], provider: Optional[_Provider] = ...) -> Mapping[str, str]: ...
def retry_url(url: str, retry_on_404: bool = ..., num_retries: int = ..., timeout: Optional[int] = ...) -> str: ...
class LazyLoadMetadata(Dict[_KT, _VT]):
def __init__(self, url: str, num_retries: int, timeout: Optional[int] = ...) -> None: ...
def get_instance_metadata(
version: str = ..., url: str = ..., data: str = ..., timeout: Optional[int] = ..., num_retries: int = ...
) -> Optional[LazyLoadMetadata[Any, Any]]: ...
def get_instance_identity(
version: str = ..., url: str = ..., timeout: Optional[int] = ..., num_retries: int = ...
) -> Optional[Mapping[str, Any]]: ...
def get_instance_userdata(
version: str = ..., sep: Optional[str] = ..., url: str = ..., timeout: Optional[int] = ..., num_retries: int = ...
) -> Mapping[str, str]: ...
ISO8601: str
ISO8601_MS: str
RFC1123: str
LOCALE_LOCK: _LockType
def setlocale(name: Union[str, Tuple[str, str]]) -> ContextManager[str]: ...
def get_ts(ts: Optional[time.struct_time] = ...) -> str: ...
def parse_ts(ts: str) -> datetime.datetime: ...
def find_class(module_name: str, class_name: Optional[str] = ...) -> Optional[Type[Any]]: ...
def update_dme(username: str, password: str, dme_id: str, ip_address: str) -> str: ...
def fetch_file(
uri: str, file: Optional[IO[str]] = ..., username: Optional[str] = ..., password: Optional[str] = ...
) -> Optional[IO[str]]: ...
class ShellCommand:
exit_code: int
command: subprocess._CMD
log_fp: _StringIO
wait: bool
fail_fast: bool
def __init__(
self, command: subprocess._CMD, wait: bool = ..., fail_fast: bool = ..., cwd: Optional[subprocess._TXT] = ...
) -> None: ...
process: subprocess.Popen[Any]
def run(self, cwd: Optional[subprocess._CMD] = ...) -> Optional[int]: ...
def setReadOnly(self, value) -> None: ...
def getStatus(self) -> Optional[int]: ...
status: Optional[int]
def getOutput(self) -> str: ...
output: str
class AuthSMTPHandler(logging.handlers.SMTPHandler):
username: str
password: str
def __init__(
self, mailhost: str, username: str, password: str, fromaddr: str, toaddrs: Sequence[str], subject: str
) -> None: ...
class LRUCache(Dict[_KT, _VT]):
class _Item:
previous: Optional[LRUCache._Item]
next: Optional[LRUCache._Item]
key = ...
value = ...
def __init__(self, key, value) -> None: ...
_dict: Dict[_KT, LRUCache._Item]
capacity: int
head: Optional[LRUCache._Item]
tail: Optional[LRUCache._Item]
def __init__(self, capacity: int) -> None: ...
# This exists to work around Password.str's name shadowing the str type
_str = str
class Password:
hashfunc: Callable[[bytes], _HashType]
str: Optional[_str]
def __init__(self, str: Optional[_str] = ..., hashfunc: Optional[Callable[[bytes], _HashType]] = ...) -> None: ...
def set(self, value: Union[bytes, _str]) -> None: ...
def __eq__(self, other: Any) -> bool: ...
def __len__(self) -> int: ...
def notify(
subject: str,
body: Optional[str] = ...,
html_body: Optional[Union[Sequence[str], str]] = ...,
to_string: Optional[str] = ...,
attachments: Optional[Iterable[_Message]] = ...,
append_instance_id: bool = ...,
) -> None: ...
def get_utf8_value(value: str) -> bytes: ...
def mklist(value: Any) -> List[Any]: ...
def pythonize_name(name: str) -> str: ...
def write_mime_multipart(
content: List[Tuple[str, str]], compress: bool = ..., deftype: str = ..., delimiter: str = ...
) -> str: ...
def guess_mime_type(content: str, deftype: str) -> str: ...
def compute_md5(fp: IO[Any], buf_size: int = ..., size: Optional[int] = ...) -> Tuple[str, str, int]: ...
def compute_hash(
fp: IO[Any], buf_size: int = ..., size: Optional[int] = ..., hash_algorithm: Any = ...
) -> Tuple[str, str, int]: ...
def find_matching_headers(name: str, headers: Mapping[str, Optional[str]]) -> List[str]: ...
def merge_headers_by_name(name: str, headers: Mapping[str, Optional[str]]) -> str: ...
class RequestHook:
def handle_request_data(
self, request: boto.connection.HTTPRequest, response: boto.connection.HTTPResponse, error: bool = ...
) -> Any: ...
def host_is_ipv6(hostname: str) -> bool: ...
def parse_host(hostname: str) -> str: ...
| 5,876 | Python | .py | 149 | 35.738255 | 118 | 0.63445 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,422 | plugin.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/boto/plugin.pyi | from typing import Any, Optional
class Plugin:
capability: Any
@classmethod
def is_capable(cls, requested_capability): ...
def get_plugin(cls, requested_capability: Optional[Any] = ...): ...
def load_plugins(config): ...
| 235 | Python | .py | 7 | 30.571429 | 67 | 0.712389 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,423 | exception.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/boto/exception.pyi | from typing import Any, Optional
from boto.compat import StandardError
class BotoClientError(StandardError):
reason: Any
def __init__(self, reason, *args) -> None: ...
class SDBPersistenceError(StandardError): ...
class StoragePermissionsError(BotoClientError): ...
class S3PermissionsError(StoragePermissionsError): ...
class GSPermissionsError(StoragePermissionsError): ...
class BotoServerError(StandardError):
status: Any
reason: Any
body: Any
request_id: Any
error_code: Any
message: str
box_usage: Any
def __init__(self, status, reason, body: Optional[Any] = ..., *args) -> None: ...
def __getattr__(self, name): ...
def __setattr__(self, name, value): ...
def startElement(self, name, attrs, connection): ...
def endElement(self, name, value, connection): ...
class ConsoleOutput:
parent: Any
instance_id: Any
timestamp: Any
comment: Any
output: Any
def __init__(self, parent: Optional[Any] = ...) -> None: ...
def startElement(self, name, attrs, connection): ...
def endElement(self, name, value, connection): ...
class StorageCreateError(BotoServerError):
bucket: Any
def __init__(self, status, reason, body: Optional[Any] = ...) -> None: ...
def endElement(self, name, value, connection): ...
class S3CreateError(StorageCreateError): ...
class GSCreateError(StorageCreateError): ...
class StorageCopyError(BotoServerError): ...
class S3CopyError(StorageCopyError): ...
class GSCopyError(StorageCopyError): ...
class SQSError(BotoServerError):
detail: Any
type: Any
def __init__(self, status, reason, body: Optional[Any] = ...) -> None: ...
def startElement(self, name, attrs, connection): ...
def endElement(self, name, value, connection): ...
class SQSDecodeError(BotoClientError):
message: Any
def __init__(self, reason, message) -> None: ...
class StorageResponseError(BotoServerError):
resource: Any
def __init__(self, status, reason, body: Optional[Any] = ...) -> None: ...
def startElement(self, name, attrs, connection): ...
def endElement(self, name, value, connection): ...
class S3ResponseError(StorageResponseError): ...
class GSResponseError(StorageResponseError): ...
class EC2ResponseError(BotoServerError):
errors: Any
def __init__(self, status, reason, body: Optional[Any] = ...) -> None: ...
def startElement(self, name, attrs, connection): ...
request_id: Any
def endElement(self, name, value, connection): ...
class JSONResponseError(BotoServerError):
status: Any
reason: Any
body: Any
error_message: Any
error_code: Any
def __init__(self, status, reason, body: Optional[Any] = ..., *args) -> None: ...
class DynamoDBResponseError(JSONResponseError): ...
class SWFResponseError(JSONResponseError): ...
class EmrResponseError(BotoServerError): ...
class _EC2Error:
connection: Any
error_code: Any
error_message: Any
def __init__(self, connection: Optional[Any] = ...) -> None: ...
def startElement(self, name, attrs, connection): ...
def endElement(self, name, value, connection): ...
class SDBResponseError(BotoServerError): ...
class AWSConnectionError(BotoClientError): ...
class StorageDataError(BotoClientError): ...
class S3DataError(StorageDataError): ...
class GSDataError(StorageDataError): ...
class InvalidUriError(Exception):
message: Any
def __init__(self, message) -> None: ...
class InvalidAclError(Exception):
message: Any
def __init__(self, message) -> None: ...
class InvalidCorsError(Exception):
message: Any
def __init__(self, message) -> None: ...
class NoAuthHandlerFound(Exception): ...
class InvalidLifecycleConfigError(Exception):
message: Any
def __init__(self, message) -> None: ...
class ResumableTransferDisposition:
START_OVER: str
WAIT_BEFORE_RETRY: str
ABORT_CUR_PROCESS: str
ABORT: str
class ResumableUploadException(Exception):
message: Any
disposition: Any
def __init__(self, message, disposition) -> None: ...
class ResumableDownloadException(Exception):
message: Any
disposition: Any
def __init__(self, message, disposition) -> None: ...
class TooManyRecordsException(Exception):
message: Any
def __init__(self, message) -> None: ...
class PleaseRetryException(Exception):
message: Any
response: Any
def __init__(self, message, response: Optional[Any] = ...) -> None: ...
class InvalidInstanceMetadataError(Exception):
MSG: str
def __init__(self, msg) -> None: ...
| 4,569 | Python | .py | 120 | 34.25 | 85 | 0.696291 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,424 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/boto/__init__.pyi | import logging
from typing import Any, Optional, Text
from .s3.connection import S3Connection
Version: Any
UserAgent: Any
config: Any
BUCKET_NAME_RE: Any
TOO_LONG_DNS_NAME_COMP: Any
GENERATION_RE: Any
VERSION_RE: Any
ENDPOINTS_PATH: Any
def init_logging(): ...
class NullHandler(logging.Handler):
def emit(self, record): ...
log: Any
perflog: Any
def set_file_logger(name, filepath, level: Any = ..., format_string: Optional[Any] = ...): ...
def set_stream_logger(name, level: Any = ..., format_string: Optional[Any] = ...): ...
def connect_sqs(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_s3(
aws_access_key_id: Optional[Text] = ..., aws_secret_access_key: Optional[Text] = ..., **kwargs
) -> S3Connection: ...
def connect_gs(gs_access_key_id: Optional[Any] = ..., gs_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_ec2(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_elb(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_autoscale(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_cloudwatch(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_sdb(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_fps(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_mturk(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_cloudfront(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_vpc(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_rds(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_rds2(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_emr(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_sns(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_iam(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_route53(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_cloudformation(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_euca(
host: Optional[Any] = ...,
aws_access_key_id: Optional[Any] = ...,
aws_secret_access_key: Optional[Any] = ...,
port: int = ...,
path: str = ...,
is_secure: bool = ...,
**kwargs,
): ...
def connect_glacier(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_ec2_endpoint(url, aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_walrus(
host: Optional[Any] = ...,
aws_access_key_id: Optional[Any] = ...,
aws_secret_access_key: Optional[Any] = ...,
port: int = ...,
path: str = ...,
is_secure: bool = ...,
**kwargs,
): ...
def connect_ses(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_sts(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_ia(
ia_access_key_id: Optional[Any] = ..., ia_secret_access_key: Optional[Any] = ..., is_secure: bool = ..., **kwargs
): ...
def connect_dynamodb(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_swf(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_cloudsearch(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_cloudsearch2(
aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., sign_request: bool = ..., **kwargs
): ...
def connect_cloudsearchdomain(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_beanstalk(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_elastictranscoder(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_opsworks(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_redshift(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_support(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_cloudtrail(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_directconnect(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_kinesis(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_logs(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_route53domains(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_cognito_identity(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_cognito_sync(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_kms(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_awslambda(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_codedeploy(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_configservice(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_cloudhsm(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_ec2containerservice(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def connect_machinelearning(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
def storage_uri(
uri_str,
default_scheme: str = ...,
debug: int = ...,
validate: bool = ...,
bucket_storage_uri_class: Any = ...,
suppress_consec_slashes: bool = ...,
is_latest: bool = ...,
): ...
def storage_uri_for_key(key): ...
# Explicitly mark this package as incomplete.
def __getattr__(name: str) -> Any: ...
| 7,183 | Python | .py | 102 | 68.372549 | 130 | 0.646593 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,425 | regioninfo.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/boto/regioninfo.pyi | from typing import Any, Optional
def load_endpoint_json(path): ...
def merge_endpoints(defaults, additions): ...
def load_regions(): ...
def get_regions(service_name, region_cls: Optional[Any] = ..., connection_cls: Optional[Any] = ...): ...
class RegionInfo:
connection: Any
name: Any
endpoint: Any
connection_cls: Any
def __init__(
self,
connection: Optional[Any] = ...,
name: Optional[Any] = ...,
endpoint: Optional[Any] = ...,
connection_cls: Optional[Any] = ...,
) -> None: ...
def startElement(self, name, attrs, connection): ...
def endElement(self, name, value, connection): ...
def connect(self, **kw_params): ...
| 701 | Python | .py | 20 | 30.15 | 104 | 0.615611 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,426 | compat.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/boto/compat.pyi | import sys
from typing import Any
if sys.version_info >= (3,):
from base64 import encodebytes as encodebytes
else:
from base64 import encodestring
encodebytes = encodestring
expanduser: Any
if sys.version_info >= (3, 0):
StandardError = Exception
else:
from __builtin__ import StandardError as StandardError
long_type: Any
unquote_str: Any
parse_qs_safe: Any
| 384 | Python | .py | 15 | 22.933333 | 58 | 0.769231 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,427 | auth_handler.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/boto/auth_handler.pyi | from typing import Any
from boto.plugin import Plugin
class NotReadyToAuthenticate(Exception): ...
class AuthHandler(Plugin):
capability: Any
def __init__(self, host, config, provider) -> None: ...
def add_auth(self, http_request): ...
| 251 | Python | .py | 7 | 32.714286 | 59 | 0.721992 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,428 | auth.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/boto/auth.pyi | from typing import Any, Optional
from boto.auth_handler import AuthHandler
SIGV4_DETECT: Any
class HmacKeys:
host: Any
def __init__(self, host, config, provider) -> None: ...
def update_provider(self, provider): ...
def algorithm(self): ...
def sign_string(self, string_to_sign): ...
class AnonAuthHandler(AuthHandler, HmacKeys):
capability: Any
def __init__(self, host, config, provider) -> None: ...
def add_auth(self, http_request, **kwargs): ...
class HmacAuthV1Handler(AuthHandler, HmacKeys):
capability: Any
def __init__(self, host, config, provider) -> None: ...
def update_provider(self, provider): ...
def add_auth(self, http_request, **kwargs): ...
class HmacAuthV2Handler(AuthHandler, HmacKeys):
capability: Any
def __init__(self, host, config, provider) -> None: ...
def update_provider(self, provider): ...
def add_auth(self, http_request, **kwargs): ...
class HmacAuthV3Handler(AuthHandler, HmacKeys):
capability: Any
def __init__(self, host, config, provider) -> None: ...
def add_auth(self, http_request, **kwargs): ...
class HmacAuthV3HTTPHandler(AuthHandler, HmacKeys):
capability: Any
def __init__(self, host, config, provider) -> None: ...
def headers_to_sign(self, http_request): ...
def canonical_headers(self, headers_to_sign): ...
def string_to_sign(self, http_request): ...
def add_auth(self, req, **kwargs): ...
class HmacAuthV4Handler(AuthHandler, HmacKeys):
capability: Any
service_name: Any
region_name: Any
def __init__(self, host, config, provider, service_name: Optional[Any] = ..., region_name: Optional[Any] = ...) -> None: ...
def headers_to_sign(self, http_request): ...
def host_header(self, host, http_request): ...
def query_string(self, http_request): ...
def canonical_query_string(self, http_request): ...
def canonical_headers(self, headers_to_sign): ...
def signed_headers(self, headers_to_sign): ...
def canonical_uri(self, http_request): ...
def payload(self, http_request): ...
def canonical_request(self, http_request): ...
def scope(self, http_request): ...
def split_host_parts(self, host): ...
def determine_region_name(self, host): ...
def determine_service_name(self, host): ...
def credential_scope(self, http_request): ...
def string_to_sign(self, http_request, canonical_request): ...
def signature(self, http_request, string_to_sign): ...
def add_auth(self, req, **kwargs): ...
class S3HmacAuthV4Handler(HmacAuthV4Handler, AuthHandler):
capability: Any
region_name: Any
def __init__(self, *args, **kwargs) -> None: ...
def clean_region_name(self, region_name): ...
def canonical_uri(self, http_request): ...
def canonical_query_string(self, http_request): ...
def host_header(self, host, http_request): ...
def headers_to_sign(self, http_request): ...
def determine_region_name(self, host): ...
def determine_service_name(self, host): ...
def mangle_path_and_params(self, req): ...
def payload(self, http_request): ...
def add_auth(self, req, **kwargs): ...
def presign(self, req, expires, iso_date: Optional[Any] = ...): ...
class STSAnonHandler(AuthHandler):
capability: Any
def add_auth(self, http_request, **kwargs): ...
class QuerySignatureHelper(HmacKeys):
def add_auth(self, http_request, **kwargs): ...
class QuerySignatureV0AuthHandler(QuerySignatureHelper, AuthHandler):
SignatureVersion: int
capability: Any
class QuerySignatureV1AuthHandler(QuerySignatureHelper, AuthHandler):
SignatureVersion: int
capability: Any
def __init__(self, *args, **kw) -> None: ...
class QuerySignatureV2AuthHandler(QuerySignatureHelper, AuthHandler):
SignatureVersion: int
capability: Any
class POSTPathQSV2AuthHandler(QuerySignatureV2AuthHandler, AuthHandler):
capability: Any
def add_auth(self, req, **kwargs): ...
def get_auth_handler(host, config, provider, requested_capability: Optional[Any] = ...): ...
def detect_potential_sigv4(func): ...
def detect_potential_s3sigv4(func): ...
| 4,141 | Python | .py | 92 | 40.695652 | 128 | 0.682292 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,429 | connection.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/boto/connection.pyi | from typing import Any, Optional
from six.moves import http_client
HAVE_HTTPS_CONNECTION: bool
ON_APP_ENGINE: Any
PORTS_BY_SECURITY: Any
DEFAULT_CA_CERTS_FILE: Any
class HostConnectionPool:
queue: Any
def __init__(self) -> None: ...
def size(self): ...
def put(self, conn): ...
def get(self): ...
def clean(self): ...
class ConnectionPool:
CLEAN_INTERVAL: float
STALE_DURATION: float
host_to_pool: Any
last_clean_time: float
mutex: Any
def __init__(self) -> None: ...
def size(self): ...
def get_http_connection(self, host, port, is_secure): ...
def put_http_connection(self, host, port, is_secure, conn): ...
def clean(self): ...
class HTTPRequest:
method: Any
protocol: Any
host: Any
port: Any
path: Any
auth_path: Any
params: Any
headers: Any
body: Any
def __init__(self, method, protocol, host, port, path, auth_path, params, headers, body) -> None: ...
def authorize(self, connection, **kwargs): ...
class HTTPResponse(http_client.HTTPResponse):
def __init__(self, *args, **kwargs) -> None: ...
def read(self, amt: Optional[Any] = ...): ...
class AWSAuthConnection:
suppress_consec_slashes: Any
num_retries: int
is_secure: Any
https_validate_certificates: Any
ca_certificates_file: Any
port: Any
http_exceptions: Any
http_unretryable_exceptions: Any
socket_exception_values: Any
https_connection_factory: Any
protocol: str
host: Any
path: Any
debug: Any
host_header: Any
http_connection_kwargs: Any
provider: Any
auth_service_name: Any
request_hook: Any
def __init__(
self,
host,
aws_access_key_id: Optional[Any] = ...,
aws_secret_access_key: Optional[Any] = ...,
is_secure: bool = ...,
port: Optional[Any] = ...,
proxy: Optional[Any] = ...,
proxy_port: Optional[Any] = ...,
proxy_user: Optional[Any] = ...,
proxy_pass: Optional[Any] = ...,
debug: int = ...,
https_connection_factory: Optional[Any] = ...,
path: str = ...,
provider: str = ...,
security_token: Optional[Any] = ...,
suppress_consec_slashes: bool = ...,
validate_certs: bool = ...,
profile_name: Optional[Any] = ...,
) -> None: ...
auth_region_name: Any
@property
def connection(self): ...
@property
def aws_access_key_id(self): ...
@property
def gs_access_key_id(self) -> Any: ...
access_key: Any
@property
def aws_secret_access_key(self): ...
@property
def gs_secret_access_key(self): ...
secret_key: Any
@property
def profile_name(self): ...
def get_path(self, path: str = ...): ...
def server_name(self, port: Optional[Any] = ...): ...
proxy: Any
proxy_port: Any
proxy_user: Any
proxy_pass: Any
no_proxy: Any
use_proxy: Any
def handle_proxy(self, proxy, proxy_port, proxy_user, proxy_pass): ...
def get_http_connection(self, host, port, is_secure): ...
def skip_proxy(self, host): ...
def new_http_connection(self, host, port, is_secure): ...
def put_http_connection(self, host, port, is_secure, connection): ...
def proxy_ssl(self, host: Optional[Any] = ..., port: Optional[Any] = ...): ...
def prefix_proxy_to_path(self, path, host: Optional[Any] = ...): ...
def get_proxy_auth_header(self): ...
def get_proxy_url_with_auth(self): ...
def set_host_header(self, request): ...
def set_request_hook(self, hook): ...
def build_base_http_request(
self,
method,
path,
auth_path,
params: Optional[Any] = ...,
headers: Optional[Any] = ...,
data: str = ...,
host: Optional[Any] = ...,
): ...
def make_request(
self,
method,
path,
headers: Optional[Any] = ...,
data: str = ...,
host: Optional[Any] = ...,
auth_path: Optional[Any] = ...,
sender: Optional[Any] = ...,
override_num_retries: Optional[Any] = ...,
params: Optional[Any] = ...,
retry_handler: Optional[Any] = ...,
): ...
def close(self): ...
class AWSQueryConnection(AWSAuthConnection):
APIVersion: str
ResponseError: Any
def __init__(
self,
aws_access_key_id: Optional[Any] = ...,
aws_secret_access_key: Optional[Any] = ...,
is_secure: bool = ...,
port: Optional[Any] = ...,
proxy: Optional[Any] = ...,
proxy_port: Optional[Any] = ...,
proxy_user: Optional[Any] = ...,
proxy_pass: Optional[Any] = ...,
host: Optional[Any] = ...,
debug: int = ...,
https_connection_factory: Optional[Any] = ...,
path: str = ...,
security_token: Optional[Any] = ...,
validate_certs: bool = ...,
profile_name: Optional[Any] = ...,
provider: str = ...,
) -> None: ...
def get_utf8_value(self, value): ...
def make_request(self, action, params: Optional[Any] = ..., path: str = ..., verb: str = ..., *args, **kwargs): ... # type: ignore # https://github.com/python/mypy/issues/1237
def build_list_params(self, params, items, label): ...
def build_complex_list_params(self, params, items, label, names): ...
def get_list(self, action, params, markers, path: str = ..., parent: Optional[Any] = ..., verb: str = ...): ...
def get_object(self, action, params, cls, path: str = ..., parent: Optional[Any] = ..., verb: str = ...): ...
def get_status(self, action, params, path: str = ..., parent: Optional[Any] = ..., verb: str = ...): ...
| 5,679 | Python | .py | 166 | 28.150602 | 180 | 0.576385 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,430 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/boto/ec2/__init__.pyi | from typing import Any
RegionData: Any
def regions(**kw_params): ...
def connect_to_region(region_name, **kw_params): ...
def get_region(region_name, **kw_params): ...
# Explicitly mark this package as incomplete.
def __getattr__(name: str) -> Any: ...
| 256 | Python | .py | 7 | 35.142857 | 52 | 0.703252 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,431 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/boto/elb/__init__.pyi | from typing import Any
from boto.connection import AWSQueryConnection
RegionData: Any
def regions(): ...
def connect_to_region(region_name, **kw_params): ...
class ELBConnection(AWSQueryConnection):
APIVersion: Any
DefaultRegionName: Any
DefaultRegionEndpoint: Any
region: Any
def __init__(
self,
aws_access_key_id=...,
aws_secret_access_key=...,
is_secure=...,
port=...,
proxy=...,
proxy_port=...,
proxy_user=...,
proxy_pass=...,
debug=...,
https_connection_factory=...,
region=...,
path=...,
security_token=...,
validate_certs=...,
profile_name=...,
) -> None: ...
def build_list_params(self, params, items, label): ...
def get_all_load_balancers(self, load_balancer_names=..., marker=...): ...
def create_load_balancer(
self, name, zones, listeners=..., subnets=..., security_groups=..., scheme=..., complex_listeners=...
): ...
def create_load_balancer_listeners(self, name, listeners=..., complex_listeners=...): ...
def delete_load_balancer(self, name): ...
def delete_load_balancer_listeners(self, name, ports): ...
def enable_availability_zones(self, load_balancer_name, zones_to_add): ...
def disable_availability_zones(self, load_balancer_name, zones_to_remove): ...
def modify_lb_attribute(self, load_balancer_name, attribute, value): ...
def get_all_lb_attributes(self, load_balancer_name): ...
def get_lb_attribute(self, load_balancer_name, attribute): ...
def register_instances(self, load_balancer_name, instances): ...
def deregister_instances(self, load_balancer_name, instances): ...
def describe_instance_health(self, load_balancer_name, instances=...): ...
def configure_health_check(self, name, health_check): ...
def set_lb_listener_SSL_certificate(self, lb_name, lb_port, ssl_certificate_id): ...
def create_app_cookie_stickiness_policy(self, name, lb_name, policy_name): ...
def create_lb_cookie_stickiness_policy(self, cookie_expiration_period, lb_name, policy_name): ...
def create_lb_policy(self, lb_name, policy_name, policy_type, policy_attributes): ...
def delete_lb_policy(self, lb_name, policy_name): ...
def set_lb_policies_of_listener(self, lb_name, lb_port, policies): ...
def set_lb_policies_of_backend_server(self, lb_name, instance_port, policies): ...
def apply_security_groups_to_lb(self, name, security_groups): ...
def attach_lb_to_subnets(self, name, subnets): ...
def detach_lb_from_subnets(self, name, subnets): ...
| 2,629 | Python | .py | 55 | 41.927273 | 109 | 0.651362 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,432 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/boto/kms/__init__.pyi | from typing import List
import boto.regioninfo
def regions() -> List[boto.regioninfo.RegionInfo]: ...
def connect_to_region(region_name, **kw_params): ...
| 157 | Python | .py | 4 | 37.75 | 54 | 0.754967 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,433 | layer1.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/boto/kms/layer1.pyi | from typing import Any, Dict, List, Mapping, Optional, Type
from boto.connection import AWSQueryConnection
class KMSConnection(AWSQueryConnection):
APIVersion: str
DefaultRegionName: str
DefaultRegionEndpoint: str
ServiceName: str
TargetPrefix: str
ResponseError: Type[Exception]
region: Any
def __init__(self, **kwargs) -> None: ...
def create_alias(self, alias_name: str, target_key_id: str) -> Optional[Dict[str, Any]]: ...
def create_grant(
self,
key_id: str,
grantee_principal: str,
retiring_principal: Optional[str] = ...,
operations: Optional[List[str]] = ...,
constraints: Optional[Dict[str, Dict[str, str]]] = ...,
grant_tokens: Optional[List[str]] = ...,
) -> Optional[Dict[str, Any]]: ...
def create_key(
self, policy: Optional[str] = ..., description: Optional[str] = ..., key_usage: Optional[str] = ...
) -> Optional[Dict[str, Any]]: ...
def decrypt(
self,
ciphertext_blob: bytes,
encryption_context: Optional[Mapping[str, Any]] = ...,
grant_tokens: Optional[List[str]] = ...,
) -> Optional[Dict[str, Any]]: ...
def delete_alias(self, alias_name: str) -> Optional[Dict[str, Any]]: ...
def describe_key(self, key_id: str) -> Optional[Dict[str, Any]]: ...
def disable_key(self, key_id: str) -> Optional[Dict[str, Any]]: ...
def disable_key_rotation(self, key_id: str) -> Optional[Dict[str, Any]]: ...
def enable_key(self, key_id: str) -> Optional[Dict[str, Any]]: ...
def enable_key_rotation(self, key_id: str) -> Optional[Dict[str, Any]]: ...
def encrypt(
self,
key_id: str,
plaintext: bytes,
encryption_context: Optional[Mapping[str, Any]] = ...,
grant_tokens: Optional[List[str]] = ...,
) -> Optional[Dict[str, Any]]: ...
def generate_data_key(
self,
key_id: str,
encryption_context: Optional[Mapping[str, Any]] = ...,
number_of_bytes: Optional[int] = ...,
key_spec: Optional[str] = ...,
grant_tokens: Optional[List[str]] = ...,
) -> Optional[Dict[str, Any]]: ...
def generate_data_key_without_plaintext(
self,
key_id: str,
encryption_context: Optional[Mapping[str, Any]] = ...,
key_spec: Optional[str] = ...,
number_of_bytes: Optional[int] = ...,
grant_tokens: Optional[List[str]] = ...,
) -> Optional[Dict[str, Any]]: ...
def generate_random(self, number_of_bytes: Optional[int] = ...) -> Optional[Dict[str, Any]]: ...
def get_key_policy(self, key_id: str, policy_name: str) -> Optional[Dict[str, Any]]: ...
def get_key_rotation_status(self, key_id: str) -> Optional[Dict[str, Any]]: ...
def list_aliases(self, limit: Optional[int] = ..., marker: Optional[str] = ...) -> Optional[Dict[str, Any]]: ...
def list_grants(self, key_id: str, limit: Optional[int] = ..., marker: Optional[str] = ...) -> Optional[Dict[str, Any]]: ...
def list_key_policies(
self, key_id: str, limit: Optional[int] = ..., marker: Optional[str] = ...
) -> Optional[Dict[str, Any]]: ...
def list_keys(self, limit: Optional[int] = ..., marker: Optional[str] = ...) -> Optional[Dict[str, Any]]: ...
def put_key_policy(self, key_id: str, policy_name: str, policy: str) -> Optional[Dict[str, Any]]: ...
def re_encrypt(
self,
ciphertext_blob: bytes,
destination_key_id: str,
source_encryption_context: Optional[Mapping[str, Any]] = ...,
destination_encryption_context: Optional[Mapping[str, Any]] = ...,
grant_tokens: Optional[List[str]] = ...,
) -> Optional[Dict[str, Any]]: ...
def retire_grant(self, grant_token: str) -> Optional[Dict[str, Any]]: ...
def revoke_grant(self, key_id: str, grant_id: str) -> Optional[Dict[str, Any]]: ...
def update_key_description(self, key_id: str, description: str) -> Optional[Dict[str, Any]]: ...
| 3,972 | Python | .py | 80 | 42.975 | 128 | 0.598201 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,434 | exceptions.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/boto/kms/exceptions.pyi | from boto.exception import BotoServerError
class InvalidGrantTokenException(BotoServerError): ...
class DisabledException(BotoServerError): ...
class LimitExceededException(BotoServerError): ...
class DependencyTimeoutException(BotoServerError): ...
class InvalidMarkerException(BotoServerError): ...
class AlreadyExistsException(BotoServerError): ...
class InvalidCiphertextException(BotoServerError): ...
class KeyUnavailableException(BotoServerError): ...
class InvalidAliasNameException(BotoServerError): ...
class UnsupportedOperationException(BotoServerError): ...
class InvalidArnException(BotoServerError): ...
class KMSInternalException(BotoServerError): ...
class InvalidKeyUsageException(BotoServerError): ...
class MalformedPolicyDocumentException(BotoServerError): ...
class NotFoundException(BotoServerError): ...
| 829 | Python | .py | 16 | 50.75 | 60 | 0.847291 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,435 | bucketlistresultset.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/boto/s3/bucketlistresultset.pyi | from typing import Any, Iterable, Iterator, Optional
from .key import Key
def bucket_lister(
bucket,
prefix: str = ...,
delimiter: str = ...,
marker: str = ...,
headers: Optional[Any] = ...,
encoding_type: Optional[Any] = ...,
): ...
class BucketListResultSet(Iterable[Key]):
bucket: Any
prefix: Any
delimiter: Any
marker: Any
headers: Any
encoding_type: Any
def __init__(
self,
bucket: Optional[Any] = ...,
prefix: str = ...,
delimiter: str = ...,
marker: str = ...,
headers: Optional[Any] = ...,
encoding_type: Optional[Any] = ...,
) -> None: ...
def __iter__(self) -> Iterator[Key]: ...
def versioned_bucket_lister(
bucket,
prefix: str = ...,
delimiter: str = ...,
key_marker: str = ...,
version_id_marker: str = ...,
headers: Optional[Any] = ...,
encoding_type: Optional[Any] = ...,
): ...
class VersionedBucketListResultSet:
bucket: Any
prefix: Any
delimiter: Any
key_marker: Any
version_id_marker: Any
headers: Any
encoding_type: Any
def __init__(
self,
bucket: Optional[Any] = ...,
prefix: str = ...,
delimiter: str = ...,
key_marker: str = ...,
version_id_marker: str = ...,
headers: Optional[Any] = ...,
encoding_type: Optional[Any] = ...,
) -> None: ...
def __iter__(self) -> Iterator[Key]: ...
def multipart_upload_lister(
bucket, key_marker: str = ..., upload_id_marker: str = ..., headers: Optional[Any] = ..., encoding_type: Optional[Any] = ...
): ...
class MultiPartUploadListResultSet:
bucket: Any
key_marker: Any
upload_id_marker: Any
headers: Any
encoding_type: Any
def __init__(
self,
bucket: Optional[Any] = ...,
key_marker: str = ...,
upload_id_marker: str = ...,
headers: Optional[Any] = ...,
encoding_type: Optional[Any] = ...,
) -> None: ...
def __iter__(self): ...
| 2,029 | Python | .py | 73 | 22.150685 | 128 | 0.548999 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,436 | multidelete.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/boto/s3/multidelete.pyi | from typing import Any, Optional
class Deleted:
key: Any
version_id: Any
delete_marker: Any
delete_marker_version_id: Any
def __init__(
self,
key: Optional[Any] = ...,
version_id: Optional[Any] = ...,
delete_marker: bool = ...,
delete_marker_version_id: Optional[Any] = ...,
) -> None: ...
def startElement(self, name, attrs, connection): ...
def endElement(self, name, value, connection): ...
class Error:
key: Any
version_id: Any
code: Any
message: Any
def __init__(
self, key: Optional[Any] = ..., version_id: Optional[Any] = ..., code: Optional[Any] = ..., message: Optional[Any] = ...
) -> None: ...
def startElement(self, name, attrs, connection): ...
def endElement(self, name, value, connection): ...
class MultiDeleteResult:
bucket: Any
deleted: Any
errors: Any
def __init__(self, bucket: Optional[Any] = ...) -> None: ...
def startElement(self, name, attrs, connection): ...
def endElement(self, name, value, connection): ...
| 1,075 | Python | .py | 32 | 28.25 | 128 | 0.6 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,437 | deletemarker.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/boto/s3/deletemarker.pyi | from typing import Any, Optional
class DeleteMarker:
bucket: Any
name: Any
version_id: Any
is_latest: bool
last_modified: Any
owner: Any
def __init__(self, bucket: Optional[Any] = ..., name: Optional[Any] = ...) -> None: ...
def startElement(self, name, attrs, connection): ...
def endElement(self, name, value, connection): ...
| 366 | Python | .py | 11 | 28.909091 | 91 | 0.644068 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,438 | bucket.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/boto/s3/bucket.pyi | from typing import Any, Dict, List, Optional, Text, Type
from .bucketlistresultset import BucketListResultSet
from .connection import S3Connection
from .key import Key
class S3WebsiteEndpointTranslate:
trans_region: Dict[str, str]
@classmethod
def translate_region(cls, reg: Text) -> str: ...
S3Permissions: List[str]
class Bucket:
LoggingGroup: str
BucketPaymentBody: str
VersioningBody: str
VersionRE: str
MFADeleteRE: str
name: Text
connection: S3Connection
key_class: Type[Key]
def __init__(
self, connection: Optional[S3Connection] = ..., name: Optional[Text] = ..., key_class: Type[Key] = ...
) -> None: ...
def __iter__(self): ...
def __contains__(self, key_name) -> bool: ...
def startElement(self, name, attrs, connection): ...
creation_date: Any
def endElement(self, name, value, connection): ...
def set_key_class(self, key_class): ...
def lookup(self, key_name, headers: Optional[Dict[Text, Text]] = ...): ...
def get_key(
self,
key_name,
headers: Optional[Dict[Text, Text]] = ...,
version_id: Optional[Any] = ...,
response_headers: Optional[Dict[Text, Text]] = ...,
validate: bool = ...,
) -> Key: ...
def list(
self,
prefix: Text = ...,
delimiter: Text = ...,
marker: Text = ...,
headers: Optional[Dict[Text, Text]] = ...,
encoding_type: Optional[Any] = ...,
) -> BucketListResultSet: ...
def list_versions(
self,
prefix: str = ...,
delimiter: str = ...,
key_marker: str = ...,
version_id_marker: str = ...,
headers: Optional[Dict[Text, Text]] = ...,
encoding_type: Optional[Text] = ...,
) -> BucketListResultSet: ...
def list_multipart_uploads(
self,
key_marker: str = ...,
upload_id_marker: str = ...,
headers: Optional[Dict[Text, Text]] = ...,
encoding_type: Optional[Any] = ...,
): ...
def validate_kwarg_names(self, kwargs, names): ...
def get_all_keys(self, headers: Optional[Dict[Text, Text]] = ..., **params): ...
def get_all_versions(self, headers: Optional[Dict[Text, Text]] = ..., **params): ...
def validate_get_all_versions_params(self, params): ...
def get_all_multipart_uploads(self, headers: Optional[Dict[Text, Text]] = ..., **params): ...
def new_key(self, key_name: Optional[Any] = ...): ...
def generate_url(
self,
expires_in,
method: str = ...,
headers: Optional[Dict[Text, Text]] = ...,
force_http: bool = ...,
response_headers: Optional[Dict[Text, Text]] = ...,
expires_in_absolute: bool = ...,
): ...
def delete_keys(self, keys, quiet: bool = ..., mfa_token: Optional[Any] = ..., headers: Optional[Dict[Text, Text]] = ...): ...
def delete_key(
self, key_name, headers: Optional[Dict[Text, Text]] = ..., version_id: Optional[Any] = ..., mfa_token: Optional[Any] = ...
): ...
def copy_key(
self,
new_key_name,
src_bucket_name,
src_key_name,
metadata: Optional[Any] = ...,
src_version_id: Optional[Any] = ...,
storage_class: str = ...,
preserve_acl: bool = ...,
encrypt_key: bool = ...,
headers: Optional[Dict[Text, Text]] = ...,
query_args: Optional[Any] = ...,
): ...
def set_canned_acl(
self, acl_str, key_name: str = ..., headers: Optional[Dict[Text, Text]] = ..., version_id: Optional[Any] = ...
): ...
def get_xml_acl(self, key_name: str = ..., headers: Optional[Dict[Text, Text]] = ..., version_id: Optional[Any] = ...): ...
def set_xml_acl(
self,
acl_str,
key_name: str = ...,
headers: Optional[Dict[Text, Text]] = ...,
version_id: Optional[Any] = ...,
query_args: str = ...,
): ...
def set_acl(
self, acl_or_str, key_name: str = ..., headers: Optional[Dict[Text, Text]] = ..., version_id: Optional[Any] = ...
): ...
def get_acl(self, key_name: str = ..., headers: Optional[Dict[Text, Text]] = ..., version_id: Optional[Any] = ...): ...
def set_subresource(
self, subresource, value, key_name: str = ..., headers: Optional[Dict[Text, Text]] = ..., version_id: Optional[Any] = ...
): ...
def get_subresource(
self, subresource, key_name: str = ..., headers: Optional[Dict[Text, Text]] = ..., version_id: Optional[Any] = ...
): ...
def make_public(self, recursive: bool = ..., headers: Optional[Dict[Text, Text]] = ...): ...
def add_email_grant(self, permission, email_address, recursive: bool = ..., headers: Optional[Dict[Text, Text]] = ...): ...
def add_user_grant(
self,
permission,
user_id,
recursive: bool = ...,
headers: Optional[Dict[Text, Text]] = ...,
display_name: Optional[Any] = ...,
): ...
def list_grants(self, headers: Optional[Dict[Text, Text]] = ...): ...
def get_location(self): ...
def set_xml_logging(self, logging_str, headers: Optional[Dict[Text, Text]] = ...): ...
def enable_logging(
self, target_bucket, target_prefix: str = ..., grants: Optional[Any] = ..., headers: Optional[Dict[Text, Text]] = ...
): ...
def disable_logging(self, headers: Optional[Dict[Text, Text]] = ...): ...
def get_logging_status(self, headers: Optional[Dict[Text, Text]] = ...): ...
def set_as_logging_target(self, headers: Optional[Dict[Text, Text]] = ...): ...
def get_request_payment(self, headers: Optional[Dict[Text, Text]] = ...): ...
def set_request_payment(self, payer: str = ..., headers: Optional[Dict[Text, Text]] = ...): ...
def configure_versioning(
self, versioning, mfa_delete: bool = ..., mfa_token: Optional[Any] = ..., headers: Optional[Dict[Text, Text]] = ...
): ...
def get_versioning_status(self, headers: Optional[Dict[Text, Text]] = ...): ...
def configure_lifecycle(self, lifecycle_config, headers: Optional[Dict[Text, Text]] = ...): ...
def get_lifecycle_config(self, headers: Optional[Dict[Text, Text]] = ...): ...
def delete_lifecycle_configuration(self, headers: Optional[Dict[Text, Text]] = ...): ...
def configure_website(
self,
suffix: Optional[Any] = ...,
error_key: Optional[Any] = ...,
redirect_all_requests_to: Optional[Any] = ...,
routing_rules: Optional[Any] = ...,
headers: Optional[Dict[Text, Text]] = ...,
): ...
def set_website_configuration(self, config, headers: Optional[Dict[Text, Text]] = ...): ...
def set_website_configuration_xml(self, xml, headers: Optional[Dict[Text, Text]] = ...): ...
def get_website_configuration(self, headers: Optional[Dict[Text, Text]] = ...): ...
def get_website_configuration_obj(self, headers: Optional[Dict[Text, Text]] = ...): ...
def get_website_configuration_with_xml(self, headers: Optional[Dict[Text, Text]] = ...): ...
def get_website_configuration_xml(self, headers: Optional[Dict[Text, Text]] = ...): ...
def delete_website_configuration(self, headers: Optional[Dict[Text, Text]] = ...): ...
def get_website_endpoint(self): ...
def get_policy(self, headers: Optional[Dict[Text, Text]] = ...): ...
def set_policy(self, policy, headers: Optional[Dict[Text, Text]] = ...): ...
def delete_policy(self, headers: Optional[Dict[Text, Text]] = ...): ...
def set_cors_xml(self, cors_xml, headers: Optional[Dict[Text, Text]] = ...): ...
def set_cors(self, cors_config, headers: Optional[Dict[Text, Text]] = ...): ...
def get_cors_xml(self, headers: Optional[Dict[Text, Text]] = ...): ...
def get_cors(self, headers: Optional[Dict[Text, Text]] = ...): ...
def delete_cors(self, headers: Optional[Dict[Text, Text]] = ...): ...
def initiate_multipart_upload(
self,
key_name,
headers: Optional[Dict[Text, Text]] = ...,
reduced_redundancy: bool = ...,
metadata: Optional[Any] = ...,
encrypt_key: bool = ...,
policy: Optional[Any] = ...,
): ...
def complete_multipart_upload(self, key_name, upload_id, xml_body, headers: Optional[Dict[Text, Text]] = ...): ...
def cancel_multipart_upload(self, key_name, upload_id, headers: Optional[Dict[Text, Text]] = ...): ...
def delete(self, headers: Optional[Dict[Text, Text]] = ...): ...
def get_tags(self): ...
def get_xml_tags(self): ...
def set_xml_tags(self, tag_str, headers: Optional[Dict[Text, Text]] = ..., query_args: str = ...): ...
def set_tags(self, tags, headers: Optional[Dict[Text, Text]] = ...): ...
def delete_tags(self, headers: Optional[Dict[Text, Text]] = ...): ...
| 8,747 | Python | .py | 183 | 41.289617 | 130 | 0.580491 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,439 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/boto/s3/__init__.pyi | from typing import List, Optional, Text, Type
from boto.connection import AWSAuthConnection
from boto.regioninfo import RegionInfo
from .connection import S3Connection
class S3RegionInfo(RegionInfo):
def connect(
self,
name: Optional[Text] = ...,
endpoint: Optional[str] = ...,
connection_cls: Optional[Type[AWSAuthConnection]] = ...,
**kw_params,
) -> S3Connection: ...
def regions() -> List[S3RegionInfo]: ...
def connect_to_region(region_name: Text, **kw_params): ...
| 523 | Python | .py | 14 | 32.642857 | 64 | 0.687129 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,440 | tagging.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/boto/s3/tagging.pyi | from typing import Any, List, Optional
class Tag:
key: Any
value: Any
def __init__(self, key: Optional[Any] = ..., value: Optional[Any] = ...) -> None: ...
def startElement(self, name, attrs, connection): ...
def endElement(self, name, value, connection): ...
def to_xml(self): ...
def __eq__(self, other): ...
class TagSet(List[Tag]):
def startElement(self, name, attrs, connection): ...
def endElement(self, name, value, connection): ...
def add_tag(self, key, value): ...
def to_xml(self): ...
class Tags(List[TagSet]):
def startElement(self, name, attrs, connection): ...
def endElement(self, name, value, connection): ...
def to_xml(self): ...
def add_tag_set(self, tag_set): ...
| 748 | Python | .py | 19 | 35.052632 | 89 | 0.619835 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,441 | keyfile.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/boto/s3/keyfile.pyi | from typing import Any
class KeyFile:
key: Any
location: int
closed: bool
softspace: int
mode: str
encoding: str
errors: str
newlines: str
name: Any
def __init__(self, key) -> None: ...
def tell(self): ...
def seek(self, pos, whence: Any = ...): ...
def read(self, size): ...
def close(self): ...
def isatty(self): ...
def getkey(self): ...
def write(self, buf): ...
def fileno(self): ...
def flush(self): ...
def next(self): ...
def readinto(self): ...
def readline(self): ...
def readlines(self): ...
def truncate(self): ...
def writelines(self): ...
def xreadlines(self): ...
| 684 | Python | .py | 28 | 19.678571 | 47 | 0.558779 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,442 | prefix.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/boto/s3/prefix.pyi | from typing import Any, Optional
class Prefix:
bucket: Any
name: Any
def __init__(self, bucket: Optional[Any] = ..., name: Optional[Any] = ...) -> None: ...
def startElement(self, name, attrs, connection): ...
def endElement(self, name, value, connection): ...
@property
def provider(self): ...
| 324 | Python | .py | 9 | 31.777778 | 91 | 0.630573 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,443 | website.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/boto/s3/website.pyi | from typing import Any, List, Optional
def tag(key, value): ...
class WebsiteConfiguration:
suffix: Any
error_key: Any
redirect_all_requests_to: Any
routing_rules: Any
def __init__(
self,
suffix: Optional[Any] = ...,
error_key: Optional[Any] = ...,
redirect_all_requests_to: Optional[Any] = ...,
routing_rules: Optional[Any] = ...,
) -> None: ...
def startElement(self, name, attrs, connection): ...
def endElement(self, name, value, connection): ...
def to_xml(self): ...
class _XMLKeyValue:
translator: Any
container: Any
def __init__(self, translator, container: Optional[Any] = ...) -> None: ...
def startElement(self, name, attrs, connection): ...
def endElement(self, name, value, connection): ...
def to_xml(self): ...
class RedirectLocation(_XMLKeyValue):
TRANSLATOR: Any
hostname: Any
protocol: Any
def __init__(self, hostname: Optional[Any] = ..., protocol: Optional[Any] = ...) -> None: ...
def to_xml(self): ...
class RoutingRules(List[RoutingRule]):
def add_rule(self, rule: RoutingRule) -> RoutingRules: ...
def startElement(self, name, attrs, connection): ...
def endElement(self, name, value, connection): ...
def to_xml(self): ...
class RoutingRule:
condition: Any
redirect: Any
def __init__(self, condition: Optional[Any] = ..., redirect: Optional[Any] = ...) -> None: ...
def startElement(self, name, attrs, connection): ...
def endElement(self, name, value, connection): ...
def to_xml(self): ...
@classmethod
def when(cls, key_prefix: Optional[Any] = ..., http_error_code: Optional[Any] = ...): ...
def then_redirect(
self,
hostname: Optional[Any] = ...,
protocol: Optional[Any] = ...,
replace_key: Optional[Any] = ...,
replace_key_prefix: Optional[Any] = ...,
http_redirect_code: Optional[Any] = ...,
): ...
class Condition(_XMLKeyValue):
TRANSLATOR: Any
key_prefix: Any
http_error_code: Any
def __init__(self, key_prefix: Optional[Any] = ..., http_error_code: Optional[Any] = ...) -> None: ...
def to_xml(self): ...
class Redirect(_XMLKeyValue):
TRANSLATOR: Any
hostname: Any
protocol: Any
replace_key: Any
replace_key_prefix: Any
http_redirect_code: Any
def __init__(
self,
hostname: Optional[Any] = ...,
protocol: Optional[Any] = ...,
replace_key: Optional[Any] = ...,
replace_key_prefix: Optional[Any] = ...,
http_redirect_code: Optional[Any] = ...,
) -> None: ...
def to_xml(self): ...
| 2,649 | Python | .py | 74 | 30.256757 | 106 | 0.602649 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,444 | acl.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/boto/s3/acl.pyi | from typing import Any, Dict, List, Optional, Text, Union
from .connection import S3Connection
from .user import User
CannedACLStrings: List[str]
class Policy:
parent: Any
namespace: Any
acl: ACL
def __init__(self, parent: Optional[Any] = ...) -> None: ...
owner: User
def startElement(self, name: Text, attrs: Dict[str, Any], connection: S3Connection) -> Union[None, User, ACL]: ...
def endElement(self, name: Text, value: Any, connection: S3Connection) -> None: ...
def to_xml(self) -> str: ...
class ACL:
policy: Policy
grants: List[Grant]
def __init__(self, policy: Optional[Policy] = ...) -> None: ...
def add_grant(self, grant: Grant) -> None: ...
def add_email_grant(self, permission: Text, email_address: Text) -> None: ...
def add_user_grant(self, permission: Text, user_id: Text, display_name: Optional[Text] = ...) -> None: ...
def startElement(self, name, attrs, connection): ...
def endElement(self, name: Text, value: Any, connection: S3Connection) -> None: ...
def to_xml(self) -> str: ...
class Grant:
NameSpace: Text
permission: Text
id: Text
display_name: Text
uri: Text
email_address: Text
type: Text
def __init__(
self,
permission: Optional[Text] = ...,
type: Optional[Text] = ...,
id: Optional[Text] = ...,
display_name: Optional[Text] = ...,
uri: Optional[Text] = ...,
email_address: Optional[Text] = ...,
) -> None: ...
def startElement(self, name, attrs, connection): ...
def endElement(self, name: Text, value: Any, connection: S3Connection) -> None: ...
def to_xml(self) -> str: ...
| 1,686 | Python | .py | 43 | 34.093023 | 118 | 0.619658 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,445 | multipart.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/boto/s3/multipart.pyi | from typing import Any, Optional
class CompleteMultiPartUpload:
bucket: Any
location: Any
bucket_name: Any
key_name: Any
etag: Any
version_id: Any
encrypted: Any
def __init__(self, bucket: Optional[Any] = ...) -> None: ...
def startElement(self, name, attrs, connection): ...
def endElement(self, name, value, connection): ...
class Part:
bucket: Any
part_number: Any
last_modified: Any
etag: Any
size: Any
def __init__(self, bucket: Optional[Any] = ...) -> None: ...
def startElement(self, name, attrs, connection): ...
def endElement(self, name, value, connection): ...
def part_lister(mpupload, part_number_marker: Optional[Any] = ...): ...
class MultiPartUpload:
bucket: Any
bucket_name: Any
key_name: Any
id: Any
initiator: Any
owner: Any
storage_class: Any
initiated: Any
part_number_marker: Any
next_part_number_marker: Any
max_parts: Any
is_truncated: bool
def __init__(self, bucket: Optional[Any] = ...) -> None: ...
def __iter__(self): ...
def to_xml(self): ...
def startElement(self, name, attrs, connection): ...
def endElement(self, name, value, connection): ...
def get_all_parts(
self, max_parts: Optional[Any] = ..., part_number_marker: Optional[Any] = ..., encoding_type: Optional[Any] = ...
): ...
def upload_part_from_file(
self,
fp,
part_num,
headers: Optional[Any] = ...,
replace: bool = ...,
cb: Optional[Any] = ...,
num_cb: int = ...,
md5: Optional[Any] = ...,
size: Optional[Any] = ...,
): ...
def copy_part_from_key(
self,
src_bucket_name,
src_key_name,
part_num,
start: Optional[Any] = ...,
end: Optional[Any] = ...,
src_version_id: Optional[Any] = ...,
headers: Optional[Any] = ...,
): ...
def complete_upload(self): ...
def cancel_upload(self): ...
| 1,997 | Python | .py | 66 | 24.409091 | 121 | 0.577582 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,446 | cors.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/boto/s3/cors.pyi | from typing import Any, List, Optional
class CORSRule:
allowed_method: Any
allowed_origin: Any
id: Any
allowed_header: Any
max_age_seconds: Any
expose_header: Any
def __init__(
self,
allowed_method: Optional[Any] = ...,
allowed_origin: Optional[Any] = ...,
id: Optional[Any] = ...,
allowed_header: Optional[Any] = ...,
max_age_seconds: Optional[Any] = ...,
expose_header: Optional[Any] = ...,
) -> None: ...
def startElement(self, name, attrs, connection): ...
def endElement(self, name, value, connection): ...
def to_xml(self) -> str: ...
class CORSConfiguration(List[CORSRule]):
def startElement(self, name, attrs, connection): ...
def endElement(self, name, value, connection): ...
def to_xml(self) -> str: ...
def add_rule(
self,
allowed_method,
allowed_origin,
id: Optional[Any] = ...,
allowed_header: Optional[Any] = ...,
max_age_seconds: Optional[Any] = ...,
expose_header: Optional[Any] = ...,
): ...
| 1,088 | Python | .py | 33 | 26.575758 | 56 | 0.580247 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,447 | bucketlogging.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/boto/s3/bucketlogging.pyi | from typing import Any, Optional
class BucketLogging:
target: Any
prefix: Any
grants: Any
def __init__(self, target: Optional[Any] = ..., prefix: Optional[Any] = ..., grants: Optional[Any] = ...) -> None: ...
def add_grant(self, grant): ...
def startElement(self, name, attrs, connection): ...
def endElement(self, name, value, connection): ...
def to_xml(self): ...
| 400 | Python | .py | 10 | 35.7 | 122 | 0.627249 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,448 | user.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/boto/s3/user.pyi | from typing import Any, Optional
class User:
type: Any
id: Any
display_name: Any
def __init__(self, parent: Optional[Any] = ..., id: str = ..., display_name: str = ...) -> None: ...
def startElement(self, name, attrs, connection): ...
def endElement(self, name, value, connection): ...
def to_xml(self, element_name: str = ...): ...
| 362 | Python | .py | 9 | 36 | 104 | 0.605114 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,449 | connection.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/boto/s3/connection.pyi | from typing import Any, Dict, Optional, Text, Type
from boto.connection import AWSAuthConnection
from boto.exception import BotoClientError
from .bucket import Bucket
def check_lowercase_bucketname(n): ...
def assert_case_insensitive(f): ...
class _CallingFormat:
def get_bucket_server(self, server, bucket): ...
def build_url_base(self, connection, protocol, server, bucket, key: str = ...): ...
def build_host(self, server, bucket): ...
def build_auth_path(self, bucket, key: str = ...): ...
def build_path_base(self, bucket, key: str = ...): ...
class SubdomainCallingFormat(_CallingFormat):
def get_bucket_server(self, server, bucket): ...
class VHostCallingFormat(_CallingFormat):
def get_bucket_server(self, server, bucket): ...
class OrdinaryCallingFormat(_CallingFormat):
def get_bucket_server(self, server, bucket): ...
def build_path_base(self, bucket, key: str = ...): ...
class ProtocolIndependentOrdinaryCallingFormat(OrdinaryCallingFormat):
def build_url_base(self, connection, protocol, server, bucket, key: str = ...): ...
class Location:
DEFAULT: str
EU: str
EUCentral1: str
USWest: str
USWest2: str
SAEast: str
APNortheast: str
APSoutheast: str
APSoutheast2: str
CNNorth1: str
class NoHostProvided: ...
class HostRequiredError(BotoClientError): ...
class S3Connection(AWSAuthConnection):
DefaultHost: Any
DefaultCallingFormat: Any
QueryString: str
calling_format: Any
bucket_class: Type[Bucket]
anon: Any
def __init__(
self,
aws_access_key_id: Optional[Any] = ...,
aws_secret_access_key: Optional[Any] = ...,
is_secure: bool = ...,
port: Optional[Any] = ...,
proxy: Optional[Any] = ...,
proxy_port: Optional[Any] = ...,
proxy_user: Optional[Any] = ...,
proxy_pass: Optional[Any] = ...,
host: Any = ...,
debug: int = ...,
https_connection_factory: Optional[Any] = ...,
calling_format: Any = ...,
path: str = ...,
provider: str = ...,
bucket_class: Type[Bucket] = ...,
security_token: Optional[Any] = ...,
suppress_consec_slashes: bool = ...,
anon: bool = ...,
validate_certs: Optional[Any] = ...,
profile_name: Optional[Any] = ...,
) -> None: ...
def __iter__(self): ...
def __contains__(self, bucket_name): ...
def set_bucket_class(self, bucket_class: Type[Bucket]) -> None: ...
def build_post_policy(self, expiration_time, conditions): ...
def build_post_form_args(
self,
bucket_name,
key,
expires_in: int = ...,
acl: Optional[Any] = ...,
success_action_redirect: Optional[Any] = ...,
max_content_length: Optional[Any] = ...,
http_method: str = ...,
fields: Optional[Any] = ...,
conditions: Optional[Any] = ...,
storage_class: str = ...,
server_side_encryption: Optional[Any] = ...,
): ...
def generate_url_sigv4(
self,
expires_in,
method,
bucket: str = ...,
key: str = ...,
headers: Optional[Dict[Text, Text]] = ...,
force_http: bool = ...,
response_headers: Optional[Dict[Text, Text]] = ...,
version_id: Optional[Any] = ...,
iso_date: Optional[Any] = ...,
): ...
def generate_url(
self,
expires_in,
method,
bucket: str = ...,
key: str = ...,
headers: Optional[Dict[Text, Text]] = ...,
query_auth: bool = ...,
force_http: bool = ...,
response_headers: Optional[Dict[Text, Text]] = ...,
expires_in_absolute: bool = ...,
version_id: Optional[Any] = ...,
): ...
def get_all_buckets(self, headers: Optional[Dict[Text, Text]] = ...): ...
def get_canonical_user_id(self, headers: Optional[Dict[Text, Text]] = ...): ...
def get_bucket(self, bucket_name: Text, validate: bool = ..., headers: Optional[Dict[Text, Text]] = ...) -> Bucket: ...
def head_bucket(self, bucket_name, headers: Optional[Dict[Text, Text]] = ...): ...
def lookup(self, bucket_name, validate: bool = ..., headers: Optional[Dict[Text, Text]] = ...): ...
def create_bucket(
self, bucket_name, headers: Optional[Dict[Text, Text]] = ..., location: Any = ..., policy: Optional[Any] = ...
): ...
def delete_bucket(self, bucket, headers: Optional[Dict[Text, Text]] = ...): ...
def make_request(self, method, bucket: str = ..., key: str = ..., headers: Optional[Any] = ..., data: str = ..., query_args: Optional[Any] = ..., sender: Optional[Any] = ..., override_num_retries: Optional[Any] = ..., retry_handler: Optional[Any] = ..., *args, **kwargs): ... # type: ignore # https://github.com/python/mypy/issues/1237
| 4,829 | Python | .py | 117 | 34.811966 | 340 | 0.589449 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,450 | key.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/boto/s3/key.pyi | from typing import Any, Callable, Dict, Optional, Text, Union, overload
class Key:
DefaultContentType: str
RestoreBody: str
BufferSize: Any
base_user_settable_fields: Any
base_fields: Any
bucket: Any
name: str
metadata: Any
cache_control: Any
content_type: Any
content_encoding: Any
content_disposition: Any
content_language: Any
filename: Any
etag: Any
is_latest: bool
last_modified: Any
owner: Any
path: Any
resp: Any
mode: Any
size: Any
version_id: Any
source_version_id: Any
delete_marker: bool
encrypted: Any
ongoing_restore: Any
expiry_date: Any
local_hashes: Any
def __init__(self, bucket: Optional[Any] = ..., name: Optional[Any] = ...) -> None: ...
def __iter__(self): ...
@property
def provider(self): ...
key: Any
md5: Any
base64md5: Any
storage_class: Any
def get_md5_from_hexdigest(self, md5_hexdigest): ...
def handle_encryption_headers(self, resp): ...
def handle_version_headers(self, resp, force: bool = ...): ...
def handle_restore_headers(self, response): ...
def handle_addl_headers(self, headers): ...
def open_read(
self,
headers: Optional[Dict[Text, Text]] = ...,
query_args: str = ...,
override_num_retries: Optional[Any] = ...,
response_headers: Optional[Dict[Text, Text]] = ...,
): ...
def open_write(self, headers: Optional[Dict[Text, Text]] = ..., override_num_retries: Optional[Any] = ...): ...
def open(
self,
mode: str = ...,
headers: Optional[Dict[Text, Text]] = ...,
query_args: Optional[Any] = ...,
override_num_retries: Optional[Any] = ...,
): ...
closed: bool
def close(self, fast: bool = ...): ...
def next(self): ...
__next__: Any
def read(self, size: int = ...): ...
def change_storage_class(self, new_storage_class, dst_bucket: Optional[Any] = ..., validate_dst_bucket: bool = ...): ...
def copy(
self,
dst_bucket,
dst_key,
metadata: Optional[Any] = ...,
reduced_redundancy: bool = ...,
preserve_acl: bool = ...,
encrypt_key: bool = ...,
validate_dst_bucket: bool = ...,
): ...
def startElement(self, name, attrs, connection): ...
def endElement(self, name, value, connection): ...
def exists(self, headers: Optional[Dict[Text, Text]] = ...): ...
def delete(self, headers: Optional[Dict[Text, Text]] = ...): ...
def get_metadata(self, name): ...
def set_metadata(self, name, value): ...
def update_metadata(self, d): ...
def set_acl(self, acl_str, headers: Optional[Dict[Text, Text]] = ...): ...
def get_acl(self, headers: Optional[Dict[Text, Text]] = ...): ...
def get_xml_acl(self, headers: Optional[Dict[Text, Text]] = ...): ...
def set_xml_acl(self, acl_str, headers: Optional[Dict[Text, Text]] = ...): ...
def set_canned_acl(self, acl_str, headers: Optional[Dict[Text, Text]] = ...): ...
def get_redirect(self): ...
def set_redirect(self, redirect_location, headers: Optional[Dict[Text, Text]] = ...): ...
def make_public(self, headers: Optional[Dict[Text, Text]] = ...): ...
def generate_url(
self,
expires_in,
method: str = ...,
headers: Optional[Dict[Text, Text]] = ...,
query_auth: bool = ...,
force_http: bool = ...,
response_headers: Optional[Dict[Text, Text]] = ...,
expires_in_absolute: bool = ...,
version_id: Optional[Any] = ...,
policy: Optional[Any] = ...,
reduced_redundancy: bool = ...,
encrypt_key: bool = ...,
): ...
def send_file(
self,
fp,
headers: Optional[Dict[Text, Text]] = ...,
cb: Optional[Callable[[int, int], Any]] = ...,
num_cb: int = ...,
query_args: Optional[Any] = ...,
chunked_transfer: bool = ...,
size: Optional[Any] = ...,
): ...
def should_retry(self, response, chunked_transfer: bool = ...): ...
def compute_md5(self, fp, size: Optional[Any] = ...): ...
def set_contents_from_stream(
self,
fp,
headers: Optional[Dict[Text, Text]] = ...,
replace: bool = ...,
cb: Optional[Callable[[int, int], Any]] = ...,
num_cb: int = ...,
policy: Optional[Any] = ...,
reduced_redundancy: bool = ...,
query_args: Optional[Any] = ...,
size: Optional[Any] = ...,
): ...
def set_contents_from_file(
self,
fp,
headers: Optional[Dict[Text, Text]] = ...,
replace: bool = ...,
cb: Optional[Callable[[int, int], Any]] = ...,
num_cb: int = ...,
policy: Optional[Any] = ...,
md5: Optional[Any] = ...,
reduced_redundancy: bool = ...,
query_args: Optional[Any] = ...,
encrypt_key: bool = ...,
size: Optional[Any] = ...,
rewind: bool = ...,
): ...
def set_contents_from_filename(
self,
filename,
headers: Optional[Dict[Text, Text]] = ...,
replace: bool = ...,
cb: Optional[Callable[[int, int], Any]] = ...,
num_cb: int = ...,
policy: Optional[Any] = ...,
md5: Optional[Any] = ...,
reduced_redundancy: bool = ...,
encrypt_key: bool = ...,
): ...
def set_contents_from_string(
self,
string_data: Union[Text, bytes],
headers: Optional[Dict[Text, Text]] = ...,
replace: bool = ...,
cb: Optional[Callable[[int, int], Any]] = ...,
num_cb: int = ...,
policy: Optional[Any] = ...,
md5: Optional[Any] = ...,
reduced_redundancy: bool = ...,
encrypt_key: bool = ...,
) -> None: ...
def get_file(
self,
fp,
headers: Optional[Dict[Text, Text]] = ...,
cb: Optional[Callable[[int, int], Any]] = ...,
num_cb: int = ...,
torrent: bool = ...,
version_id: Optional[Any] = ...,
override_num_retries: Optional[Any] = ...,
response_headers: Optional[Dict[Text, Text]] = ...,
): ...
def get_torrent_file(
self, fp, headers: Optional[Dict[Text, Text]] = ..., cb: Optional[Callable[[int, int], Any]] = ..., num_cb: int = ...
): ...
def get_contents_to_file(
self,
fp,
headers: Optional[Dict[Text, Text]] = ...,
cb: Optional[Callable[[int, int], Any]] = ...,
num_cb: int = ...,
torrent: bool = ...,
version_id: Optional[Any] = ...,
res_download_handler: Optional[Any] = ...,
response_headers: Optional[Dict[Text, Text]] = ...,
): ...
def get_contents_to_filename(
self,
filename,
headers: Optional[Dict[Text, Text]] = ...,
cb: Optional[Callable[[int, int], Any]] = ...,
num_cb: int = ...,
torrent: bool = ...,
version_id: Optional[Any] = ...,
res_download_handler: Optional[Any] = ...,
response_headers: Optional[Dict[Text, Text]] = ...,
): ...
@overload
def get_contents_as_string(
self,
headers: Optional[Dict[Text, Text]] = ...,
cb: Optional[Callable[[int, int], Any]] = ...,
num_cb: int = ...,
torrent: bool = ...,
version_id: Optional[Any] = ...,
response_headers: Optional[Dict[Text, Text]] = ...,
encoding: None = ...,
) -> bytes: ...
@overload
def get_contents_as_string(
self,
headers: Optional[Dict[Text, Text]] = ...,
cb: Optional[Callable[[int, int], Any]] = ...,
num_cb: int = ...,
torrent: bool = ...,
version_id: Optional[Any] = ...,
response_headers: Optional[Dict[Text, Text]] = ...,
*,
encoding: Text,
) -> Text: ...
def add_email_grant(self, permission, email_address, headers: Optional[Dict[Text, Text]] = ...): ...
def add_user_grant(
self, permission, user_id, headers: Optional[Dict[Text, Text]] = ..., display_name: Optional[Any] = ...
): ...
def set_remote_metadata(self, metadata_plus, metadata_minus, preserve_acl, headers: Optional[Dict[Text, Text]] = ...): ...
def restore(self, days, headers: Optional[Dict[Text, Text]] = ...): ...
| 8,317 | Python | .py | 232 | 28.689655 | 126 | 0.536121 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,451 | lifecycle.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/boto/s3/lifecycle.pyi | from typing import Any, List, Optional
class Rule:
id: Any
prefix: Any
status: Any
expiration: Any
transition: Any
def __init__(
self,
id: Optional[Any] = ...,
prefix: Optional[Any] = ...,
status: Optional[Any] = ...,
expiration: Optional[Any] = ...,
transition: Optional[Any] = ...,
) -> None: ...
def startElement(self, name, attrs, connection): ...
def endElement(self, name, value, connection): ...
def to_xml(self): ...
class Expiration:
days: Any
date: Any
def __init__(self, days: Optional[Any] = ..., date: Optional[Any] = ...) -> None: ...
def startElement(self, name, attrs, connection): ...
def endElement(self, name, value, connection): ...
def to_xml(self): ...
class Transition:
days: Any
date: Any
storage_class: Any
def __init__(self, days: Optional[Any] = ..., date: Optional[Any] = ..., storage_class: Optional[Any] = ...) -> None: ...
def to_xml(self): ...
class Transitions(List[Transition]):
transition_properties: int
current_transition_property: int
temp_days: Any
temp_date: Any
temp_storage_class: Any
def __init__(self) -> None: ...
def startElement(self, name, attrs, connection): ...
def endElement(self, name, value, connection): ...
def to_xml(self): ...
def add_transition(self, days: Optional[Any] = ..., date: Optional[Any] = ..., storage_class: Optional[Any] = ...): ...
@property
def days(self): ...
@property
def date(self): ...
@property
def storage_class(self): ...
class Lifecycle(List[Rule]):
def startElement(self, name, attrs, connection): ...
def endElement(self, name, value, connection): ...
def to_xml(self): ...
def add_rule(
self,
id: Optional[Any] = ...,
prefix: str = ...,
status: str = ...,
expiration: Optional[Any] = ...,
transition: Optional[Any] = ...,
): ...
| 1,984 | Python | .py | 60 | 27.583333 | 125 | 0.583116 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,452 | sphinx.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/deprecated/sphinx.pyi | from typing import Any, Callable, Optional, Type, TypeVar, overload
from typing_extensions import Literal
from .classic import ClassicAdapter
_F = TypeVar("_F", bound=Callable[..., Any])
class SphinxAdapter(ClassicAdapter):
directive: Literal["versionadded", "versionchanged", "deprecated"]
reason: str
version: str
action: Optional[str]
category: Type[DeprecationWarning]
def __init__(
self,
directive: Literal["versionadded", "versionchanged", "deprecated"],
reason: str = ...,
version: str = ...,
action: Optional[str] = ...,
category: Type[DeprecationWarning] = ...,
) -> None: ...
def __call__(self, wrapped: _F) -> Callable[[_F], _F]: ...
def versionadded(reason: str = ..., version: str = ...) -> Callable[[_F], _F]: ...
def versionchanged(reason: str = ..., version: str = ...) -> Callable[[_F], _F]: ...
@overload
def deprecated(__wrapped: _F) -> _F: ...
@overload
def deprecated(
reason: str = ..., *, version: str = ..., action: Optional[str] = ..., category: Optional[Type[DeprecationWarning]] = ...
) -> Callable[[_F], _F]: ...
| 1,129 | Python | .py | 27 | 37.555556 | 125 | 0.619308 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,453 | classic.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/deprecated/classic.pyi | from typing import Any, Callable, Optional, Type, TypeVar, overload
_F = TypeVar("_F", bound=Callable[..., Any])
class ClassicAdapter:
reason: str
version: str
action: Optional[str]
category: Type[DeprecationWarning]
def __init__(
self, reason: str = ..., version: str = ..., action: Optional[str] = ..., category: Type[DeprecationWarning] = ...
) -> None: ...
def get_deprecated_msg(self, wrapped: Callable[..., Any], instance: object) -> str: ...
def __call__(self, wrapped: _F) -> Callable[[_F], _F]: ...
@overload
def deprecated(__wrapped: _F) -> _F: ...
@overload
def deprecated(
reason: str = ..., *, version: str = ..., action: Optional[str] = ..., category: Optional[Type[DeprecationWarning]] = ...
) -> Callable[[_F], _F]: ...
| 783 | Python | .py | 18 | 39.888889 | 125 | 0.612861 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,454 | unicode_codes.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/emoji/unicode_codes.pyi | from typing import Dict, Text
EMOJI_ALIAS_UNICODE: Dict[Text, Text]
EMOJI_UNICODE: Dict[Text, Text]
UNICODE_EMOJI: Dict[Text, Text]
UNICODE_EMOJI_ALIAS: Dict[Text, Text]
| 171 | Python | .py | 5 | 33 | 37 | 0.787879 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,455 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/emoji/__init__.pyi | from .core import (
demojize as demojize,
emoji_count as emoji_count,
emoji_lis as emoji_lis,
emojize as emojize,
get_emoji_regexp as get_emoji_regexp,
)
from .unicode_codes import (
EMOJI_ALIAS_UNICODE as EMOJI_ALIAS_UNICODE,
EMOJI_UNICODE as EMOJI_UNICODE,
UNICODE_EMOJI as UNICODE_EMOJI,
UNICODE_EMOJI_ALIAS as UNICODE_EMOJI_ALIAS,
)
| 373 | Python | .py | 13 | 24.923077 | 47 | 0.733333 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,456 | core.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/emoji/core.pyi | from typing import Dict, List, Optional, Pattern, Text, Tuple, Union
_DEFAULT_DELIMITER: str
def emojize(string: str, use_aliases: bool = ..., delimiters: Tuple[str, str] = ...) -> str: ...
def demojize(string: str, delimiters: Tuple[str, str] = ...) -> str: ...
def get_emoji_regexp() -> Pattern[Text]: ...
def emoji_lis(string: str) -> List[Dict[str, Union[int, str]]]: ...
def emoji_count(string: str) -> int: ...
| 419 | Python | .py | 7 | 58.571429 | 96 | 0.653659 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,457 | reader.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/yaml/reader.pyi | from typing import Any
from yaml.error import YAMLError
class ReaderError(YAMLError):
name: Any
character: Any
position: Any
encoding: Any
reason: Any
def __init__(self, name, position, character, encoding, reason) -> None: ...
class Reader:
name: Any
stream: Any
stream_pointer: Any
eof: Any
buffer: Any
pointer: Any
raw_buffer: Any
raw_decode: Any
encoding: Any
index: Any
line: Any
column: Any
def __init__(self, stream) -> None: ...
def peek(self, index=...): ...
def prefix(self, length=...): ...
def forward(self, length=...): ...
def get_mark(self): ...
def determine_encoding(self): ...
NON_PRINTABLE: Any
def check_printable(self, data): ...
def update(self, length): ...
def update_raw(self, size=...): ...
| 832 | Python | .py | 32 | 21.40625 | 80 | 0.617315 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,458 | constructor.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/yaml/constructor.pyi | import sys
from typing import Any
from yaml.error import MarkedYAMLError
class ConstructorError(MarkedYAMLError): ...
class BaseConstructor:
yaml_constructors: Any
yaml_multi_constructors: Any
constructed_objects: Any
recursive_objects: Any
state_generators: Any
deep_construct: Any
def __init__(self) -> None: ...
def check_data(self): ...
def get_data(self): ...
def get_single_data(self): ...
def construct_document(self, node): ...
def construct_object(self, node, deep=...): ...
def construct_scalar(self, node): ...
def construct_sequence(self, node, deep=...): ...
def construct_mapping(self, node, deep=...): ...
def construct_pairs(self, node, deep=...): ...
@classmethod
def add_constructor(cls, tag, constructor): ...
@classmethod
def add_multi_constructor(cls, tag_prefix, multi_constructor): ...
class SafeConstructor(BaseConstructor):
def construct_scalar(self, node): ...
def flatten_mapping(self, node): ...
def construct_mapping(self, node, deep=...): ...
def construct_yaml_null(self, node): ...
bool_values: Any
def construct_yaml_bool(self, node): ...
def construct_yaml_int(self, node): ...
inf_value: Any
nan_value: Any
def construct_yaml_float(self, node): ...
def construct_yaml_binary(self, node): ...
timestamp_regexp: Any
def construct_yaml_timestamp(self, node): ...
def construct_yaml_omap(self, node): ...
def construct_yaml_pairs(self, node): ...
def construct_yaml_set(self, node): ...
def construct_yaml_str(self, node): ...
def construct_yaml_seq(self, node): ...
def construct_yaml_map(self, node): ...
def construct_yaml_object(self, node, cls): ...
def construct_undefined(self, node): ...
class FullConstructor(SafeConstructor):
def construct_python_str(self, node): ...
def construct_python_unicode(self, node): ...
def construct_python_bytes(self, node): ...
def construct_python_long(self, node): ...
def construct_python_complex(self, node): ...
def construct_python_tuple(self, node): ...
def find_python_module(self, name, mark, unsafe=...): ...
def find_python_name(self, name, mark, unsafe=...): ...
def construct_python_name(self, suffix, node): ...
def construct_python_module(self, suffix, node): ...
def make_python_instance(self, suffix, node, args=..., kwds=..., newobj=..., unsafe=...): ...
def set_python_instance_state(self, instance, state): ...
def construct_python_object(self, suffix, node): ...
def construct_python_object_apply(self, suffix, node, newobj=...): ...
def construct_python_object_new(self, suffix, node): ...
class Constructor(SafeConstructor):
def construct_python_str(self, node): ...
def construct_python_unicode(self, node): ...
def construct_python_long(self, node): ...
def construct_python_complex(self, node): ...
def construct_python_tuple(self, node): ...
def find_python_module(self, name, mark): ...
def find_python_name(self, name, mark): ...
def construct_python_name(self, suffix, node): ...
def construct_python_module(self, suffix, node): ...
if sys.version_info < (3, 0):
class classobj: ...
def make_python_instance(self, suffix, node, args=..., kwds=..., newobj=...): ...
def set_python_instance_state(self, instance, state): ...
def construct_python_object(self, suffix, node): ...
def construct_python_object_apply(self, suffix, node, newobj=...): ...
def construct_python_object_new(self, suffix, node): ...
| 3,603 | Python | .py | 80 | 40.3125 | 97 | 0.659084 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,459 | emitter.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/yaml/emitter.pyi | from typing import Any
from yaml.error import YAMLError
class EmitterError(YAMLError): ...
class ScalarAnalysis:
scalar: Any
empty: Any
multiline: Any
allow_flow_plain: Any
allow_block_plain: Any
allow_single_quoted: Any
allow_double_quoted: Any
allow_block: Any
def __init__(
self, scalar, empty, multiline, allow_flow_plain, allow_block_plain, allow_single_quoted, allow_double_quoted, allow_block
) -> None: ...
class Emitter:
DEFAULT_TAG_PREFIXES: Any
stream: Any
encoding: Any
states: Any
state: Any
events: Any
event: Any
indents: Any
indent: Any
flow_level: Any
root_context: Any
sequence_context: Any
mapping_context: Any
simple_key_context: Any
line: Any
column: Any
whitespace: Any
indention: Any
open_ended: Any
canonical: Any
allow_unicode: Any
best_indent: Any
best_width: Any
best_line_break: Any
tag_prefixes: Any
prepared_anchor: Any
prepared_tag: Any
analysis: Any
style: Any
def __init__(self, stream, canonical=..., indent=..., width=..., allow_unicode=..., line_break=...) -> None: ...
def dispose(self): ...
def emit(self, event): ...
def need_more_events(self): ...
def need_events(self, count): ...
def increase_indent(self, flow=..., indentless=...): ...
def expect_stream_start(self): ...
def expect_nothing(self): ...
def expect_first_document_start(self): ...
def expect_document_start(self, first=...): ...
def expect_document_end(self): ...
def expect_document_root(self): ...
def expect_node(self, root=..., sequence=..., mapping=..., simple_key=...): ...
def expect_alias(self): ...
def expect_scalar(self): ...
def expect_flow_sequence(self): ...
def expect_first_flow_sequence_item(self): ...
def expect_flow_sequence_item(self): ...
def expect_flow_mapping(self): ...
def expect_first_flow_mapping_key(self): ...
def expect_flow_mapping_key(self): ...
def expect_flow_mapping_simple_value(self): ...
def expect_flow_mapping_value(self): ...
def expect_block_sequence(self): ...
def expect_first_block_sequence_item(self): ...
def expect_block_sequence_item(self, first=...): ...
def expect_block_mapping(self): ...
def expect_first_block_mapping_key(self): ...
def expect_block_mapping_key(self, first=...): ...
def expect_block_mapping_simple_value(self): ...
def expect_block_mapping_value(self): ...
def check_empty_sequence(self): ...
def check_empty_mapping(self): ...
def check_empty_document(self): ...
def check_simple_key(self): ...
def process_anchor(self, indicator): ...
def process_tag(self): ...
def choose_scalar_style(self): ...
def process_scalar(self): ...
def prepare_version(self, version): ...
def prepare_tag_handle(self, handle): ...
def prepare_tag_prefix(self, prefix): ...
def prepare_tag(self, tag): ...
def prepare_anchor(self, anchor): ...
def analyze_scalar(self, scalar): ...
def flush_stream(self): ...
def write_stream_start(self): ...
def write_stream_end(self): ...
def write_indicator(self, indicator, need_whitespace, whitespace=..., indention=...): ...
def write_indent(self): ...
def write_line_break(self, data=...): ...
def write_version_directive(self, version_text): ...
def write_tag_directive(self, handle_text, prefix_text): ...
def write_single_quoted(self, text, split=...): ...
ESCAPE_REPLACEMENTS: Any
def write_double_quoted(self, text, split=...): ...
def determine_block_hints(self, text): ...
def write_folded(self, text): ...
def write_literal(self, text): ...
def write_plain(self, text, split=...): ...
| 3,802 | Python | .py | 105 | 31.32381 | 130 | 0.640401 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,460 | nodes.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/yaml/nodes.pyi | from typing import Any
class Node:
tag: Any
value: Any
start_mark: Any
end_mark: Any
def __init__(self, tag, value, start_mark, end_mark) -> None: ...
class ScalarNode(Node):
id: Any
tag: Any
value: Any
start_mark: Any
end_mark: Any
style: Any
def __init__(self, tag, value, start_mark=..., end_mark=..., style=...) -> None: ...
class CollectionNode(Node):
tag: Any
value: Any
start_mark: Any
end_mark: Any
flow_style: Any
def __init__(self, tag, value, start_mark=..., end_mark=..., flow_style=...) -> None: ...
class SequenceNode(CollectionNode):
id: Any
class MappingNode(CollectionNode):
id: Any
| 685 | Python | .py | 26 | 22.076923 | 93 | 0.619266 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,461 | loader.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/yaml/loader.pyi | from yaml.composer import Composer
from yaml.constructor import BaseConstructor, Constructor, FullConstructor, SafeConstructor
from yaml.parser import Parser
from yaml.reader import Reader
from yaml.resolver import BaseResolver, Resolver
from yaml.scanner import Scanner
class BaseLoader(Reader, Scanner, Parser, Composer, BaseConstructor, BaseResolver):
def __init__(self, stream) -> None: ...
class FullLoader(Reader, Scanner, Parser, Composer, FullConstructor, Resolver):
def __init__(self, stream) -> None: ...
class SafeLoader(Reader, Scanner, Parser, Composer, SafeConstructor, Resolver):
def __init__(self, stream) -> None: ...
class Loader(Reader, Scanner, Parser, Composer, Constructor, Resolver):
def __init__(self, stream) -> None: ...
| 767 | Python | .py | 14 | 52.357143 | 91 | 0.76502 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,462 | cyaml.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/yaml/cyaml.pyi | from _typeshed import SupportsRead
from typing import IO, Any, Mapping, Optional, Sequence, Text, Union
from yaml.constructor import BaseConstructor, Constructor, SafeConstructor
from yaml.representer import BaseRepresenter, Representer, SafeRepresenter
from yaml.resolver import BaseResolver, Resolver
from yaml.serializer import Serializer
_Readable = SupportsRead[Union[Text, bytes]]
class CParser:
def __init__(self, stream: Union[str, bytes, _Readable]) -> None: ...
class CBaseLoader(CParser, BaseConstructor, BaseResolver):
def __init__(self, stream: Union[str, bytes, _Readable]) -> None: ...
class CLoader(CParser, SafeConstructor, Resolver):
def __init__(self, stream: Union[str, bytes, _Readable]) -> None: ...
class CSafeLoader(CParser, SafeConstructor, Resolver):
def __init__(self, stream: Union[str, bytes, _Readable]) -> None: ...
class CDangerLoader(CParser, Constructor, Resolver): ... # undocumented
class CEmitter(object):
def __init__(
self,
stream: IO[Any],
canonical: Optional[Any] = ...,
indent: Optional[int] = ...,
width: Optional[int] = ...,
allow_unicode: Optional[Any] = ...,
line_break: Optional[str] = ...,
encoding: Optional[Text] = ...,
explicit_start: Optional[Any] = ...,
explicit_end: Optional[Any] = ...,
version: Optional[Sequence[int]] = ...,
tags: Optional[Mapping[Text, Text]] = ...,
) -> None: ...
class CBaseDumper(CEmitter, BaseRepresenter, BaseResolver):
def __init__(
self,
stream: IO[Any],
default_style: Optional[str] = ...,
default_flow_style: Optional[bool] = ...,
canonical: Optional[Any] = ...,
indent: Optional[int] = ...,
width: Optional[int] = ...,
allow_unicode: Optional[Any] = ...,
line_break: Optional[str] = ...,
encoding: Optional[Text] = ...,
explicit_start: Optional[Any] = ...,
explicit_end: Optional[Any] = ...,
version: Optional[Sequence[int]] = ...,
tags: Optional[Mapping[Text, Text]] = ...,
) -> None: ...
class CDumper(CEmitter, SafeRepresenter, Resolver): ...
CSafeDumper = CDumper
class CDangerDumper(CEmitter, Serializer, Representer, Resolver): ... # undocumented
| 2,292 | Python | .py | 51 | 39 | 85 | 0.641543 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,463 | events.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/yaml/events.pyi | from typing import Any
class Event:
start_mark: Any
end_mark: Any
def __init__(self, start_mark=..., end_mark=...) -> None: ...
class NodeEvent(Event):
anchor: Any
start_mark: Any
end_mark: Any
def __init__(self, anchor, start_mark=..., end_mark=...) -> None: ...
class CollectionStartEvent(NodeEvent):
anchor: Any
tag: Any
implicit: Any
start_mark: Any
end_mark: Any
flow_style: Any
def __init__(self, anchor, tag, implicit, start_mark=..., end_mark=..., flow_style=...) -> None: ...
class CollectionEndEvent(Event): ...
class StreamStartEvent(Event):
start_mark: Any
end_mark: Any
encoding: Any
def __init__(self, start_mark=..., end_mark=..., encoding=...) -> None: ...
class StreamEndEvent(Event): ...
class DocumentStartEvent(Event):
start_mark: Any
end_mark: Any
explicit: Any
version: Any
tags: Any
def __init__(self, start_mark=..., end_mark=..., explicit=..., version=..., tags=...) -> None: ...
class DocumentEndEvent(Event):
start_mark: Any
end_mark: Any
explicit: Any
def __init__(self, start_mark=..., end_mark=..., explicit=...) -> None: ...
class AliasEvent(NodeEvent): ...
class ScalarEvent(NodeEvent):
anchor: Any
tag: Any
implicit: Any
value: Any
start_mark: Any
end_mark: Any
style: Any
def __init__(self, anchor, tag, implicit, value, start_mark=..., end_mark=..., style=...) -> None: ...
class SequenceStartEvent(CollectionStartEvent): ...
class SequenceEndEvent(CollectionEndEvent): ...
class MappingStartEvent(CollectionStartEvent): ...
class MappingEndEvent(CollectionEndEvent): ...
| 1,662 | Python | .py | 51 | 28.54902 | 106 | 0.643125 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,464 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/yaml/__init__.pyi | import sys
from typing import IO, Any, Iterator, Optional, Sequence, Text, Union, overload
from yaml.dumper import * # noqa: F403
from yaml.error import * # noqa: F403
from yaml.events import * # noqa: F403
from yaml.loader import * # noqa: F403
from yaml.nodes import * # noqa: F403
from yaml.tokens import * # noqa: F403
from . import resolver as resolver # Help mypy a bit; this is implied by loader and dumper
from .cyaml import *
if sys.version_info < (3,):
_Str = Union[Text, str]
else:
_Str = str
# FIXME: the functions really return py2:unicode/py3:str if encoding is None, otherwise py2:str/py3:bytes. Waiting for python/mypy#5621
_Yaml = Any
__with_libyaml__: Any
__version__: str
def scan(stream, Loader=...): ...
def parse(stream, Loader=...): ...
def compose(stream, Loader=...): ...
def compose_all(stream, Loader=...): ...
def load(stream: Union[bytes, IO[bytes], Text, IO[Text]], Loader=...) -> Any: ...
def load_all(stream: Union[bytes, IO[bytes], Text, IO[Text]], Loader=...) -> Iterator[Any]: ...
def full_load(stream: Union[bytes, IO[bytes], Text, IO[Text]]) -> Any: ...
def full_load_all(stream: Union[bytes, IO[bytes], Text, IO[Text]]) -> Iterator[Any]: ...
def safe_load(stream: Union[bytes, IO[bytes], Text, IO[Text]]) -> Any: ...
def safe_load_all(stream: Union[bytes, IO[bytes], Text, IO[Text]]) -> Iterator[Any]: ...
def unsafe_load(stream: Union[bytes, IO[bytes], Text, IO[Text]]) -> Any: ...
def unsafe_load_all(stream: Union[bytes, IO[bytes], Text, IO[Text]]) -> Iterator[Any]: ...
def emit(events, stream=..., Dumper=..., canonical=..., indent=..., width=..., allow_unicode=..., line_break=...): ...
@overload
def serialize_all(
nodes,
stream: IO[str],
Dumper=...,
canonical=...,
indent=...,
width=...,
allow_unicode=...,
line_break=...,
encoding=...,
explicit_start=...,
explicit_end=...,
version=...,
tags=...,
) -> None: ...
@overload
def serialize_all(
nodes,
stream: None = ...,
Dumper=...,
canonical=...,
indent=...,
width=...,
allow_unicode=...,
line_break=...,
encoding: Optional[_Str] = ...,
explicit_start=...,
explicit_end=...,
version=...,
tags=...,
) -> _Yaml: ...
@overload
def serialize(
node,
stream: IO[str],
Dumper=...,
*,
canonical=...,
indent=...,
width=...,
allow_unicode=...,
line_break=...,
encoding=...,
explicit_start=...,
explicit_end=...,
version=...,
tags=...,
) -> None: ...
@overload
def serialize(
node,
stream: None = ...,
Dumper=...,
*,
canonical=...,
indent=...,
width=...,
allow_unicode=...,
line_break=...,
encoding: Optional[_Str] = ...,
explicit_start=...,
explicit_end=...,
version=...,
tags=...,
) -> _Yaml: ...
@overload
def dump_all(
documents: Sequence[Any],
stream: IO[str],
Dumper=...,
default_style=...,
default_flow_style=...,
canonical=...,
indent=...,
width=...,
allow_unicode=...,
line_break=...,
encoding=...,
explicit_start=...,
explicit_end=...,
version=...,
tags=...,
sort_keys: bool = ...,
) -> None: ...
@overload
def dump_all(
documents: Sequence[Any],
stream: None = ...,
Dumper=...,
default_style=...,
default_flow_style=...,
canonical=...,
indent=...,
width=...,
allow_unicode=...,
line_break=...,
encoding: Optional[_Str] = ...,
explicit_start=...,
explicit_end=...,
version=...,
tags=...,
sort_keys: bool = ...,
) -> _Yaml: ...
@overload
def dump(
data: Any,
stream: IO[str],
Dumper=...,
*,
default_style=...,
default_flow_style=...,
canonical=...,
indent=...,
width=...,
allow_unicode=...,
line_break=...,
encoding=...,
explicit_start=...,
explicit_end=...,
version=...,
tags=...,
sort_keys: bool = ...,
) -> None: ...
@overload
def dump(
data: Any,
stream: None = ...,
Dumper=...,
*,
default_style=...,
default_flow_style=...,
canonical=...,
indent=...,
width=...,
allow_unicode=...,
line_break=...,
encoding: Optional[_Str] = ...,
explicit_start=...,
explicit_end=...,
version=...,
tags=...,
sort_keys: bool = ...,
) -> _Yaml: ...
@overload
def safe_dump_all(
documents: Sequence[Any],
stream: IO[str],
*,
default_style=...,
default_flow_style=...,
canonical=...,
indent=...,
width=...,
allow_unicode=...,
line_break=...,
encoding=...,
explicit_start=...,
explicit_end=...,
version=...,
tags=...,
sort_keys: bool = ...,
) -> None: ...
@overload
def safe_dump_all(
documents: Sequence[Any],
stream: None = ...,
*,
default_style=...,
default_flow_style=...,
canonical=...,
indent=...,
width=...,
allow_unicode=...,
line_break=...,
encoding: Optional[_Str] = ...,
explicit_start=...,
explicit_end=...,
version=...,
tags=...,
sort_keys: bool = ...,
) -> _Yaml: ...
@overload
def safe_dump(
data: Any,
stream: IO[str],
*,
default_style=...,
default_flow_style=...,
canonical=...,
indent=...,
width=...,
allow_unicode=...,
line_break=...,
encoding=...,
explicit_start=...,
explicit_end=...,
version=...,
tags=...,
sort_keys: bool = ...,
) -> None: ...
@overload
def safe_dump(
data: Any,
stream: None = ...,
*,
default_style=...,
default_flow_style=...,
canonical=...,
indent=...,
width=...,
allow_unicode=...,
line_break=...,
encoding: Optional[_Str] = ...,
explicit_start=...,
explicit_end=...,
version=...,
tags=...,
sort_keys: bool = ...,
) -> _Yaml: ...
def add_implicit_resolver(tag, regexp, first=..., Loader=..., Dumper=...): ...
def add_path_resolver(tag, path, kind=..., Loader=..., Dumper=...): ...
def add_constructor(tag, constructor, Loader=...): ...
def add_multi_constructor(tag_prefix, multi_constructor, Loader=...): ...
def add_representer(data_type, representer, Dumper=...): ...
def add_multi_representer(data_type, multi_representer, Dumper=...): ...
class YAMLObjectMetaclass(type):
def __init__(self, name, bases, kwds) -> None: ...
class YAMLObject(metaclass=YAMLObjectMetaclass):
yaml_loader: Any
yaml_dumper: Any
yaml_tag: Any
yaml_flow_style: Any
@classmethod
def from_yaml(cls, loader, node): ...
@classmethod
def to_yaml(cls, dumper, data): ...
| 6,559 | Python | .py | 268 | 20.537313 | 135 | 0.565086 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,465 | dumper.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/yaml/dumper.pyi | from yaml.emitter import Emitter
from yaml.representer import BaseRepresenter, Representer, SafeRepresenter
from yaml.resolver import BaseResolver, Resolver
from yaml.serializer import Serializer
class BaseDumper(Emitter, Serializer, BaseRepresenter, BaseResolver):
def __init__(
self,
stream,
default_style=...,
default_flow_style=...,
canonical=...,
indent=...,
width=...,
allow_unicode=...,
line_break=...,
encoding=...,
explicit_start=...,
explicit_end=...,
version=...,
tags=...,
sort_keys: bool = ...,
) -> None: ...
class SafeDumper(Emitter, Serializer, SafeRepresenter, Resolver):
def __init__(
self,
stream,
default_style=...,
default_flow_style=...,
canonical=...,
indent=...,
width=...,
allow_unicode=...,
line_break=...,
encoding=...,
explicit_start=...,
explicit_end=...,
version=...,
tags=...,
sort_keys: bool = ...,
) -> None: ...
class Dumper(Emitter, Serializer, Representer, Resolver):
def __init__(
self,
stream,
default_style=...,
default_flow_style=...,
canonical=...,
indent=...,
width=...,
allow_unicode=...,
line_break=...,
encoding=...,
explicit_start=...,
explicit_end=...,
version=...,
tags=...,
sort_keys: bool = ...,
) -> None: ...
| 1,548 | Python | .py | 58 | 19.017241 | 74 | 0.515131 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,466 | parser.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/yaml/parser.pyi | from typing import Any
from yaml.error import MarkedYAMLError
class ParserError(MarkedYAMLError): ...
class Parser:
DEFAULT_TAGS: Any
current_event: Any
yaml_version: Any
tag_handles: Any
states: Any
marks: Any
state: Any
def __init__(self) -> None: ...
def dispose(self): ...
def check_event(self, *choices): ...
def peek_event(self): ...
def get_event(self): ...
def parse_stream_start(self): ...
def parse_implicit_document_start(self): ...
def parse_document_start(self): ...
def parse_document_end(self): ...
def parse_document_content(self): ...
def process_directives(self): ...
def parse_block_node(self): ...
def parse_flow_node(self): ...
def parse_block_node_or_indentless_sequence(self): ...
def parse_node(self, block=..., indentless_sequence=...): ...
def parse_block_sequence_first_entry(self): ...
def parse_block_sequence_entry(self): ...
def parse_indentless_sequence_entry(self): ...
def parse_block_mapping_first_key(self): ...
def parse_block_mapping_key(self): ...
def parse_block_mapping_value(self): ...
def parse_flow_sequence_first_entry(self): ...
def parse_flow_sequence_entry(self, first=...): ...
def parse_flow_sequence_entry_mapping_key(self): ...
def parse_flow_sequence_entry_mapping_value(self): ...
def parse_flow_sequence_entry_mapping_end(self): ...
def parse_flow_mapping_first_key(self): ...
def parse_flow_mapping_key(self, first=...): ...
def parse_flow_mapping_value(self): ...
def parse_flow_mapping_empty_value(self): ...
def process_empty_scalar(self, mark): ...
| 1,664 | Python | .py | 42 | 34.928571 | 65 | 0.656578 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,467 | composer.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/yaml/composer.pyi | from typing import Any
from yaml.error import MarkedYAMLError
class ComposerError(MarkedYAMLError): ...
class Composer:
anchors: Any
def __init__(self) -> None: ...
def check_node(self): ...
def get_node(self): ...
def get_single_node(self): ...
def compose_document(self): ...
def compose_node(self, parent, index): ...
def compose_scalar_node(self, anchor): ...
def compose_sequence_node(self, anchor): ...
def compose_mapping_node(self, anchor): ...
| 496 | Python | .py | 14 | 31.357143 | 48 | 0.663883 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,468 | representer.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/yaml/representer.pyi | import sys
from typing import Any
from yaml.error import YAMLError
class RepresenterError(YAMLError): ...
class BaseRepresenter:
yaml_representers: Any
yaml_multi_representers: Any
default_style: Any
default_flow_style: Any
sort_keys: bool
represented_objects: Any
object_keeper: Any
alias_key: Any
def __init__(self, default_style=..., default_flow_style=..., sort_keys: bool = ...) -> None: ...
def represent(self, data): ...
if sys.version_info < (3, 0):
def get_classobj_bases(self, cls): ...
def represent_data(self, data): ...
@classmethod
def add_representer(cls, data_type, representer): ...
@classmethod
def add_multi_representer(cls, data_type, representer): ...
def represent_scalar(self, tag, value, style=...): ...
def represent_sequence(self, tag, sequence, flow_style=...): ...
def represent_mapping(self, tag, mapping, flow_style=...): ...
def ignore_aliases(self, data): ...
class SafeRepresenter(BaseRepresenter):
def ignore_aliases(self, data): ...
def represent_none(self, data): ...
def represent_str(self, data): ...
if sys.version_info < (3, 0):
def represent_unicode(self, data): ...
def represent_long(self, data): ...
def represent_bool(self, data): ...
def represent_int(self, data): ...
inf_value: Any
def represent_float(self, data): ...
def represent_list(self, data): ...
def represent_dict(self, data): ...
def represent_set(self, data): ...
def represent_date(self, data): ...
def represent_datetime(self, data): ...
def represent_yaml_object(self, tag, data, cls, flow_style=...): ...
def represent_undefined(self, data): ...
class Representer(SafeRepresenter):
def represent_str(self, data): ...
if sys.version_info < (3, 0):
def represent_unicode(self, data): ...
def represent_long(self, data): ...
def represent_instance(self, data): ...
def represent_complex(self, data): ...
def represent_tuple(self, data): ...
def represent_name(self, data): ...
def represent_module(self, data): ...
def represent_object(self, data): ...
| 2,185 | Python | .py | 55 | 34.709091 | 101 | 0.644235 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,469 | serializer.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/yaml/serializer.pyi | from typing import Any
from yaml.error import YAMLError
class SerializerError(YAMLError): ...
class Serializer:
ANCHOR_TEMPLATE: Any
use_encoding: Any
use_explicit_start: Any
use_explicit_end: Any
use_version: Any
use_tags: Any
serialized_nodes: Any
anchors: Any
last_anchor_id: Any
closed: Any
def __init__(self, encoding=..., explicit_start=..., explicit_end=..., version=..., tags=...) -> None: ...
def open(self): ...
def close(self): ...
def serialize(self, node): ...
def anchor_node(self, node): ...
def generate_anchor(self, node): ...
def serialize_node(self, node, parent, index): ...
| 666 | Python | .py | 21 | 27.333333 | 110 | 0.646417 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,470 | error.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/yaml/error.pyi | from typing import Any
class Mark:
name: Any
index: Any
line: Any
column: Any
buffer: Any
pointer: Any
def __init__(self, name, index, line, column, buffer, pointer) -> None: ...
def get_snippet(self, indent=..., max_length=...): ...
class YAMLError(Exception): ...
class MarkedYAMLError(YAMLError):
context: Any
context_mark: Any
problem: Any
problem_mark: Any
note: Any
def __init__(self, context=..., context_mark=..., problem=..., problem_mark=..., note=...) -> None: ...
| 535 | Python | .py | 18 | 25.444444 | 107 | 0.620623 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,471 | resolver.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/yaml/resolver.pyi | from typing import Any
from yaml.error import YAMLError
class ResolverError(YAMLError): ...
class BaseResolver:
DEFAULT_SCALAR_TAG: Any
DEFAULT_SEQUENCE_TAG: Any
DEFAULT_MAPPING_TAG: Any
yaml_implicit_resolvers: Any
yaml_path_resolvers: Any
resolver_exact_paths: Any
resolver_prefix_paths: Any
def __init__(self) -> None: ...
@classmethod
def add_implicit_resolver(cls, tag, regexp, first): ...
@classmethod
def add_path_resolver(cls, tag, path, kind=...): ...
def descend_resolver(self, current_node, current_index): ...
def ascend_resolver(self): ...
def check_resolver_prefix(self, depth, path, kind, current_node, current_index): ...
def resolve(self, kind, value, implicit): ...
class Resolver(BaseResolver): ...
| 786 | Python | .py | 21 | 33.190476 | 88 | 0.696452 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,472 | tokens.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/yaml/tokens.pyi | from typing import Any
class Token:
start_mark: Any
end_mark: Any
def __init__(self, start_mark, end_mark) -> None: ...
class DirectiveToken(Token):
id: Any
name: Any
value: Any
start_mark: Any
end_mark: Any
def __init__(self, name, value, start_mark, end_mark) -> None: ...
class DocumentStartToken(Token):
id: Any
class DocumentEndToken(Token):
id: Any
class StreamStartToken(Token):
id: Any
start_mark: Any
end_mark: Any
encoding: Any
def __init__(self, start_mark=..., end_mark=..., encoding=...) -> None: ...
class StreamEndToken(Token):
id: Any
class BlockSequenceStartToken(Token):
id: Any
class BlockMappingStartToken(Token):
id: Any
class BlockEndToken(Token):
id: Any
class FlowSequenceStartToken(Token):
id: Any
class FlowMappingStartToken(Token):
id: Any
class FlowSequenceEndToken(Token):
id: Any
class FlowMappingEndToken(Token):
id: Any
class KeyToken(Token):
id: Any
class ValueToken(Token):
id: Any
class BlockEntryToken(Token):
id: Any
class FlowEntryToken(Token):
id: Any
class AliasToken(Token):
id: Any
value: Any
start_mark: Any
end_mark: Any
def __init__(self, value, start_mark, end_mark) -> None: ...
class AnchorToken(Token):
id: Any
value: Any
start_mark: Any
end_mark: Any
def __init__(self, value, start_mark, end_mark) -> None: ...
class TagToken(Token):
id: Any
value: Any
start_mark: Any
end_mark: Any
def __init__(self, value, start_mark, end_mark) -> None: ...
class ScalarToken(Token):
id: Any
value: Any
plain: Any
start_mark: Any
end_mark: Any
style: Any
def __init__(self, value, plain, start_mark, end_mark, style=...) -> None: ...
| 1,792 | Python | .py | 72 | 20.819444 | 82 | 0.662743 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,473 | scanner.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/yaml/scanner.pyi | from typing import Any
from yaml.error import MarkedYAMLError
class ScannerError(MarkedYAMLError): ...
class SimpleKey:
token_number: Any
required: Any
index: Any
line: Any
column: Any
mark: Any
def __init__(self, token_number, required, index, line, column, mark) -> None: ...
class Scanner:
done: Any
flow_level: Any
tokens: Any
tokens_taken: Any
indent: Any
indents: Any
allow_simple_key: Any
possible_simple_keys: Any
def __init__(self) -> None: ...
def check_token(self, *choices): ...
def peek_token(self): ...
def get_token(self): ...
def need_more_tokens(self): ...
def fetch_more_tokens(self): ...
def next_possible_simple_key(self): ...
def stale_possible_simple_keys(self): ...
def save_possible_simple_key(self): ...
def remove_possible_simple_key(self): ...
def unwind_indent(self, column): ...
def add_indent(self, column): ...
def fetch_stream_start(self): ...
def fetch_stream_end(self): ...
def fetch_directive(self): ...
def fetch_document_start(self): ...
def fetch_document_end(self): ...
def fetch_document_indicator(self, TokenClass): ...
def fetch_flow_sequence_start(self): ...
def fetch_flow_mapping_start(self): ...
def fetch_flow_collection_start(self, TokenClass): ...
def fetch_flow_sequence_end(self): ...
def fetch_flow_mapping_end(self): ...
def fetch_flow_collection_end(self, TokenClass): ...
def fetch_flow_entry(self): ...
def fetch_block_entry(self): ...
def fetch_key(self): ...
def fetch_value(self): ...
def fetch_alias(self): ...
def fetch_anchor(self): ...
def fetch_tag(self): ...
def fetch_literal(self): ...
def fetch_folded(self): ...
def fetch_block_scalar(self, style): ...
def fetch_single(self): ...
def fetch_double(self): ...
def fetch_flow_scalar(self, style): ...
def fetch_plain(self): ...
def check_directive(self): ...
def check_document_start(self): ...
def check_document_end(self): ...
def check_block_entry(self): ...
def check_key(self): ...
def check_value(self): ...
def check_plain(self): ...
def scan_to_next_token(self): ...
def scan_directive(self): ...
def scan_directive_name(self, start_mark): ...
def scan_yaml_directive_value(self, start_mark): ...
def scan_yaml_directive_number(self, start_mark): ...
def scan_tag_directive_value(self, start_mark): ...
def scan_tag_directive_handle(self, start_mark): ...
def scan_tag_directive_prefix(self, start_mark): ...
def scan_directive_ignored_line(self, start_mark): ...
def scan_anchor(self, TokenClass): ...
def scan_tag(self): ...
def scan_block_scalar(self, style): ...
def scan_block_scalar_indicators(self, start_mark): ...
def scan_block_scalar_ignored_line(self, start_mark): ...
def scan_block_scalar_indentation(self): ...
def scan_block_scalar_breaks(self, indent): ...
def scan_flow_scalar(self, style): ...
ESCAPE_REPLACEMENTS: Any
ESCAPE_CODES: Any
def scan_flow_scalar_non_spaces(self, double, start_mark): ...
def scan_flow_scalar_spaces(self, double, start_mark): ...
def scan_flow_scalar_breaks(self, double, start_mark): ...
def scan_plain(self): ...
def scan_plain_spaces(self, indent, start_mark): ...
def scan_tag_handle(self, name, start_mark): ...
def scan_tag_uri(self, name, start_mark): ...
def scan_uri_escapes(self, name, start_mark): ...
def scan_line_break(self): ...
| 3,573 | Python | .py | 93 | 33.591398 | 86 | 0.641542 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,474 | slugify.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/slugify/slugify.pyi | from typing import Iterable, Optional
def smart_truncate(
string: str, max_length: int = ..., word_boundary: bool = ..., separator: str = ..., save_order: bool = ...
) -> str: ...
def slugify(
text: str,
entities: bool = ...,
decimal: bool = ...,
hexadecimal: bool = ...,
max_length: int = ...,
word_boundary: bool = ...,
separator: str = ...,
save_order: bool = ...,
stopwords: Iterable[str] = ...,
regex_pattern: Optional[str] = ...,
lowercase: bool = ...,
replacements: Iterable[str] = ...,
) -> str: ...
| 561 | Python | .py | 18 | 27.222222 | 111 | 0.559041 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,475 | special.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/slugify/special.pyi | from typing import Sequence, Tuple
def add_uppercase_char(char_list: Sequence[Tuple[str, str]]) -> Sequence[Tuple[str, str]]: ...
CYRILLIC: Sequence[Tuple[str, str]]
GERMAN: Sequence[Tuple[str, str]]
GREEK: Sequence[Tuple[str, str]]
PRE_TRANSLATIONS: Sequence[Tuple[str, str]]
| 279 | Python | .py | 6 | 45.166667 | 94 | 0.752768 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,476 | logging.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/flask/logging.pyi | from typing import Any
def wsgi_errors_stream(): ...
def has_level_handler(logger: Any): ...
default_handler: Any
def create_logger(app: Any): ...
| 150 | Python | .py | 5 | 28.4 | 39 | 0.725352 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,477 | signals.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/flask/signals.pyi | from typing import Any, Optional
signals_available: bool
class Namespace:
def signal(self, name: Any, doc: Optional[Any] = ...): ...
class _FakeSignal:
name: Any = ...
__doc__: Any = ...
def __init__(self, name: Any, doc: Optional[Any] = ...) -> None: ...
send: Any = ...
connect: Any = ...
disconnect: Any = ...
has_receivers_for: Any = ...
receivers_for: Any = ...
temporarily_connected_to: Any = ...
connected_to: Any = ...
template_rendered: Any
before_render_template: Any
request_started: Any
request_finished: Any
request_tearing_down: Any
got_request_exception: Any
appcontext_tearing_down: Any
appcontext_pushed: Any
appcontext_popped: Any
message_flashed: Any
| 718 | Python | .py | 25 | 25.8 | 72 | 0.667634 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,478 | config.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/flask/config.pyi | from typing import Any, Dict, Optional
class ConfigAttribute:
__name__: Any = ...
get_converter: Any = ...
def __init__(self, name: Any, get_converter: Optional[Any] = ...) -> None: ...
def __get__(self, obj: Any, type: Optional[Any] = ...): ...
def __set__(self, obj: Any, value: Any) -> None: ...
class Config(Dict[str, Any]):
root_path: Any = ...
def __init__(self, root_path: Any, defaults: Optional[Any] = ...) -> None: ...
def from_envvar(self, variable_name: Any, silent: bool = ...): ...
def from_pyfile(self, filename: Any, silent: bool = ...): ...
def from_object(self, obj: Any) -> None: ...
def from_json(self, filename: Any, silent: bool = ...): ...
def from_mapping(self, *mapping: Any, **kwargs: Any): ...
def get_namespace(self, namespace: Any, lowercase: bool = ..., trim_namespace: bool = ...): ...
| 871 | Python | .py | 16 | 50.0625 | 99 | 0.580305 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,479 | ctx.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/flask/ctx.pyi | from typing import Any, Optional
class _AppCtxGlobals:
def get(self, name: Any, default: Optional[Any] = ...): ...
def pop(self, name: Any, default: Any = ...): ...
def setdefault(self, name: Any, default: Optional[Any] = ...): ...
def __contains__(self, item: Any): ...
def __iter__(self): ...
def after_this_request(f: Any): ...
def copy_current_request_context(f: Any): ...
def has_request_context(): ...
def has_app_context(): ...
class AppContext:
app: Any = ...
url_adapter: Any = ...
g: Any = ...
def __init__(self, app: Any) -> None: ...
def push(self) -> None: ...
def pop(self, exc: Any = ...) -> None: ...
def __enter__(self): ...
def __exit__(self, exc_type: Any, exc_value: Any, tb: Any) -> None: ...
class RequestContext:
app: Any = ...
request: Any = ...
url_adapter: Any = ...
flashes: Any = ...
session: Any = ...
preserved: bool = ...
def __init__(self, app: Any, environ: Any, request: Optional[Any] = ...) -> None: ...
g: Any = ...
def copy(self): ...
def match_request(self) -> None: ...
def push(self) -> None: ...
def pop(self, exc: Any = ...) -> None: ...
def auto_pop(self, exc: Any) -> None: ...
def __enter__(self): ...
def __exit__(self, exc_type: Any, exc_value: Any, tb: Any) -> None: ...
| 1,335 | Python | .py | 36 | 32.861111 | 89 | 0.540541 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,480 | helpers.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/flask/helpers.pyi | from typing import Any, Optional
from .cli import AppGroup
from .wrappers import Response
def get_env(): ...
def get_debug_flag(): ...
def get_load_dotenv(default: bool = ...): ...
def stream_with_context(generator_or_function: Any): ...
def make_response(*args: Any) -> Response: ...
def url_for(endpoint: str, **values: Any) -> str: ...
def get_template_attribute(template_name: Any, attribute: Any): ...
def flash(message: Any, category: str = ...) -> None: ...
def get_flashed_messages(with_categories: bool = ..., category_filter: Any = ...): ...
def send_file(
filename_or_fp: Any,
mimetype: Optional[Any] = ...,
as_attachment: bool = ...,
attachment_filename: Optional[Any] = ...,
add_etags: bool = ...,
cache_timeout: Optional[Any] = ...,
conditional: bool = ...,
last_modified: Optional[Any] = ...,
) -> Response: ...
def safe_join(directory: Any, *pathnames: Any): ...
def send_from_directory(directory: Any, filename: Any, **options: Any) -> Response: ...
def get_root_path(import_name: Any): ...
def find_package(import_name: Any): ...
class locked_cached_property:
__name__: Any = ...
__module__: Any = ...
__doc__: Any = ...
func: Any = ...
lock: Any = ...
def __init__(self, func: Any, name: Optional[Any] = ..., doc: Optional[Any] = ...) -> None: ...
def __get__(self, obj: Any, type: Optional[Any] = ...): ...
class _PackageBoundObject:
import_name: Any = ...
template_folder: Any = ...
root_path: Any = ...
cli: AppGroup = ...
def __init__(self, import_name: Any, template_folder: Optional[Any] = ..., root_path: Optional[Any] = ...) -> None: ...
static_folder: Any = ...
static_url_path: Any = ...
@property
def has_static_folder(self): ...
def jinja_loader(self): ...
def get_send_file_max_age(self, filename: Any): ...
def send_static_file(self, filename: Any) -> Response: ...
def open_resource(self, resource: Any, mode: str = ...): ...
def total_seconds(td: Any): ...
def is_ip(value: Any): ...
| 2,036 | Python | .py | 50 | 37.38 | 123 | 0.608279 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,481 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/flask/__init__.pyi | from jinja2 import Markup as Markup, escape as escape
from werkzeug.exceptions import abort as abort
from werkzeug.utils import redirect as redirect
from .app import Flask as Flask
from .blueprints import Blueprint as Blueprint
from .config import Config as Config
from .ctx import (
after_this_request as after_this_request,
copy_current_request_context as copy_current_request_context,
has_app_context as has_app_context,
has_request_context as has_request_context,
)
from .globals import current_app as current_app, g as g, request as request, session as session
from .helpers import (
flash as flash,
get_flashed_messages as get_flashed_messages,
get_template_attribute as get_template_attribute,
make_response as make_response,
safe_join as safe_join,
send_file as send_file,
send_from_directory as send_from_directory,
stream_with_context as stream_with_context,
url_for as url_for,
)
from .json import jsonify as jsonify
from .signals import (
appcontext_popped as appcontext_popped,
appcontext_pushed as appcontext_pushed,
appcontext_tearing_down as appcontext_tearing_down,
before_render_template as before_render_template,
got_request_exception as got_request_exception,
message_flashed as message_flashed,
request_finished as request_finished,
request_started as request_started,
request_tearing_down as request_tearing_down,
signals_available as signals_available,
template_rendered as template_rendered,
)
from .templating import render_template as render_template, render_template_string as render_template_string
from .wrappers import Request as Request, Response as Response
| 1,688 | Python | .py | 40 | 38.775 | 108 | 0.7881 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,482 | globals.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/flask/globals.pyi | from typing import Any
from werkzeug.local import LocalStack
from .app import Flask
from .wrappers import Request
class _FlaskLocalProxy(Flask):
def _get_current_object(self) -> Flask: ...
_request_ctx_stack: LocalStack
_app_ctx_stack: LocalStack
current_app: _FlaskLocalProxy
request: Request
session: Any
g: Any
| 322 | Python | .py | 12 | 25.166667 | 47 | 0.80719 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,483 | sessions.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/flask/sessions.pyi | from abc import ABCMeta
from typing import Any, MutableMapping, Optional
from werkzeug.datastructures import CallbackDict
class SessionMixin(MutableMapping[str, Any], metaclass=ABCMeta):
@property
def permanent(self): ...
@permanent.setter
def permanent(self, value: Any) -> None: ...
new: bool = ...
modified: bool = ...
accessed: bool = ...
class SecureCookieSession(CallbackDict[str, Any], SessionMixin):
modified: bool = ...
accessed: bool = ...
def __init__(self, initial: Optional[Any] = ...) -> None: ...
def __getitem__(self, key: Any): ...
def get(self, key: Any, default: Optional[Any] = ...): ...
def setdefault(self, key: Any, default: Optional[Any] = ...): ...
class NullSession(SecureCookieSession):
__setitem__: Any = ...
__delitem__: Any = ...
clear: Any = ...
pop: Any = ...
popitem: Any = ...
update: Any = ...
setdefault: Any = ...
class SessionInterface:
null_session_class: Any = ...
pickle_based: bool = ...
def make_null_session(self, app: Any): ...
def is_null_session(self, obj: Any): ...
def get_cookie_domain(self, app: Any): ...
def get_cookie_path(self, app: Any): ...
def get_cookie_httponly(self, app: Any): ...
def get_cookie_secure(self, app: Any): ...
def get_cookie_samesite(self, app: Any): ...
def get_expiration_time(self, app: Any, session: Any): ...
def should_set_cookie(self, app: Any, session: Any): ...
def open_session(self, app: Any, request: Any) -> None: ...
def save_session(self, app: Any, session: Any, response: Any) -> None: ...
session_json_serializer: Any
class SecureCookieSessionInterface(SessionInterface):
salt: str = ...
digest_method: Any = ...
key_derivation: str = ...
serializer: Any = ...
session_class: Any = ...
def get_signing_serializer(self, app: Any): ...
def open_session(self, app: Any, request: Any): ...
def save_session(self, app: Any, session: Any, response: Any): ...
| 2,017 | Python | .py | 50 | 35.92 | 78 | 0.627551 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,484 | testing.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/flask/testing.pyi | from typing import IO, Any, Iterable, Mapping, Optional, Text, TypeVar, Union
from click import BaseCommand
from click.testing import CliRunner, Result
from werkzeug.test import Client, EnvironBuilder as WerkzeugEnvironBuilder
# Response type for the client below.
# By default _R is Tuple[Iterable[Any], Union[Text, int], werkzeug.datastructures.Headers], however
# most commonly it is wrapped in a Reponse object.
_R = TypeVar("_R")
class FlaskClient(Client[_R]):
preserve_context: bool = ...
environ_base: Any = ...
def __init__(self, *args: Any, **kwargs: Any) -> None: ...
def session_transaction(self, *args: Any, **kwargs: Any) -> None: ...
def __enter__(self): ...
def __exit__(self, exc_type: Any, exc_value: Any, tb: Any) -> None: ...
class FlaskCliRunner(CliRunner):
app: Any = ...
def __init__(self, app: Any, **kwargs: Any) -> None: ...
def invoke(
self,
cli: Optional[BaseCommand] = ...,
args: Optional[Union[str, Iterable[str]]] = ...,
input: Optional[Union[bytes, IO[Any], Text]] = ...,
env: Optional[Mapping[str, str]] = ...,
catch_exceptions: bool = ...,
color: bool = ...,
**extra: Any,
) -> Result: ...
class EnvironBuilder(WerkzeugEnvironBuilder):
app: Any
def __init__(
self,
app: Any,
path: str = ...,
base_url: Optional[Any] = ...,
subdomain: Optional[Any] = ...,
url_scheme: Optional[Any] = ...,
*args: Any,
**kwargs: Any,
) -> None: ...
def json_dumps(self, obj: Any, **kwargs: Any) -> str: ...
def make_test_environ_builder(
app: Any,
path: str = ...,
base_url: Optional[Any] = ...,
subdomain: Optional[Any] = ...,
url_scheme: Optional[Any] = ...,
*args: Any,
**kwargs: Any,
): ...
| 1,827 | Python | .py | 50 | 31.18 | 99 | 0.592885 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,485 | blueprints.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/flask/blueprints.pyi | from typing import Any, Callable, Optional, Type, TypeVar, Union
from .app import _ViewFunc
from .helpers import _PackageBoundObject
_T = TypeVar("_T")
_VT = TypeVar("_VT", bound=_ViewFunc)
class _Sentinel(object): ...
class BlueprintSetupState:
app: Any = ...
blueprint: Any = ...
options: Any = ...
first_registration: Any = ...
subdomain: Any = ...
url_prefix: Any = ...
url_defaults: Any = ...
def __init__(self, blueprint: Any, app: Any, options: Any, first_registration: Any) -> None: ...
def add_url_rule(self, rule: str, endpoint: Optional[str] = ..., view_func: _ViewFunc = ..., **options: Any) -> None: ...
class Blueprint(_PackageBoundObject):
warn_on_modifications: bool = ...
json_encoder: Any = ...
json_decoder: Any = ...
import_name: str = ...
template_folder: Optional[str] = ...
root_path: str = ...
name: str = ...
url_prefix: Optional[str] = ...
subdomain: Optional[str] = ...
static_folder: Optional[str] = ...
static_url_path: Optional[str] = ...
deferred_functions: Any = ...
url_values_defaults: Any = ...
cli_group: Union[Optional[str], _Sentinel] = ...
def __init__(
self,
name: str,
import_name: str,
static_folder: Optional[str] = ...,
static_url_path: Optional[str] = ...,
template_folder: Optional[str] = ...,
url_prefix: Optional[str] = ...,
subdomain: Optional[str] = ...,
url_defaults: Optional[Any] = ...,
root_path: Optional[str] = ...,
cli_group: Union[Optional[str], _Sentinel] = ...,
) -> None: ...
def record(self, func: Any) -> None: ...
def record_once(self, func: Any): ...
def make_setup_state(self, app: Any, options: Any, first_registration: bool = ...): ...
def register(self, app: Any, options: Any, first_registration: bool = ...) -> None: ...
def route(self, rule: str, **options: Any) -> Callable[[_VT], _VT]: ...
def add_url_rule(self, rule: str, endpoint: Optional[str] = ..., view_func: _ViewFunc = ..., **options: Any) -> None: ...
def endpoint(self, endpoint: str) -> Callable[[Callable[..., _T]], Callable[..., _T]]: ...
def app_template_filter(self, name: Optional[Any] = ...): ...
def add_app_template_filter(self, f: Any, name: Optional[Any] = ...) -> None: ...
def app_template_test(self, name: Optional[Any] = ...): ...
def add_app_template_test(self, f: Any, name: Optional[Any] = ...) -> None: ...
def app_template_global(self, name: Optional[Any] = ...): ...
def add_app_template_global(self, f: Any, name: Optional[Any] = ...) -> None: ...
def before_request(self, f: Any): ...
def before_app_request(self, f: Any): ...
def before_app_first_request(self, f: Any): ...
def after_request(self, f: Any): ...
def after_app_request(self, f: Any): ...
def teardown_request(self, f: Any): ...
def teardown_app_request(self, f: Any): ...
def context_processor(self, f: Any): ...
def app_context_processor(self, f: Any): ...
def app_errorhandler(self, code: Any): ...
def url_value_preprocessor(self, f: Any): ...
def url_defaults(self, f: Any): ...
def app_url_value_preprocessor(self, f: Any): ...
def app_url_defaults(self, f: Any): ...
def errorhandler(
self, code_or_exception: Union[int, Type[Exception]]
) -> Callable[[Callable[..., _T]], Callable[..., _T]]: ...
def register_error_handler(self, code_or_exception: Union[int, Type[Exception]], f: Callable[..., Any]) -> None: ...
| 3,564 | Python | .py | 75 | 42.24 | 125 | 0.590987 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,486 | templating.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/flask/templating.pyi | from typing import Any, Iterable, Text, Union
from jinja2 import BaseLoader, Environment as BaseEnvironment
class Environment(BaseEnvironment):
app: Any = ...
def __init__(self, app: Any, **options: Any) -> None: ...
class DispatchingJinjaLoader(BaseLoader):
app: Any = ...
def __init__(self, app: Any) -> None: ...
def get_source(self, environment: Any, template: Any): ...
def list_templates(self): ...
def render_template(template_name_or_list: Union[Text, Iterable[Text]], **context: Any) -> Text: ...
def render_template_string(source: Text, **context: Any) -> Text: ...
| 604 | Python | .py | 12 | 47 | 100 | 0.680272 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,487 | cli.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/flask/cli.pyi | from typing import Any, Optional
import click
class NoAppException(click.UsageError): ...
def find_best_app(script_info: Any, module: Any): ...
def call_factory(script_info: Any, app_factory: Any, arguments: Any = ...): ...
def find_app_by_string(script_info: Any, module: Any, app_name: Any): ...
def prepare_import(path: Any): ...
def locate_app(script_info: Any, module_name: Any, app_name: Any, raise_if_not_found: bool = ...): ...
def get_version(ctx: Any, param: Any, value: Any): ...
version_option: Any
class DispatchingApp:
loader: Any = ...
def __init__(self, loader: Any, use_eager_loading: bool = ...) -> None: ...
def __call__(self, environ: Any, start_response: Any): ...
class ScriptInfo:
app_import_path: Any = ...
create_app: Any = ...
data: Any = ...
def __init__(self, app_import_path: Optional[Any] = ..., create_app: Optional[Any] = ...) -> None: ...
def load_app(self): ...
pass_script_info: Any
def with_appcontext(f: Any): ...
class AppGroup(click.Group):
def command(self, *args: Any, **kwargs: Any): ...
def group(self, *args: Any, **kwargs: Any): ...
class FlaskGroup(AppGroup):
create_app: Any = ...
load_dotenv: Any = ...
def __init__(
self,
add_default_commands: bool = ...,
create_app: Optional[Any] = ...,
add_version_option: bool = ...,
load_dotenv: bool = ...,
**extra: Any,
) -> None: ...
def get_command(self, ctx: Any, name: Any): ...
def list_commands(self, ctx: Any): ...
def main(self, *args: Any, **kwargs: Any): ...
def load_dotenv(path: Optional[Any] = ...): ...
def show_server_banner(env: Any, debug: Any, app_import_path: Any, eager_loading: Any): ...
class CertParamType(click.ParamType):
name: str = ...
path_type: Any = ...
def __init__(self) -> None: ...
def convert(self, value: Any, param: Any, ctx: Any): ...
def run_command(
info: Any, host: Any, port: Any, reload: Any, debugger: Any, eager_loading: Any, with_threads: Any, cert: Any
) -> None: ...
def shell_command() -> None: ...
def routes_command(sort: Any, all_methods: Any): ...
cli: Any
def main(as_module: bool = ...) -> None: ...
| 2,195 | Python | .py | 53 | 37.566038 | 113 | 0.61166 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,488 | views.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/flask/views.pyi | from typing import Any
http_method_funcs: Any
class View:
methods: Any = ...
provide_automatic_options: Any = ...
decorators: Any = ...
def dispatch_request(self, *args: Any, **kwargs: Any) -> Any: ...
@classmethod
def as_view(cls, name: Any, *class_args: Any, **class_kwargs: Any): ...
class MethodViewType(type):
def __init__(self, name: Any, bases: Any, d: Any) -> None: ...
class MethodView(View, metaclass=MethodViewType):
def dispatch_request(self, *args: Any, **kwargs: Any) -> Any: ...
| 530 | Python | .py | 13 | 37 | 75 | 0.647173 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,489 | debughelpers.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/flask/debughelpers.pyi | from typing import Any
class UnexpectedUnicodeError(AssertionError, UnicodeError): ...
class DebugFilesKeyError(KeyError, AssertionError):
msg: Any = ...
def __init__(self, request: Any, key: Any) -> None: ...
class FormDataRoutingRedirect(AssertionError):
def __init__(self, request: Any) -> None: ...
def attach_enctype_error_multidict(request: Any): ...
def explain_template_loading_attempts(app: Any, template: Any, attempts: Any) -> None: ...
def explain_ignored_app_run() -> None: ...
| 507 | Python | .py | 10 | 48.1 | 90 | 0.716024 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,490 | app.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/flask/app.pyi | from datetime import timedelta
from types import TracebackType
from typing import (
Any,
ByteString,
Callable,
ContextManager,
Dict,
Iterable,
List,
NoReturn,
Optional,
Text,
Tuple,
Type,
TypeVar,
Union,
)
from .blueprints import Blueprint
from .config import Config
from .ctx import AppContext, RequestContext
from .helpers import _PackageBoundObject
from .testing import FlaskClient
from .wrappers import Response
def setupmethod(f: Any): ...
_T = TypeVar("_T")
_ExcInfo = Tuple[Optional[Type[BaseException]], Optional[BaseException], Optional[TracebackType]]
_StartResponse = Callable[[str, List[Tuple[str, str]], Optional[_ExcInfo]], Callable[[bytes], Any]]
_WSGICallable = Callable[[Dict[Text, Any], _StartResponse], Iterable[bytes]]
_Status = Union[str, int]
_Headers = Union[Dict[Any, Any], List[Tuple[Any, Any]]]
_Body = Union[Text, ByteString, Dict[Text, Any], Response, _WSGICallable]
_ViewFuncReturnType = Union[_Body, Tuple[_Body, _Status, _Headers], Tuple[_Body, _Status], Tuple[_Body, _Headers]]
_ViewFunc = Union[Callable[..., NoReturn], Callable[..., _ViewFuncReturnType]]
_VT = TypeVar("_VT", bound=_ViewFunc)
class Flask(_PackageBoundObject):
request_class: type = ...
response_class: type = ...
jinja_environment: type = ...
app_ctx_globals_class: type = ...
config_class: Type[Config] = ...
testing: Any = ...
secret_key: Union[Text, bytes, None] = ...
session_cookie_name: Any = ...
permanent_session_lifetime: timedelta = ...
send_file_max_age_default: timedelta = ...
use_x_sendfile: Any = ...
json_encoder: Any = ...
json_decoder: Any = ...
jinja_options: Any = ...
default_config: Any = ...
url_rule_class: type = ...
test_client_class: type = ...
test_cli_runner_class: type = ...
session_interface: Any = ...
import_name: str = ...
template_folder: str = ...
root_path: Union[str, Text] = ...
static_url_path: Any = ...
static_folder: Optional[str] = ...
instance_path: Union[str, Text] = ...
config: Config = ...
view_functions: Any = ...
error_handler_spec: Any = ...
url_build_error_handlers: Any = ...
before_request_funcs: Dict[Optional[str], List[Callable[[], Any]]] = ...
before_first_request_funcs: List[Callable[[], None]] = ...
after_request_funcs: Dict[Optional[str], List[Callable[[Response], Response]]] = ...
teardown_request_funcs: Dict[Optional[str], List[Callable[[Optional[Exception]], Any]]] = ...
teardown_appcontext_funcs: List[Callable[[Optional[Exception]], Any]] = ...
url_value_preprocessors: Any = ...
url_default_functions: Any = ...
template_context_processors: Any = ...
shell_context_processors: Any = ...
blueprints: Any = ...
extensions: Any = ...
url_map: Any = ...
subdomain_matching: Any = ...
cli: Any = ...
def __init__(
self,
import_name: str,
static_url_path: Optional[str] = ...,
static_folder: Optional[str] = ...,
static_host: Optional[str] = ...,
host_matching: bool = ...,
subdomain_matching: bool = ...,
template_folder: str = ...,
instance_path: Optional[str] = ...,
instance_relative_config: bool = ...,
root_path: Optional[str] = ...,
) -> None: ...
@property
def name(self) -> str: ...
@property
def propagate_exceptions(self) -> bool: ...
@property
def preserve_context_on_exception(self): ...
@property
def logger(self): ...
@property
def jinja_env(self): ...
@property
def got_first_request(self) -> bool: ...
def make_config(self, instance_relative: bool = ...): ...
def auto_find_instance_path(self): ...
def open_instance_resource(self, resource: Union[str, Text], mode: str = ...): ...
templates_auto_reload: Any = ...
def create_jinja_environment(self): ...
def create_global_jinja_loader(self): ...
def select_jinja_autoescape(self, filename: Any): ...
def update_template_context(self, context: Any) -> None: ...
def make_shell_context(self): ...
env: Optional[str] = ...
debug: bool = ...
def run(
self,
host: Optional[str] = ...,
port: Optional[Union[int, str]] = ...,
debug: Optional[bool] = ...,
load_dotenv: bool = ...,
**options: Any,
) -> None: ...
def test_client(self, use_cookies: bool = ..., **kwargs: Any) -> FlaskClient[Response]: ...
def test_cli_runner(self, **kwargs: Any): ...
def open_session(self, request: Any): ...
def save_session(self, session: Any, response: Any): ...
def make_null_session(self): ...
def register_blueprint(self, blueprint: Blueprint, **options: Any) -> None: ...
def iter_blueprints(self): ...
def add_url_rule(
self,
rule: str,
endpoint: Optional[str] = ...,
view_func: _ViewFunc = ...,
provide_automatic_options: Optional[bool] = ...,
**options: Any,
) -> None: ...
def route(self, rule: str, **options: Any) -> Callable[[_VT], _VT]: ...
def endpoint(self, endpoint: str) -> Callable[[Callable[..., _T]], Callable[..., _T]]: ...
def errorhandler(
self, code_or_exception: Union[int, Type[Exception]]
) -> Callable[[Callable[..., _T]], Callable[..., _T]]: ...
def register_error_handler(self, code_or_exception: Union[int, Type[Exception]], f: Callable[..., Any]) -> None: ...
def template_filter(self, name: Optional[Any] = ...): ...
def add_template_filter(self, f: Any, name: Optional[Any] = ...) -> None: ...
def template_test(self, name: Optional[Any] = ...): ...
def add_template_test(self, f: Any, name: Optional[Any] = ...) -> None: ...
def template_global(self, name: Optional[Any] = ...): ...
def add_template_global(self, f: Any, name: Optional[Any] = ...) -> None: ...
def before_request(self, f: Callable[[], _T]) -> Callable[[], _T]: ...
def before_first_request(self, f: Callable[[], _T]) -> Callable[[], _T]: ...
def after_request(self, f: Callable[[Response], Response]) -> Callable[[Response], Response]: ...
def teardown_request(self, f: Callable[[Optional[Exception]], _T]) -> Callable[[Optional[Exception]], _T]: ...
def teardown_appcontext(self, f: Callable[[Optional[Exception]], _T]) -> Callable[[Optional[Exception]], _T]: ...
def context_processor(self, f: Any): ...
def shell_context_processor(self, f: Any): ...
def url_value_preprocessor(self, f: Any): ...
def url_defaults(self, f: Any): ...
def handle_http_exception(self, e: Any): ...
def trap_http_exception(self, e: Any): ...
def handle_user_exception(self, e: Any): ...
def handle_exception(self, e: Any): ...
def log_exception(self, exc_info: Any) -> None: ...
def raise_routing_exception(self, request: Any) -> None: ...
def dispatch_request(self): ...
def full_dispatch_request(self): ...
def finalize_request(self, rv: Any, from_error_handler: bool = ...): ...
def try_trigger_before_first_request_functions(self): ...
def make_default_options_response(self): ...
def should_ignore_error(self, error: Any): ...
def make_response(self, rv: Any): ...
def create_url_adapter(self, request: Any): ...
def inject_url_defaults(self, endpoint: Any, values: Any) -> None: ...
def handle_url_build_error(self, error: Any, endpoint: Any, values: Any): ...
def preprocess_request(self): ...
def process_response(self, response: Any): ...
def do_teardown_request(self, exc: Any = ...) -> None: ...
def do_teardown_appcontext(self, exc: Any = ...) -> None: ...
def app_context(self) -> AppContext: ...
def request_context(self, environ: Any): ...
def test_request_context(self, *args: Any, **kwargs: Any) -> ContextManager[RequestContext]: ...
def wsgi_app(self, environ: Any, start_response: Any): ...
def __call__(self, environ: Any, start_response: Any): ...
# These are not preset at runtime but we add them since monkeypatching this
# class is quite common.
def __setattr__(self, name: str, value: Any): ...
def __getattr__(self, name: str): ...
| 8,224 | Python | .py | 188 | 38.664894 | 120 | 0.616764 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,491 | wrappers.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/flask/wrappers.pyi | from typing import Any, Dict, Optional
from werkzeug.exceptions import HTTPException
from werkzeug.routing import Rule
from werkzeug.wrappers import Request as RequestBase, Response as ResponseBase
class JSONMixin:
@property
def is_json(self) -> bool: ...
@property
def json(self): ...
def get_json(self, force: bool = ..., silent: bool = ..., cache: bool = ...): ...
def on_json_loading_failed(self, e: Any) -> None: ...
class Request(RequestBase, JSONMixin):
url_rule: Optional[Rule] = ...
view_args: Dict[str, Any] = ...
routing_exception: Optional[HTTPException] = ...
# Request is making the max_content_length readonly, where it was not the
# case in its supertype.
# We would require something like https://github.com/python/typing/issues/241
@property
def max_content_length(self) -> Optional[int]: ... # type: ignore
@property
def endpoint(self) -> Optional[str]: ...
@property
def blueprint(self) -> Optional[str]: ...
class Response(ResponseBase, JSONMixin):
default_mimetype: Optional[str] = ...
@property
def max_cookie_size(self) -> int: ...
| 1,145 | Python | .py | 28 | 36.75 | 85 | 0.681941 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,492 | tag.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/flask/json/tag.pyi | from typing import Any, Optional
class JSONTag:
key: Any = ...
serializer: Any = ...
def __init__(self, serializer: Any) -> None: ...
def check(self, value: Any) -> None: ...
def to_json(self, value: Any) -> None: ...
def to_python(self, value: Any) -> None: ...
def tag(self, value: Any): ...
class TagDict(JSONTag):
key: str = ...
def check(self, value: Any): ...
def to_json(self, value: Any): ...
def to_python(self, value: Any): ...
class PassDict(JSONTag):
def check(self, value: Any): ...
def to_json(self, value: Any): ...
tag: Any = ...
class TagTuple(JSONTag):
key: str = ...
def check(self, value: Any): ...
def to_json(self, value: Any): ...
def to_python(self, value: Any): ...
class PassList(JSONTag):
def check(self, value: Any): ...
def to_json(self, value: Any): ...
tag: Any = ...
class TagBytes(JSONTag):
key: str = ...
def check(self, value: Any): ...
def to_json(self, value: Any): ...
def to_python(self, value: Any): ...
class TagMarkup(JSONTag):
key: str = ...
def check(self, value: Any): ...
def to_json(self, value: Any): ...
def to_python(self, value: Any): ...
class TagUUID(JSONTag):
key: str = ...
def check(self, value: Any): ...
def to_json(self, value: Any): ...
def to_python(self, value: Any): ...
class TagDateTime(JSONTag):
key: str = ...
def check(self, value: Any): ...
def to_json(self, value: Any): ...
def to_python(self, value: Any): ...
class TaggedJSONSerializer:
default_tags: Any = ...
tags: Any = ...
order: Any = ...
def __init__(self) -> None: ...
def register(self, tag_class: Any, force: bool = ..., index: Optional[Any] = ...) -> None: ...
def tag(self, value: Any): ...
def untag(self, value: Any): ...
def dumps(self, value: Any): ...
def loads(self, value: Any): ...
| 1,918 | Python | .py | 57 | 29.245614 | 98 | 0.571583 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,493 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/flask/json/__init__.pyi | import json as _json
from typing import Any
from jinja2 import Markup
class JSONEncoder(_json.JSONEncoder):
def default(self, o: Any): ...
class JSONDecoder(_json.JSONDecoder): ...
def detect_encoding(data: bytes) -> str: ... # undocumented
def dumps(obj: Any, **kwargs: Any): ...
def dump(obj: Any, fp: Any, **kwargs: Any) -> None: ...
def loads(s: Any, **kwargs: Any): ...
def load(fp: Any, **kwargs: Any): ...
def htmlsafe_dumps(obj: Any, **kwargs: Any): ...
def htmlsafe_dump(obj: Any, fp: Any, **kwargs: Any) -> None: ...
def jsonify(*args: Any, **kwargs: Any): ...
def tojson_filter(obj: Any, **kwargs: Any) -> Markup: ... # undocumented
| 654 | Python | .py | 15 | 42.066667 | 73 | 0.658268 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,494 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/tzlocal/__init__.pyi | from pytz import BaseTzInfo
def reload_localzone() -> None: ...
def get_localzone() -> BaseTzInfo: ...
| 104 | Python | .py | 3 | 33.333333 | 38 | 0.71 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,495 | types.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/pynamodb/types.pyi | STRING: str
NUMBER: str
BINARY: str
HASH: str
RANGE: str
| 57 | Python | .py | 5 | 10.4 | 11 | 0.807692 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,496 | settings.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/pynamodb/settings.pyi | from typing import Any
log: Any
default_settings_dict: Any
OVERRIDE_SETTINGS_PATH: Any
override_settings: Any
def get_settings_value(key): ...
| 145 | Python | .py | 6 | 22.833333 | 32 | 0.810219 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,497 | throttle.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/pynamodb/throttle.pyi | from typing import Any, Optional
log: Any
class ThrottleBase:
capacity: Any
window: Any
records: Any
sleep_interval: Any
def __init__(self, capacity, window: int = ..., initial_sleep: Optional[Any] = ...) -> None: ...
def add_record(self, record): ...
def throttle(self): ...
class NoThrottle(ThrottleBase):
def __init__(self) -> None: ...
def add_record(self, record): ...
class Throttle(ThrottleBase):
def throttle(self): ...
| 472 | Python | .py | 15 | 27.533333 | 100 | 0.644592 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,498 | constants.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/pynamodb/constants.pyi | from typing import Any
BATCH_WRITE_ITEM: str
DESCRIBE_TABLE: str
BATCH_GET_ITEM: str
CREATE_TABLE: str
UPDATE_TABLE: str
DELETE_TABLE: str
LIST_TABLES: str
UPDATE_ITEM: str
DELETE_ITEM: str
GET_ITEM: str
PUT_ITEM: str
QUERY: str
SCAN: str
GLOBAL_SECONDARY_INDEX_UPDATES: str
RETURN_ITEM_COLL_METRICS: str
EXCLUSIVE_START_TABLE_NAME: str
RETURN_CONSUMED_CAPACITY: str
COMPARISON_OPERATOR: str
SCAN_INDEX_FORWARD: str
ATTR_DEFINITIONS: str
ATTR_VALUE_LIST: str
TABLE_DESCRIPTION: str
UNPROCESSED_KEYS: str
UNPROCESSED_ITEMS: str
CONSISTENT_READ: str
DELETE_REQUEST: str
RETURN_VALUES: str
REQUEST_ITEMS: str
ATTRS_TO_GET: str
ATTR_UPDATES: str
TABLE_STATUS: str
SCAN_FILTER: str
TABLE_NAME: str
KEY_SCHEMA: str
ATTR_NAME: str
ATTR_TYPE: str
ITEM_COUNT: str
CAMEL_COUNT: str
PUT_REQUEST: str
INDEX_NAME: str
ATTRIBUTES: str
TABLE_KEY: str
RESPONSES: str
RANGE_KEY: str
KEY_TYPE: str
ACTION: str
UPDATE: str
EXISTS: str
SELECT: str
ACTIVE: str
LIMIT: str
ITEMS: str
ITEM: str
KEYS: str
UTC: str
KEY: str
DEFAULT_ENCODING: str
DEFAULT_REGION: str
DATETIME_FORMAT: str
SERVICE_NAME: str
HTTP_OK: int
HTTP_BAD_REQUEST: int
PROVISIONED_THROUGHPUT: str
READ_CAPACITY_UNITS: str
WRITE_CAPACITY_UNITS: str
STRING_SHORT: str
STRING_SET_SHORT: str
NUMBER_SHORT: str
NUMBER_SET_SHORT: str
BINARY_SHORT: str
BINARY_SET_SHORT: str
MAP_SHORT: str
LIST_SHORT: str
BOOLEAN: str
BOOLEAN_SHORT: str
STRING: str
STRING_SET: str
NUMBER: str
NUMBER_SET: str
BINARY: str
BINARY_SET: str
MAP: str
LIST: str
SHORT_ATTR_TYPES: Any
ATTR_TYPE_MAP: Any
LOCAL_SECONDARY_INDEX: str
LOCAL_SECONDARY_INDEXES: str
GLOBAL_SECONDARY_INDEX: str
GLOBAL_SECONDARY_INDEXES: str
PROJECTION: str
PROJECTION_TYPE: str
NON_KEY_ATTRIBUTES: str
KEYS_ONLY: str
ALL: str
INCLUDE: str
STREAM_VIEW_TYPE: str
STREAM_SPECIFICATION: str
STREAM_ENABLED: str
STREAM_NEW_IMAGE: str
STREAM_OLD_IMAGE: str
STREAM_NEW_AND_OLD_IMAGE: str
STREAM_KEYS_ONLY: str
EXCLUSIVE_START_KEY: str
LAST_EVALUATED_KEY: str
QUERY_FILTER: str
BEGINS_WITH: str
BETWEEN: str
EQ: str
NE: str
LE: str
LT: str
GE: str
GT: str
IN: str
KEY_CONDITIONS: str
COMPARISON_OPERATOR_VALUES: Any
QUERY_OPERATOR_MAP: Any
NOT_NULL: str
NULL: str
CONTAINS: str
NOT_CONTAINS: str
ALL_ATTRIBUTES: str
ALL_PROJECTED_ATTRIBUTES: str
SPECIFIC_ATTRIBUTES: str
COUNT: str
SELECT_VALUES: Any
SCAN_OPERATOR_MAP: Any
QUERY_FILTER_OPERATOR_MAP: Any
DELETE_FILTER_OPERATOR_MAP: Any
UPDATE_FILTER_OPERATOR_MAP: Any
PUT_FILTER_OPERATOR_MAP: Any
SEGMENT: str
TOTAL_SEGMENTS: str
SCAN_FILTER_VALUES: Any
QUERY_FILTER_VALUES: Any
DELETE_FILTER_VALUES: Any
VALUE: str
EXPECTED: str
CONSUMED_CAPACITY: str
CAPACITY_UNITS: str
INDEXES: str
TOTAL: str
NONE: str
RETURN_CONSUMED_CAPACITY_VALUES: Any
SIZE: str
RETURN_ITEM_COLL_METRICS_VALUES: Any
ALL_OLD: str
UPDATED_OLD: str
ALL_NEW: str
UPDATED_NEW: str
RETURN_VALUES_VALUES: Any
PUT: str
DELETE: str
ADD: str
ATTR_UPDATE_ACTIONS: Any
BATCH_GET_PAGE_LIMIT: int
BATCH_WRITE_PAGE_LIMIT: int
META_CLASS_NAME: str
REGION: str
HOST: str
CONDITIONAL_OPERATOR: str
AND: str
OR: str
CONDITIONAL_OPERATORS: Any
| 3,038 | Python | .py | 165 | 17.406061 | 36 | 0.823468 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,499 | models.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/pynamodb/models.pyi | from typing import Any, Dict, Generic, Iterable, Iterator, List, Optional, Sequence, Text, Tuple, Type, TypeVar, Union
from .attributes import Attribute
from .exceptions import DoesNotExist as DoesNotExist
log: Any
class DefaultMeta: ...
class ResultSet(object):
results: Any
operation: Any
arguments: Any
def __init__(self, results, operation, arguments) -> None: ...
def __iter__(self): ...
class MetaModel(type):
def __init__(self, name: Text, bases: Tuple[type, ...], attrs: Dict[Any, Any]) -> None: ...
_T = TypeVar("_T", bound="Model")
KeyType = Union[Text, bytes, float, int, Tuple[Any, ...]]
class Model(metaclass=MetaModel):
DoesNotExist = DoesNotExist
attribute_values: Dict[Text, Any]
def __init__(self, hash_key: Optional[KeyType] = ..., range_key: Optional[Any] = ..., **attrs) -> None: ...
@classmethod
def has_map_or_list_attributes(cls: Type[_T]) -> bool: ...
@classmethod
def batch_get(
cls: Type[_T],
items: Iterable[Union[KeyType, Iterable[KeyType]]],
consistent_read: Optional[bool] = ...,
attributes_to_get: Optional[Sequence[Text]] = ...,
) -> Iterator[_T]: ...
@classmethod
def batch_write(cls: Type[_T], auto_commit: bool = ...) -> BatchWrite[_T]: ...
def delete(self, condition: Optional[Any] = ..., conditional_operator: Optional[Text] = ..., **expected_values) -> Any: ...
def update(
self,
attributes: Optional[Dict[Text, Dict[Text, Any]]] = ...,
actions: Optional[List[Any]] = ...,
condition: Optional[Any] = ...,
conditional_operator: Optional[Text] = ...,
**expected_values,
) -> Any: ...
def update_item(
self,
attribute: Text,
value: Optional[Any] = ...,
action: Optional[Text] = ...,
conditional_operator: Optional[Text] = ...,
**expected_values,
): ...
def save(
self, condition: Optional[Any] = ..., conditional_operator: Optional[Text] = ..., **expected_values
) -> Dict[str, Any]: ...
def refresh(self, consistent_read: bool = ...): ...
@classmethod
def get(cls: Type[_T], hash_key: KeyType, range_key: Optional[KeyType] = ..., consistent_read: bool = ...) -> _T: ...
@classmethod
def from_raw_data(cls: Type[_T], data) -> _T: ...
@classmethod
def count(
cls: Type[_T],
hash_key: Optional[KeyType] = ...,
consistent_read: bool = ...,
index_name: Optional[Text] = ...,
limit: Optional[int] = ...,
**filters,
) -> int: ...
@classmethod
def query(
cls: Type[_T],
hash_key: KeyType,
consistent_read: bool = ...,
index_name: Optional[Text] = ...,
scan_index_forward: Optional[Any] = ...,
conditional_operator: Optional[Text] = ...,
limit: Optional[int] = ...,
last_evaluated_key: Optional[Any] = ...,
attributes_to_get: Optional[Iterable[Text]] = ...,
page_size: Optional[int] = ...,
**filters,
) -> Iterator[_T]: ...
@classmethod
def rate_limited_scan(
cls: Type[_T],
# TODO: annotate Condition class
filter_condition: Optional[Any] = ...,
attributes_to_get: Optional[Sequence[Text]] = ...,
segment: Optional[int] = ...,
total_segments: Optional[int] = ...,
limit: Optional[int] = ...,
conditional_operator: Optional[Text] = ...,
last_evaluated_key: Optional[Any] = ...,
page_size: Optional[int] = ...,
timeout_seconds: Optional[int] = ...,
read_capacity_to_consume_per_second: int = ...,
allow_rate_limited_scan_without_consumed_capacity: Optional[bool] = ...,
max_sleep_between_retry: int = ...,
max_consecutive_exceptions: int = ...,
consistent_read: Optional[bool] = ...,
index_name: Optional[str] = ...,
**filters: Any,
) -> Iterator[_T]: ...
@classmethod
def scan(
cls: Type[_T],
segment: Optional[int] = ...,
total_segments: Optional[int] = ...,
limit: Optional[int] = ...,
conditional_operator: Optional[Text] = ...,
last_evaluated_key: Optional[Any] = ...,
page_size: Optional[int] = ...,
**filters,
) -> Iterator[_T]: ...
@classmethod
def exists(cls: Type[_T]) -> bool: ...
@classmethod
def delete_table(cls): ...
@classmethod
def describe_table(cls): ...
@classmethod
def create_table(
cls: Type[_T], wait: bool = ..., read_capacity_units: Optional[Any] = ..., write_capacity_units: Optional[Any] = ...
): ...
@classmethod
def dumps(cls): ...
@classmethod
def dump(cls, filename): ...
@classmethod
def loads(cls, data): ...
@classmethod
def load(cls, filename): ...
@classmethod
def add_throttle_record(cls, records): ...
@classmethod
def get_throttle(cls): ...
@classmethod
def get_attributes(cls) -> Dict[str, Attribute[Any]]: ...
@classmethod
def _get_attributes(cls) -> Dict[str, Attribute[Any]]: ...
class ModelContextManager(Generic[_T]):
model: Type[_T]
auto_commit: bool
max_operations: int
pending_operations: List[Dict[Text, Any]]
def __init__(self, model: Type[_T], auto_commit: bool = ...) -> None: ...
def __enter__(self) -> ModelContextManager[_T]: ...
class BatchWrite(ModelContextManager[_T]):
def save(self, put_item: _T) -> None: ...
def delete(self, del_item: _T) -> None: ...
def __enter__(self) -> BatchWrite[_T]: ...
def __exit__(self, exc_type, exc_val, exc_tb) -> None: ...
pending_operations: Any
def commit(self) -> None: ...
| 5,702 | Python | .py | 150 | 31.646667 | 127 | 0.579289 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |