Skip to content

Commit 4e7aeda

Browse files
committed
unify args using Path
Signed-off-by: mgorsk1 <[email protected]>
1 parent 572fe98 commit 4e7aeda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/testcontainers/core/container.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def with_copy_file_to_container(self, source_file: Path, destination_file: Path)
8585

8686
return self
8787

88-
def copy_file_from_container(self, container_file: str, destination_file: str) -> str:
88+
def copy_file_from_container(self, container_file: Path, destination_file: Path) -> Path:
8989
tar_stream, _ = self._container.get_archive(container_file)
9090

9191
for chunk in tar_stream:

0 commit comments

Comments
 (0)