Files
jedi/test
Alex Ford 40e1e3f560 Extend dataclass constructor hinting to attrs next-gen apis.
Trivially extends dataclass constructor hinting to attrs next-gen APIs.

This will stumble in cases where attrs extends beyond the standard
dataclasses API, such as complex use of defaults, converters, et al.
However, it likely covers the vast majority of cases which fall solidly
in the intersection of the two APIs.

Extension beyond these cases could use [PEP0681 dataclass_transforms],
however this is definitely a problem for another day.

[PEP0681 dataclass_transforms]: https://peps.python.org/pep-0681/

https://github.com/davidhalter/jedi/issues/1835
2022-10-11 17:40:31 -07:00
..
2022-04-14 04:02:20 +08:00
2021-01-02 12:14:28 +01:00
2021-01-01 03:18:49 +01:00
2012-04-12 15:47:33 +02:00
2021-01-14 01:35:18 +01:00
2020-12-26 04:16:32 +01:00
2013-08-17 23:40:00 +04:30
2020-07-02 03:34:44 +02:00