-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(api,shared-data): fix v10 command parsing (#16420)
We actually missed some stuff when adding command schema v10, and we missed it in part because it's all over the place. This commit instead removes some of the duplicative json protocol parsing alongside adding better support for v10 protocols: - Loosen the definition of commands in protocol_schema_v8, including entirely removing the weird half-measure all-optional param parsing, so you don't have to add new things there when you add a new command parameter kind - Improve the formatting of the errors raised by json protocols that aren't valid because they have bad command, labware, or liquid schema IDs (because those are the ones we actually parse in python) Closes EXEC-753
- Loading branch information
Showing
10 changed files
with
3,256 additions
and
194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.