Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Restrict type inference of dataclass attributes. (#1130) | David Liu | 2021-08-16 | 1 | -0/+60 |
| | | | | | | | | | | For now, from the typing module only generic collection types are inferred: Dict, FrozenSet, List, Set, Tuple. Astroid proxies these to the built-in collection types (e.g., dict). Other type annotations from typing like Callable and Union yield Uninferable; these would need to be handled on a case by case basis. Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Add inference tips for dataclass attributes (#1126) | David Liu | 2021-08-16 | 1 | -0/+237 |
* Add inference tips for dataclass attributes Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> |