Skip to content

Commit

Permalink
type annotations
Browse files Browse the repository at this point in the history
Signed-off-by: Wenqi Li <[email protected]>
  • Loading branch information
wyli committed Feb 9, 2023
1 parent e8c807e commit 5a0d83d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monai/utils/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ def path_to_uri(path: PathLike) -> str:
return Path(path).absolute().as_uri()


def pprint_edges(val, n_lines=20) -> str:
def pprint_edges(val: Any, n_lines: int = 20) -> str:
"""
Pretty print the head and tail ``n_lines`` of ``val``, and omit the middle part if the part has more than 3 lines.
Expand Down

0 comments on commit 5a0d83d

Please sign in to comment.