Open dankirkham opened 1 month ago
Describe the bug
I was trying to pass client_args to the DockerCompose constructor. However, I get the error:
client_args
DockerCompose
Traceback (most recent call last): File <removed>, in <module> test_foo() File <removed>, in test_foo compose = DockerCompose( ^^^^^^^^^^^^^^ TypeError: DockerCompose.__init__() got an unexpected keyword argument 'client_args'
I presume this is because it is in the doc string, but not the actual class definition.
To Reproduce
from testcontainers.compose import DockerCompose compose = DockerCompose( client_args=True, )
Runtime environment
testcontainers-python is 4.5.1 on Debian Docker version 26.1.3-1, build b72abbb6f0351eb22e5c7bdbba9112fef6b41429 Docker Compose version v2.27.1
testcontainers-python
4.5.1
Docker version 26.1.3-1, build b72abbb6f0351eb22e5c7bdbba9112fef6b41429
Docker Compose version v2.27.1
thats correct, it just calls subprocess.run to execute "docker compose" commands, so there is no meaning for client_args
Describe the bug
I was trying to pass
client_args
to theDockerCompose
constructor. However, I get the error:I presume this is because it is in the doc string, but not the actual class definition.
To Reproduce
Runtime environment
testcontainers-python
is4.5.1
on DebianDocker version 26.1.3-1, build b72abbb6f0351eb22e5c7bdbba9112fef6b41429
Docker Compose version v2.27.1