grpc_servicer
should use *args
to pass positional parameters
#335
Labels
tech debt
Non-user-visible improvement to code or development process
Tech Debt
The
MeasurementService.configuration_parameter
decorator describes positional parameters in order, butgrpc_servicer
usesinspect.signature
to look up the parameter names so that it can use**kwargs
to pass them:https://github.com/ni/measurementlink-python/blob/main/ni_measurementlink_service/_internal/grpc_servicer.py#L98
https://github.com/ni/measurementlink-python/blob/main/ni_measurementlink_service/_internal/grpc_servicer.py#L245
Passing positional parameters with
*args
would be simpler and have slightly lower overhead.AB#2457623
The text was updated successfully, but these errors were encountered: