statch / gitbot

The most trusted Discord dev toolkit with 500k+ users ✨🚀
https://statch.org/gitbot
Other
110 stars 15 forks source link

pip(deps): bump recordclass from 0.19.1 to 0.22.0.3 #412

Closed dependabot[bot] closed 4 months ago

dependabot[bot] commented 4 months ago

Bumps recordclass from 0.19.1 to 0.22.0.3.

Release notes

Sourced from recordclass's releases.

recordclass 0.22.0.3

Changes:

  • Rename examples\test_*.py files since they are detected by pytest as a tests.
  • Fix segfault with litelist after 0.22.0.2.

recordclass 22.0.2

  • Make releases on PyPI and gihub with identical content and the right tag.

recordclass 0.22.0.1

  • Fix regression with as_dataclass.

recordclass 0.22

Recordclass 0.22 started support of python 3.13.

Changlog:

  • Add a base class datastruct for subclasses that should behave more like simple datastructures.
  • Fix bug with __match_args__ (#6).

recordclass 0.21.1

What's new

  1. Allow to specify match_args. For example,
    class User(dataobject):
        first_name: str
        last_name: str
        age: int
        __match_args__ = 'first_name', 'last_name'

or

  `User = make_dataclass("User", "first_name last_name * age")`
  1. Add @​as_record adapter for def-style decalarations of dataclasses that are considered as just a struct. For example:
     @as_record()
     def Point(x:float, y:float, meta=None): pass
 >>> p = Point(1,2)
 >>> print(p)
 Point(x=1, y=2, meta=None)

It's almost equivalent to:

 ` Point = make_dataclass('Point', [('x':float), ('y',float),'meta'], (None,))`

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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)
dependabot[bot] commented 4 months ago

Superseded by #417.