The subscription code parser won't realize that the API call is part of a comment. As a result, executor will try to subscribe to the device, which will throw an error if the device isn't connected.
Expected behavior
Executor should recognize this as part of a comment, and ignore it when parsing for subscription requests.
Observed Behavior
If
studentcode.py
has the following codeThe subscription code parser won't realize that the API call is part of a comment. As a result, executor will try to subscribe to the device, which will throw an error if the device isn't connected.
Expected behavior
Executor should recognize this as part of a comment, and ignore it when parsing for subscription requests.