Skip to content

Commit

Permalink
Default empty implementation for Backend.set_run_params()
Browse files Browse the repository at this point in the history
  • Loading branch information
rgerkin committed Jan 22, 2019
1 parent 785a6cb commit 99b811b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sciunit/models/backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ def set_attrs(self, **attrs):
"""Set model attributes on the backend."""
pass

def set_run_params(self, **attrs):
"""Set model attributes on the backend."""
pass

def backend_run(self):
"""Check for cached results; then run the model if needed."""
key = self.model.hash
Expand Down

0 comments on commit 99b811b

Please sign in to comment.