We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
The text was updated successfully, but these errors were encountered:
thats correct, it just calls subprocess.run to execute "docker compose" commands, so there is no meaning for client_args
Sorry, something went wrong.
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: