From f7c00b8b33008de74d291f4a5084b129eb2eece6 Mon Sep 17 00:00:00 2001 From: Christopher Dignam Date: Fri, 29 Mar 2019 03:26:13 -0400 Subject: [PATCH] yaml: add full_load and full_load_all stubs (#2892) --- third_party/2and3/yaml/__init__.pyi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/third_party/2and3/yaml/__init__.pyi b/third_party/2and3/yaml/__init__.pyi index 7e17013b2..c7d771acd 100644 --- a/third_party/2and3/yaml/__init__.pyi +++ b/third_party/2and3/yaml/__init__.pyi @@ -17,6 +17,8 @@ def compose(stream, Loader=...): ... def compose_all(stream, Loader=...): ... def load(stream: Union[str, IO[str]], Loader=...) -> Any: ... def load_all(stream: Union[str, IO[str]], Loader=...) -> Iterator[Any]: ... +def full_load(stream: Union[str, IO[str]]) -> Any: ... +def full_load_all(stream: Union[str, IO[str]]) -> Iterator[Any]: ... def safe_load(stream: Union[str, IO[str]]) -> Any: ... def safe_load_all(stream: Union[str, IO[str]]) -> Iterator[Any]: ... def emit(events, stream=..., Dumper=..., canonical=..., indent=..., width=..., allow_unicode=..., line_break=...): ...