Message370865
Rereading the documentation, I see that a class attribute set to null will return a MagicMock for that attribute. That might be a reasonable workaround. Perhaps the more concrete solution would be that dir lists uninitialized class attributes and if a type hint is present the class attributes uses a spec of that type hint. |
|
Date |
User |
Action |
Args |
2020-06-07 02:01:08 | efagerberg | set | recipients:
+ efagerberg, xtreak |
2020-06-07 02:01:08 | efagerberg | set | messageid: <1591495268.77.0.269263800844.issue40864@roundup.psfhosted.org> |
2020-06-07 02:01:08 | efagerberg | link | issue40864 messages |
2020-06-07 02:01:08 | efagerberg | create | |
|