Submitting to an evaluation queue can't accept team as int

Description

Should use id_of to evaluate the team parameter:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 syn.submit( evaluation = 9614075, entity = "syn17022215", name = "Phil Test Submission", team = 3379851) --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-8-8eaa31914537> in <module> 3 entity = "syn17022215", 4 name = "Phil Test Submission 2", ----> 5 team = 3379851) ~/miniconda3/lib/python3.6/site-packages/synapseclient/client.py in submit(self, evaluation, entity, name, team, silent, submitterAlias, teamName) 2322 # see http://docs.synapse.org/rest/GET/evaluation/evalId/team/id/submissionEligibility.html 2323 eligibility = self.restGET('/evaluation/{evalId}/team/{id}/submissionEligibility' -> 2324 .format(evalId=evaluation_id, id=team.id)) 2325 2326 # Check team eligibility and raise an exception if not eligible AttributeError: 'int' object has no attribute 'id'

Environment

None

Status

Assignee

Kimyen Truong

Reporter

Phil Snyder

Labels

Validator

Phil Snyder

Release Version History

None

Sprint

None

Fix versions

Affects versions

py-1.9.0

Priority

Major
Configure