Skip to content

Commit acd19f5

Browse files
committed
unify args using Path
Signed-off-by: mgorsk1 <[email protected]>
1 parent 3040d2b commit acd19f5

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
@@ -87,7 +87,7 @@ def with_copy_file_to_container(self, source_file: Path, destination_file: Path)
8787

8888
return self
8989

90-
def copy_file_from_container(self, container_file: str, destination_file: str) -> str:
90+
def copy_file_from_container(self, container_file: Path, destination_file: Path) -> Path:
9191
tar_stream, _ = self._container.get_archive(container_file)
9292

9393
for chunk in tar_stream:

0 commit comments

Comments
 (0)