nimi-python icon indicating copy to clipboard operation
nimi-python copied to clipboard

Codegen only the attribute classes that are used

Open olsl21 opened this issue 3 years ago • 0 comments

Description of issue

Currently, the generator generates all the Attribute classes in _attributes.py.mako for all drivers even if some of them are not used. We should make the generator smarter so that only the Attribute classes that are used get generated.

Kindly refer to https://github.com/ni/nimi-python/pull/1738#discussion_r904141387 for more details.

olsl21 avatar Jun 23 '22 17:06 olsl21