Commit 3d51aa31 by Arun Babu Neelicattu Committed by finswimmer

utils/exporter: fix type hint for export()

(cherry picked from commit b29450c19034cf34856cf6e2a610507411833e36)
parent 1188b312
......@@ -31,7 +31,7 @@ class Exporter(object):
dev=False,
extras=None,
with_credentials=False,
): # type: (str, Path, Union[IO, str], bool, bool, bool) -> None
): # type: (str, Path, Union[IO, str], bool, bool, Optional[Union[bool, Sequence[str]]], bool) -> None
if fmt not in self.ACCEPTED_FORMATS:
raise ValueError("Invalid export format: {}".format(fmt))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment