David Peter
083df0cf84
[red-knot] Support custom __getattr__ methods ( #16668 )
...
## Summary
Add support for calling custom `__getattr__` methods in case an
attribute is not otherwise found. This allows us to get rid of many
ecosystem false positives where we previously emitted errors when
accessing attributes on `argparse.Namespace`.
closes #16614
## Test Plan
* New Markdown tests
* Observed expected ecosystem changes (the changes for `arrow` also look
fine, since the `Arrow` class has a custom [`__getattr__`
here](1d70d00919/arrow/arrow.py (L802-L815) ))
2025-03-12 13:44:11 +01:00
..
2025-03-12 12:01:38 +05:30
2025-03-07 22:03:28 +01:00
2025-03-12 08:21:54 +01:00
2024-12-21 11:33:10 +01:00
2025-03-12 01:58:59 +00:00
2025-03-12 01:58:59 +00:00
2025-03-12 01:58:59 +00:00
2025-03-12 01:58:59 +00:00
2025-02-21 19:26:05 +01:00
2024-12-17 09:49:39 +05:30
2025-03-11 15:08:17 -04:00
2025-02-03 09:27:29 +00:00
2025-02-12 08:52:11 +01:00
2025-02-20 12:25:55 +00:00
2025-03-12 01:58:59 +00:00
2025-03-12 04:20:31 +00:00
2025-03-12 12:41:40 +00:00
2025-03-06 10:41:40 +01:00
2025-01-16 11:21:56 -08:00
2025-03-12 01:58:59 +00:00
2025-03-12 01:58:59 +00:00
2025-02-04 08:27:17 +01:00
2025-03-07 22:03:28 +01:00
2025-02-05 22:26:15 +01:00
2025-03-12 01:58:59 +00:00
2025-03-07 22:03:28 +01:00
2025-03-12 01:58:59 +00:00
2025-03-07 22:03:28 +01:00
2025-02-20 23:22:26 +01:00
2025-03-12 12:13:04 +00:00
2025-02-25 20:00:38 +01:00
2025-02-21 19:26:05 +01:00
2025-03-12 01:58:59 +00:00
2024-10-31 21:00:51 +00:00
2025-03-12 13:44:11 +01:00
2025-03-12 09:52:21 +01:00
2024-12-19 21:02:14 +00:00
2025-02-03 09:27:29 +00:00
2025-03-08 03:58:52 +00:00
2025-03-04 19:49:34 +00:00
2025-02-03 09:27:29 +00:00
2025-02-04 08:27:17 +01:00
2025-03-12 01:58:59 +00:00
2025-02-04 08:27:17 +01:00
2025-01-20 09:55:54 +01:00
2025-02-20 23:22:26 +01:00
2025-02-24 09:55:34 +01:00
2025-02-06 07:15:26 +00:00
2025-02-20 23:22:26 +01:00
2025-02-05 22:26:15 +01:00
2025-03-12 01:58:59 +00:00
2025-02-21 19:26:05 +01:00
2025-02-14 12:24:10 -08:00
2025-03-08 02:36:35 +00:00