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

Patch and copy Model instances #39

Merged
merged 12 commits into from Mar 9, 2021
Merged

Patch and copy Model instances #39

merged 12 commits into from Mar 9, 2021

Conversation

art049
Copy link
Owner

@art049 art049 commented Nov 9, 2020

Fixes #34

@github-actions
Copy link

github-actions bot commented Nov 9, 2020

🚀 Deployed on https://docs-preview-39--odmantic.netlify.app

@codecov
Copy link

codecov bot commented Nov 9, 2020

Codecov Report

Merging #39 (f9def86) into master (9f41a0b) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##            master       #39     +/-   ##
===========================================
  Coverage   100.00%   100.00%             
===========================================
  Files           12        38     +26     
  Lines          886      2723   +1837     
  Branches       143       178     +35     
===========================================
+ Hits           886      2723   +1837     
Flag Coverage Δ
tests-3.6-4-standalone 99.70% <100.00%> (+0.61%) ⬆️
tests-3.6-4.2-standalone 99.70% <100.00%> (+0.61%) ⬆️
tests-3.6-4.4-standalone 99.70% <100.00%> (+0.61%) ⬆️
tests-3.7-4-standalone 99.51% <100.00%> (+0.99%) ⬆️
tests-3.7-4.2-standalone 99.51% <100.00%> (+0.99%) ⬆️
tests-3.7-4.4-standalone 99.51% <100.00%> (+0.99%) ⬆️
tests-3.8-4-replicaSet 97.94% <100.00%> (+0.87%) ⬆️
tests-3.8-4-standalone 99.44% <100.00%> (+1.14%) ⬆️
tests-3.8-4.2-sharded 97.94% <100.00%> (+0.87%) ⬆️
tests-3.8-4.2-standalone 99.44% <100.00%> (+1.14%) ⬆️
tests-3.8-4.4-standalone 99.44% <100.00%> (+1.14%) ⬆️
tests-3.9-4-standalone 99.33% <100.00%> (+1.14%) ⬆️
tests-3.9-4.2-standalone 99.33% <100.00%> (+1.14%) ⬆️
tests-3.9-4.4-standalone 99.33% <100.00%> (+1.14%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
tests/integration/fastapi/test_dependency.py 100.00% <ø> (ø)
tests/integration/fastapi/test_models.py 100.00% <ø> (ø)
tests/unit/test_model_definition.py 100.00% <ø> (ø)
tests/zoo/person.py 100.00% <ø> (ø)
odmantic/model.py 100.00% <100.00%> (ø)
tests/integration/fastapi/test_doc_example.py 100.00% <100.00%> (ø)
tests/unit/test_model_logic.py 100.00% <100.00%> (ø)
tests/zoo/player.py 100.00% <0.00%> (ø)
tests/zoo/twitter_user.py 100.00% <0.00%> (ø)
tests/unit/test_model_type_validation.py 100.00% <0.00%> (ø)
... and 23 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9f41a0b...f9def86. Read the comment docs.

@art049 art049 force-pushed the model-copy branch 2 times, most recently from 376523f to cbc080b Compare November 9, 2020 20:44
@art049 art049 changed the title Patch and copy Model instances Patch and Copy Model instances Nov 9, 2020
@art049 art049 changed the title Patch and Copy Model instances Patch and copy Model instances Nov 9, 2020
@art049 art049 force-pushed the model-copy branch 11 times, most recently from 9edd22d to 00faa13 Compare November 13, 2020 00:49
@art049 art049 force-pushed the model-copy branch 3 times, most recently from 90ab331 to 6c92123 Compare March 9, 2021 21:18
@art049 art049 merged commit 6094f49 into master Mar 9, 2021
@art049 art049 deleted the model-copy branch March 9, 2021 23:47
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.

Class MyClass must implement all abstract methods of Model Model.copy is not implemented
1 participant