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

Eliminate `type_in_documentation` key in metadata

Open sbethur opened this issue 4 years ago • 1 comments

Description of issue

For attributes that have attribute_class key in metadata (e.g. AttributeViReal64TimeDeltaSeconds) and for method parameters that have python_api_converter_name key in metadata (e.g. convert_timedelta_to_seconds_real64), there is an additional key - type_in_documentation.

There is enough information in attribute_class and python_api_converter_name to figure out what the type in documentation should be. type_in_documentation is redundant and we can get rid of them.

This redundancy is especially bad for timedelta type given a large number of timedelta objects are used.

sbethur avatar May 17 '20 19:05 sbethur

This issue could be related to/obviated by an internal issue (1035406) in the component used to manage metadata.

sbethur avatar May 17 '20 20:05 sbethur