Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Communications Backbone System
backbone-message-format
Commits
dc1125db
Commit
dc1125db
authored
2 years ago
by
Trishna Saeharaseelan
Browse files
Options
Download
Email Patches
Plain Diff
fix: lint
parent
1abd6a3b
Pipeline
#108253
passed with stages
in 1 minute and 9 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
5 deletions
+16
-5
formats/acknowledgement.py
formats/acknowledgement.py
+8
-2
tests/fixtures/schemas.py
tests/fixtures/schemas.py
+8
-3
No files found.
formats/acknowledgement.py
View file @
dc1125db
...
...
@@ -23,8 +23,14 @@ acknowledgement_schema = {
},
"approved"
:
{
"type"
:
"boolean"
,
"description"
:
"Human-in-the-loop approval. 1 - Plan approved; 0 - Plan Rejected"
,
"description"
:
"Human-in-the-loop approval."
+
"1 - Plan approved; 0 - Plan Rejected"
,
},
},
"required"
:
[
"message_type"
,
"autonomy_engine_plan_ID"
,
"platform_ID"
,
"approved"
],
"required"
:
[
"message_type"
,
"autonomy_engine_plan_ID"
,
"platform_ID"
,
"approved"
,
],
}
This diff is collapsed.
Click to expand it.
tests/fixtures/schemas.py
View file @
dc1125db
...
...
@@ -69,14 +69,19 @@ acknowledgement_schema = {
},
"approved"
:
{
"type"
:
"boolean"
,
"description"
:
"Human-in-the-loop approval. 1 - Plan approved; 0 - Plan Rejected"
,
"description"
:
"Human-in-the-loop approval. "
+
"1 - Plan approved; 0 - Plan Rejected"
,
},
},
"required"
:
[
"message_type"
,
"autonomy_engine_plan_ID"
,
"platform_ID"
,
"approved"
],
"required"
:
[
"message_type"
,
"autonomy_engine_plan_ID"
,
"platform_ID"
,
"approved"
,
],
}
action_schema
=
{
"type"
:
"object"
,
"properties"
:
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment