Skip to content

Commit

Permalink
Add Tuple[Union[str, int]] to ValidPortMapping (#619)
Browse files Browse the repository at this point in the history
  • Loading branch information
eclark0426 authored Aug 6, 2024
1 parent 9874b40 commit 144fd12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python_on_whales/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ def post_process_stream(stream: Optional[bytes]) -> str:

ValidPath = Union[str, Path]
ValidPortMapping = Union[
Tuple[Union[str, int]],
Tuple[Union[str, int], Union[str, int]],
Tuple[Union[str, int], Union[str, int], str],
]
Expand Down

0 comments on commit 144fd12

Please sign in to comment.