We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6817582 commit f7c29cbCopy full SHA for f7c29cb
core/testcontainers/core/container.py
@@ -155,7 +155,7 @@ def get_exposed_port(self, port: int) -> int:
155
return self.get_docker_client().port(self._container.id, port)
156
return port
157
158
- def with_command(self, command: str) -> Self:
+ def with_command(self, command: Union[str, list[str]]) -> Self:
159
self._command = command
160
return self
161
0 commit comments