Skip to content

Commit

Permalink
Merge pull request #48 from felix5572/master
Browse files Browse the repository at this point in the history
fix bug in argument check; clean private info
  • Loading branch information
felix5572 committed Jun 10, 2021
2 parents 1925d30 + 2c4b418 commit 04f2ff5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions dpdispatcher/dpcloudserver/temp_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,8 @@ class DPTest(unittest.TestCase):
'job_resources': 'http://dpcloudserver.oss-cn-shenzhen.aliyuncs.com/dpcloudserver/indicate/a657ff49722839f1ee54edeb3e9b1beb0ee5cc0e/a657ff49722839f1ee54edeb3e9b1beb0ee5cc0e.zip'
}

# username = 'test'
# password = 'test1234!'

username = 'yfb222333'
password = 'yfb222333'
username = ''
password = ''

ENDPOINT = 'http://oss-cn-shenzhen.aliyuncs.com'
BUCKET_NAME = 'dpcloudserver'
Expand Down
2 changes: 1 addition & 1 deletion dpdispatcher/submission.py
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ def arginfo():
Argument("queue_name", str, optional=False, doc=doc_queue_name),
Argument("group_size", int, optional=False, doc=doc_group_size),

Argument("custom_flags", str, optional=True, doc=doc_custom_flags),
Argument("custom_flags", list, optional=True, doc=doc_custom_flags),
# Argument("strategy", dict, optional=True, doc=doc_strategy,default=default_strategy),
strategy_format,
Argument("para_deg", int, optional=True, doc=doc_para_deg, default=1),
Expand Down

0 comments on commit 04f2ff5

Please sign in to comment.