When utilizing protocols.start_protocol or make_protocol_arguments directly, an error is thrown during the execution of the function when argsis set to None. To enhance the robustness of the code, a simple solution would be to incorporate a conditional check to verify if args is None before proceeding with the extension of protocol arguments.
When utilizing
protocols.start_protocol
ormake_protocol_arguments
directly, an error is thrown during the execution of the function whenargs
is set toNone
. To enhance the robustness of the code, a simple solution would be to incorporate a conditional check to verify if args isNone
before proceeding with the extension of protocol arguments.Best regards, Christopher