Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Dec 20, 2021

Bumps mashumaro from 2.9 to 2.9.1.

Release notes

Sourced from mashumaro's releases.

v2.9.1

Changes

  • Fixed installing with third-party tool pdistx. See Fatal1ty/mashumaro#60.
  • Fixed serialzation / deserialization override for Union and TypeVar types. See Fatal1ty/mashumaro#61.
  • Fixed the default value of by_alias argument of to_dict method when using serialize_by_alias config option. In the previous versions by_alias argument had a default valueFalse regardless of whether serialize_by_alias config options was used. Now it could be True:
@dataclass
class MyClass(DataClassDictMixin):
    x: int
class Config(BaseConfig):
    aliases = {"x": "x_alias"}
    serialize_by_alias = True
    code_generation_options = [TO_DICT_ADD_BY_ALIAS_FLAG]

print(MyClass(x=1).to_dict())  # {'x_alias': 1}
print(MyClass(x=1).to_dict(by_alias=False))  # {x': 1}

Commits
  • b2cfa15 Bump version
  • cd36d4c Merge branch 'develop'
  • ce1e86f Fix two tests coverage
  • 39562b2 Fix default by_alias value with serialize_by_alias config option enabled
  • df77a7e Fix Union and TypeVar serialization override
  • ecfdbd2 Build DataClassDictMixinPath dynamically
  • See full diff in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [mashumaro](https://github.com/Fatal1ty/mashumaro) from 2.9 to 2.9.1.
- [Release notes](https://github.com/Fatal1ty/mashumaro/releases)
- [Commits](Fatal1ty/mashumaro@v2.9...v2.9.1)

---
updated-dependencies:
- dependency-name: mashumaro
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Dec 20, 2021
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Dec 31, 2021

Superseded by #9.

@dependabot dependabot bot closed this Dec 31, 2021
@dependabot dependabot bot deleted the dependabot/pip/core/mashumaro-2.9.1 branch December 31, 2021 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants