Skip to content

2.2.5

Compare
Choose a tag to compare
@Lancetnik Lancetnik released this 14 Dec 17:27
· 76 commits to main since this release
9270d65

What's Changed

New CustomField syntax to support classes injection:

class Header(CustomField):
    def use(
        self,
        /,  # <- new thing
        **kwargs
    ):
        kwargs = super().use(**kwargs)
        kwargs[self.param_name] = kwargs["headers"][self.param_name]
        return kwargs
  • docs: fix typo by @Lancetnik in #36
  • fix: support custom fields for classes injection by @Lancetnik in #39
  • chore: drop python3.7 support

Full Changelog: 2.2.4...2.2.5