You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When specifying enum configurations, users have to specify the enum type twice: in both the default_value and enum_type parameters.
As explained in #283 (comment) , enum support uses enum_type for the annotations dictionary and uses type(parameter_metadata.default_value) when constructing enum values. This suggests that enum_type is superfluous when using the enum module (not protobuf enums).
Problem to Solve
When specifying enum configurations, users have to specify the enum type twice: in both the
default_value
andenum_type
parameters.As explained in #283 (comment) , enum support uses
enum_type
for the annotations dictionary and usestype(parameter_metadata.default_value)
when constructing enum values. This suggests thatenum_type
is superfluous when using theenum
module (not protobuf enums).Proposed Solution
Cc: @WesleyTangNationalInstruments
AB#2509907
The text was updated successfully, but these errors were encountered: