Skip to content

Commit 48d5d7e

Browse files
committed
Fixed type hint for keyword arguments
1 parent e6dc6e9 commit 48d5d7e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

yamlable/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def __from_yaml_dict__(cls, # type: Type[Y]
9494
def dump_yaml(self,
9595
file_path_or_stream, # type: Union[str, IOBase, StrinIO]
9696
safe=True, # type: bool
97-
**pyyaml_kwargs # type: Dict[str, Any]
97+
**pyyaml_kwargs # type: Any
9898
):
9999
# type: (...) -> None
100100
"""
@@ -121,7 +121,7 @@ def dump_yaml(self,
121121

122122
def dumps_yaml(self,
123123
safe=True, # type: bool
124-
**pyyaml_kwargs # type: Dict[str, Any]
124+
**pyyaml_kwargs # type: Any
125125
):
126126
# type: (...) -> str
127127
"""

0 commit comments

Comments
 (0)