Skip to content
GitLab
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
b08d4150
Commit
b08d4150
authored
Nov 20, 2018
by
Samuel GAIST
Browse files
[execution][base] Fix missing argument for database cache update method
parent
37c71863
Changes
1
Hide whitespace changes
Inline
Side-by-side
beat/core/execution/base.py
View file @
b08d4150
...
...
@@ -239,10 +239,10 @@ class BaseExecutor(object):
return
# Load the databases (if any is required)
self
.
_update_db_cache
(
self
.
data
[
'inputs'
],
database
_cache
)
self
.
_update_db_cache
(
self
.
data
[
'inputs'
],
custom_root_folders
,
database_cache
,
dataformat
_cache
)
if
'loop'
in
self
.
data
:
self
.
_update_db_cache
(
self
.
data
[
'loop'
][
'inputs'
],
database
_cache
)
self
.
_update_db_cache
(
self
.
data
[
'loop'
][
'inputs'
],
custom_root_folders
,
database_cache
,
dataformat
_cache
)
def
__enter__
(
self
):
...
...
@@ -275,7 +275,7 @@ class BaseExecutor(object):
self
.
data_sinks
=
[]
def
_update_db_cache
(
self
,
inputs
,
database
_cache
):
def
_update_db_cache
(
self
,
inputs
,
custom_root_folders
,
database_cache
,
dataformat
_cache
):
""" Update the database cache based on the input list given"""
for
name
,
details
in
inputs
.
items
():
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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