Changes between Version 2 and Version 3 of Ticket #35641
- Timestamp:
- Jul 30, 2024, 3:49:49 AM (5 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35641 – Description
v2 v3 28 28 }}} 29 29 30 Since __match_args__ must be a tuple, the attribute must be generated inside a metaclass.31 32 ~~{{{#!python33 @property34 def __match_args__(self) -> tuple[str, ...]:35 return tuple(f.name for f in self._meta.get_fields())36 }}}~~37 38 30 Happy to create a PR if this is interesting.