luizribeiro / labby

Software for interacting with laboratory equipment and running experiment sequences.
MIT License
0 stars 1 forks source link

Update dependency mashumaro to v2.4 #99

Closed renovate[bot] closed 3 years ago

renovate[bot] commented 3 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
mashumaro 2.3 -> 2.4 age adoption passing confidence

Release Notes

Fatal1ty/mashumaro ### [`v2.4`](https://togithub.com/Fatal1ty/mashumaro/releases/v2.4) [Compare Source](https://togithub.com/Fatal1ty/mashumaro/compare/v2.3...v2.4) ## Changes - Fixed calling `to_dict` method of a class that doesn't have [`omit_none`](https://togithub.com/Fatal1ty/mashumaro#add-omit_none-keyword-argument) and [`by_alias`](https://togithub.com/Fatal1ty/mashumaro#add-by_alias-keyword-argument) keyword arguments added in case it has a field of the type that has these arguments added: ```python @​dataclass class A(DataClassDictMixin): x: Optional[int] = None class Config(BaseConfig): aliases = {"x": "x_alias"} code_generation_options = [ TO_DICT_ADD_OMIT_NONE_FLAG, TO_DICT_ADD_BY_ALIAS_FLAG, ] @​dataclass class B(DataClassDictMixin): a: Optional[A] = None ### This caused an exception NameError: name 'omit_none' is not defined print(B(a=A(1)).to_dict()) ```

Configuration

:date: Schedule: At any time (no schedule defined).

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.

codecov[bot] commented 3 years ago

Codecov Report

Merging #99 (a6790b6) into master (5d20bba) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #99   +/-   ##
=======================================
  Coverage   97.45%   97.45%           
=======================================
  Files          29       29           
  Lines         983      983           
=======================================
  Hits          958      958           
  Misses         25       25           

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 5d20bba...a6790b6. Read the comment docs.