X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=.config%2Fcoc%2Fextensions%2Fnode_modules%2Fcoc-pyright%2Fnode_modules%2Fpyright%2Fdist%2Ftypeshed-fallback%2Fstubs%2Fjsonschema%2Fjsonschema%2Fexceptions.pyi;fp=.config%2Fcoc%2Fextensions%2Fnode_modules%2Fcoc-pyright%2Fnode_modules%2Fpyright%2Fdist%2Ftypeshed-fallback%2Fstubs%2Fjsonschema%2Fjsonschema%2Fexceptions.pyi;h=078d44b643c2b2d53bd4449df4db6fa3e4412826;hb=3be0a9efc698a9570a44456009afc6014812625a;hp=0000000000000000000000000000000000000000;hpb=d2f432cc757f42f0318fdddcab8c00b240d47088;p=dotfiles%2F.git diff --git a/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stubs/jsonschema/jsonschema/exceptions.pyi b/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stubs/jsonschema/jsonschema/exceptions.pyi new file mode 100644 index 00000000..078d44b6 --- /dev/null +++ b/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stubs/jsonschema/jsonschema/exceptions.pyi @@ -0,0 +1,81 @@ +from typing import Any + +WEAK_MATCHES: Any +STRONG_MATCHES: Any + +class _Error(Exception): + message: Any + path: Any + schema_path: Any + context: Any + cause: Any + validator: Any + validator_value: Any + instance: Any + schema: Any + parent: Any + def __init__( + self, + message, + validator=..., + path=..., + cause: Any | None = ..., + context=..., + validator_value=..., + instance=..., + schema=..., + schema_path=..., + parent: Any | None = ..., + ) -> None: ... + def __unicode__(self): ... + @classmethod + def create_from(cls, other): ... + @property + def absolute_path(self): ... + @property + def absolute_schema_path(self): ... + +class ValidationError(_Error): ... +class SchemaError(_Error): ... + +class RefResolutionError(Exception): + def __init__(self, cause) -> None: ... + def __lt__(self, other): ... + def __le__(self, other): ... + def __gt__(self, other): ... + def __ge__(self, other): ... + +class UndefinedTypeCheck(Exception): + type: Any + def __init__(self, type) -> None: ... + def __unicode__(self): ... + +class UnknownType(Exception): + type: Any + instance: Any + schema: Any + def __init__(self, type, instance, schema) -> None: ... + def __unicode__(self): ... + +class FormatError(Exception): + message: Any + cause: Any + def __init__(self, message, cause: Any | None = ...) -> None: ... + def __unicode__(self): ... + +class ErrorTree: + errors: Any + def __init__(self, errors=...) -> None: ... + def __contains__(self, index): ... + def __getitem__(self, index): ... + def __setitem__(self, index, value) -> None: ... + def __iter__(self): ... + def __len__(self): ... + @property + def total_errors(self): ... + +def by_relevance(weak=..., strong=...): ... + +relevance: Any + +def best_match(errors, key=...): ...