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
8dd8df3a
Commit
8dd8df3a
authored
Jun 18, 2020
by
Samuel GAIST
Browse files
[prototypes][database] Fixed setup method signature and content
parent
a0316662
Changes
1
Hide whitespace changes
Inline
Side-by-side
beat/core/prototypes/database.py
View file @
8dd8df3a
...
...
@@ -7,15 +7,15 @@ from beat.backend.python.database import View
class
FooView
(
View
):
def
setup
(
self
,
root_folder
,
outputs
,
parameters
,
force_start_index
=
None
,
force_end_index
=
None
,
self
,
root_folder
,
outputs
,
parameters
,
start_index
=
None
,
end_index
=
None
,
):
"""Initializes the database"""
# DO NOT REMOVE: this is required to setup the view internal state
super
().
setup
(
root_folder
,
outputs
,
parameters
,
start_index
,
end_index
)
# Add custom setup code here
return
True
def
index
(
self
,
root_folder
,
parameters
):
...
...
Write
Preview
Supports
Markdown
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