Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
beat
beat.core
Commits
b07c7620
Commit
b07c7620
authored
Jan 30, 2018
by
Philip ABBET
Browse files
Update algorithms-related prototypes and schemas
parent
4641af4e
Changes
3
Hide whitespace changes
Inline
Side-by-side
beat/core/prototypes/algorithm.json
View file @
b07c7620
{
"language"
:
"unknown"
,
"api_version"
:
2
,
"type"
:
"sequential"
,
"splittable"
:
false
,
"groups"
:
[
{
...
...
beat/core/prototypes/algorithm.py
View file @
b07c7620
class
Algorithm
:
def
process
(
self
,
inputs
,
outputs
):
def
process
(
self
,
inputs
,
data_loaders
,
outputs
):
# TODO: Implement this algorithm
...
...
beat/core/schema/algorithm/1.json
View file @
b07c7620
...
...
@@ -145,8 +145,9 @@
"parameters"
:
{
"$ref"
:
"#/definitions/parameters"
},
"splittable"
:
{
"type"
:
"boolean"
},
"uses"
:
{
"$ref"
:
"../common/1.json#/definitions/uses"
},
"schema_version"
:
{
"$ref"
:
"../common/1.json#/definitions/version"
}
"schema_version"
:
{
"$ref"
:
"../common/1.json#/definitions/version"
},
"api_version"
:
{
"$ref"
:
"../common/1.json#/definitions/version"
},
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"legacy"
,
"sequential"
,
"autonomous"
]
}
},
"required"
:
[
...
...
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