def set_repo_permission(self, repo, permission):
assert isinstance(repo, github.Repository.Repository), repo<EOL>put_parameters = {<EOL>"<STR_LIT>": permission,<EOL>}<EOL>headers, data = self._requester.requestJsonAndCheck(<EOL>"<STR_LIT>",<EOL>self.url + "<STR_LIT>" + repo._identity,<EOL>input=put_parameters<EOL>)<EOL>
:calls: `PUT /teams/:id/repos/:org/:repo <http://developer.github.com/v3/orgs/teams>`_
:param repo: :class:`github.Repository.Repository`
:param permission: string
:rtype: None