#NEWLINE# def update( self , service_id , repo_slug = None , **kwargs ) : #NEWLINE# #INDENT# ' Update a service (hook) from one of your repositories.\n        ' #NEWLINE# repo_slug = ( repo_slug or self . bitbucket . repo_slug or '' ) #NEWLINE# url = self . bitbucket . url ( 'UPDATE_SERVICE' , username = self . bitbucket . username , repo_slug = repo_slug , service_id = service_id ) #NEWLINE# return self . bitbucket . dispatch ( 'PUT' , url , auth = self . bitbucket . auth , ** kwargs )