Skip to content

Conversation

@rhoban13
Copy link
Contributor

Re submitting what is the end result of the iterations in #238 submitted originally by @vikhal.

Simply enabling the initializer of DockerContainer to accept its private members as kwargs.

@alexanderankinalexanderankin changed the title DockerContainer initializer to accept its private members as kwargsfeat: DockerContainer initializer to accept its private members as kwargsMay 17, 2025
@codecov
Copy link

codecovbot commented May 18, 2025

Codecov Report

Attention: Patch coverage is 66.66667% with 4 lines in your changes missing coverage. Please review.

Please upload report for BASE (main@408f5c2). Learn more about missing BASE report.

Files with missing linesPatch %Lines
core/testcontainers/core/container.py66.66%2 Missing and 2 partials ⚠️
Additional details and impacted files
@@ Coverage Diff @@## main #809 +/- ## ======================================= Coverage ? 85.46% ======================================= Files ? 12 Lines ? 688 Branches ? 110 ======================================= Hits ? 588 Misses ? 75 Partials ? 25 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@alexanderankin
Copy link
Member

will rebase tomorrow and then probably will look it over once more and merge

@alexanderankinalexanderankinforce-pushed the container_initializer_accept_more_kwargs branch from 7160514 to 711ec78CompareMay 18, 2025 05:58
@alexanderankinalexanderankin merged commit e7feb53 into testcontainers:mainMay 29, 2025
10 checks passed
alexanderankin pushed a commit that referenced this pull request Jun 16, 2025
🤖 I have created a release *beep* *boop* --- ## [4.11.0](testcontainers-v4.10.0...testcontainers-v4.11.0) (2025-06-15) ### Features * **core:** Protocol support for container port bind and expose ([#690](#690)) ([a0d4317](a0d4317)) * DockerContainer initializer to accept its private members as kwargs ([#809](#809)) ([e7feb53](e7feb53)) ### Bug Fixes * **compose:** use provided docker command instead of default ([#785](#785)) ([0ae704a](0ae704a)) * **core:** Add kwargs to image build ([#708](#708)) ([cc02f94](cc02f94)) * **core:** change with_command type to include list of strings ([#789](#789)) ([f7c29cb](f7c29cb)) * **core:** Determine docker socket for rootless docker ([#779](#779)) ([6817582](6817582)) * **core:** Typing in docker_client ([#702](#702)) ([e8bf224](e8bf224)) * **core:** Typing in generic + network ([#700](#700)) ([2061912](2061912)) * **core:** Typing in version ([#701](#701)) ([9dc2a02](9dc2a02)) * **core:** wait in test core registry ([#812](#812)) ([b574c0e](b574c0e)) * **modules:** fix cosmosdb failure ([#827](#827)) ([dafcbed](dafcbed)) * **modules:** update chroma version ([#826](#826)) ([b7d41dd](b7d41dd)) * **rabbitmq:** correct pika pypi reference ([#817](#817)) ([e90d308](e90d308)) * **registry:** module typed ([#811](#811)) ([6b11268](6b11268)) * use connection mode override function in config ([#775](#775)) ([ab2a1ab](ab2a1ab)), closes [#774](#774) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
terry-docker added a commit to terry-docker/testcontainers-python that referenced this pull request Jun 17, 2025
…args (testcontainers#809) Re submitting what is the end result of the iterations in testcontainers#238 submitted originally by @vikhal. Simply enabling the initializer of `DockerContainer` to accept its private members as kwargs. --------- Co-authored-by: David Ankin <[email protected]>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@rhoban13@alexanderankin