Skip to content

Commit

Permalink
Use model_name_suffix in _get_job_name() (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
drachenbach authored and andrewsmartin committed Aug 27, 2019
1 parent 810d7de commit cbaa6b8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions spotify_tensorflow/luigi/tensorflow_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,11 @@ def _get_job_args(self):
return args

def _get_job_name(self):
job_name = "%s_%s_%s" % (getpass.getuser(), self.__class__.__name__,
str(uuid.uuid4()).replace("-", "_"))
job_name = "%s_%s_%s_%s" % (
getpass.getuser(),
self.__class__.__name__,
self.model_name_suffix,
str(uuid.uuid4()).replace("-", "_"))
return job_name

def _get_input_args(self):
Expand Down

0 comments on commit cbaa6b8

Please # to comment.