2.2.5
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