Skip to content

Commit

Permalink
Merge pull request #358 from irontable/develop
Browse files Browse the repository at this point in the history
do not send empty dependencies for a job to server in Python client
  • Loading branch information
irontablee authored Aug 18, 2016
2 parents bb70c2f + 103d03c commit 5975a12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion genie-client/src/main/python/pygenie/adapter/genie_3.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def construct_base_payload(job):
'clusterCriterias': [i for i in clusters if i.get('tags')],
'commandArgs': job.get('command_arguments') or job.cmd_args,
'commandCriteria': job.get('command_tags') or job.default_command_tags,
'dependencies': dependencies,
'dependencies': [d for d in dependencies if d not in {'', None}],
'description': description,
'disableLogArchival': not job.get('archive'),
'email': job.get('email'),
Expand Down
2 changes: 1 addition & 1 deletion genie-client/src/main/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

setup(
name='nflx-genie-client',
version='3.0.27',
version='3.0.28',
author='Netflix Inc.',
author_email='genieoss@googlegroups.com',
keywords='genie hadoop cloud netflix client bigdata presto',
Expand Down

0 comments on commit 5975a12

Please sign in to comment.