Skip to content
Snippets Groups Projects
Commit 6b366d16 authored by Timothe Jost's avatar Timothe Jost
Browse files

get default extra with None in get_run_callbacks

parent e71b342b
No related branches found
No related tags found
No related merge requests found
Pipeline #134043 passed
__version__ = "0.0.65" __version__ = "0.0.66"
from . import loggs from . import loggs
from .pipes import * from .pipes import *
......
...@@ -288,7 +288,11 @@ class BaseStep: ...@@ -288,7 +288,11 @@ class BaseStep:
return autoload_arguments(loggedmethod(self.generation_mechanism), self) return autoload_arguments(loggedmethod(self.generation_mechanism), self)
def get_run_callbacks(self): def get_run_callbacks(self):
def wrapper(session, extra="", show_plots=True): def wrapper(session, extra=None, show_plots=True):
if extra is None:
extra = self.get_default_extra()
logger = logging.getLogger("callback_runner") logger = logging.getLogger("callback_runner")
for callback_data in self.callbacks: for callback_data in self.callbacks:
arguments = {"session": session, "extra": extra, "pipeline": self.pipeline} arguments = {"session": session, "extra": extra, "pipeline": self.pipeline}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment