Skip to content

Conversation

@bgfNGl35QpGme9mpx0f4b8yE3S
Copy link

@bgfNGl35QpGme9mpx0f4b8yE3S bgfNGl35QpGme9mpx0f4b8yE3S commented May 9, 2019

from core.rest_client import RestClient

class Hooks(RestClient):
def __init__(self, api_root_url, **kwargs):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

请参考16.110小节,去掉这个init方法,并把Hooks的初始化调用加入到Repos类的init方法中。

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

你还是没去掉,我帮你去掉了。

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

另外hooks的初始化调用别人加入到repos类中了,所以这个可以merge了

@zhangting85 zhangting85 changed the title 更新hooks接口封装文件 更新hooks接口封装文件-2019-5-10第一次评审待修改。 May 10, 2019
@zhangting85 zhangting85 merged commit a2581d7 into TestUpCommunity:integration_1 May 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants