Skip to content
New issue

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

[DOP-8664] - Allow modes "ignore" and "error" in MongoDB.WriteOptions #145

Merged
merged 9 commits into from
Sep 11, 2023

Conversation

maxim-lixakov
Copy link
Contributor

@maxim-lixakov maxim-lixakov commented Sep 8, 2023

Change Summary

  • add ignore and error modes (if_exists=...) to MongoDB.WriteOptions
  • add unit and integration tests
  • updated documentation

Related issue number

Checklist

  • Commit message and PR title is comprehensive
  • Keep the change as small as possible
  • Unit and integration tests for the changes exist
  • Tests pass on CI and coverage does not decrease
  • Documentation reflects the changes where applicable
  • docs/changelog/next_release/<pull request or issue id>.<change type>.rst file added describing change
    (see CONTRIBUTING.rst for details.)
  • My PR is ready to review.

@codecov
Copy link

codecov bot commented Sep 8, 2023

Codecov Report

Merging #145 (e205d8e) into develop (0adf055) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop     #145      +/-   ##
===========================================
+ Coverage    94.24%   94.28%   +0.03%     
===========================================
  Files          207      207              
  Lines         7703     7720      +17     
  Branches      1449     1453       +4     
===========================================
+ Hits          7260     7279      +19     
+ Misses         322      321       -1     
+ Partials       121      120       -1     
Files Changed Coverage Δ
...etl/connection/db_connection/mongodb/connection.py 93.75% <100.00%> (+0.52%) ⬆️
onetl/connection/db_connection/mongodb/options.py 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

@maxim-lixakov maxim-lixakov self-assigned this Sep 8, 2023
@maxim-lixakov maxim-lixakov marked this pull request as ready for review September 8, 2023 12:17
@maxim-lixakov maxim-lixakov temporarily deployed to test-pypi September 8, 2023 14:20 — with GitHub Actions Inactive
@maxim-lixakov maxim-lixakov temporarily deployed to test-pypi September 8, 2023 14:22 — with GitHub Actions Inactive
@maxim-lixakov maxim-lixakov temporarily deployed to test-pypi September 8, 2023 15:13 — with GitHub Actions Inactive
@maxim-lixakov maxim-lixakov temporarily deployed to test-pypi September 8, 2023 15:23 — with GitHub Actions Inactive
@maxim-lixakov maxim-lixakov temporarily deployed to test-pypi September 11, 2023 08:14 — with GitHub Actions Inactive
@maxim-lixakov maxim-lixakov temporarily deployed to test-pypi September 11, 2023 08:47 — with GitHub Actions Inactive
@maxim-lixakov maxim-lixakov temporarily deployed to test-pypi September 11, 2023 08:51 — with GitHub Actions Inactive
@maxim-lixakov maxim-lixakov temporarily deployed to test-pypi September 11, 2023 10:31 — with GitHub Actions Inactive
@maxim-lixakov maxim-lixakov merged commit 13b498a into develop Sep 11, 2023
33 checks passed
@maxim-lixakov maxim-lixakov deleted the feature/DOP-8664 branch September 11, 2023 10:45
Sign up for free to 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.

None yet

3 participants