-
Notifications
You must be signed in to change notification settings - Fork 92
2019.7.4已评审,请修改后重新提交 #739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2019.7.4已评审,请修改后重新提交 #739
Conversation
api/repositories/collaborators.py
Outdated
| headlers = {'Accept':'application/vnd.github.hellcat-preview+json'} | ||
| return self.get('/repos/{}/{}/collaborators'.format(owner, repo), headlers=headlers, **kwargs) | ||
|
|
||
| def Check_if_a_user_is_a_collaborator(self,owner,repo,username,**kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
按照代码规范来,方法名首字母请改成小写字母
api/repositories/collaborators.py
Outdated
| def Review_a_user_permission_level(self,owner,repo,username,**kwargs): | ||
| """ | ||
| https://developer.github.com/v3/repos/collaborators/#review-a-users-permission-level | ||
| permission: admin, write, read, none |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
文档编写中的参数部分需要以:param开头,
例如:
def aaa(self,jjj,bbb):
"""
just a description
:param jjj: just a input
:param bbb: just another input
:return:
"""
pass
Integration 1
#166-#170