proud-dentist-22844
07/11/2021, 2:29 AM__import__()
on matching classes to extract a dictionary property from the class.
Here's the plugin
https://github.com/st2sandbox/st2/blob/pants/pylint_plugins/api_models.py#L49-L52
Example matching class's schema
property:
https://github.com/st2sandbox/st2/blob/pants/st2common/st2common/models/system/actionchain.py#L125-L149
Maybe astroid provides a way to get the dictionary?hundreds-father-404
07/11/2021, 3:28 AMproud-dentist-22844
07/11/2021, 6:51 AMproud-dentist-22844
07/11/2021, 9:23 AM__import__
is no longer needed. That resolved hundreds of big ugly errors.
Now there's just one error left for me to resolve, but this one is not caused by the pylint plugin. Hooray.proud-dentist-22844
07/11/2021, 9:23 AMhappy-kitchen-89482
07/12/2021, 4:44 AMproud-dentist-22844
07/12/2021, 2:17 PM