<s> from __future__ import unicode_literals <EOL> from . . messages import IssueEvent <EOL> from . . requests import IssueEventResponse <EOL> from . . requests import IssueEventListResponse <EOL> class IssuesEvents : <EOL> def __init__ ( self , client ) : <EOL> self . client = client <EOL> def list ( self , repo , issue_id = None , user = None ) : <EOL> '<STR_LIT>' % ( self . client . user ( user ) , repo ) <EOL> if issue_id : <EOL> url = '<STR_LIT>' % ( <EOL> self . client . user ( user ) , repo , issue_id ) <EOL> return self . client . get ( url , msg_type = IssueEventListResponse ) <EOL> def get ( self , repo , id , user = None ) : <EOL> return self . client . get ( '<STR_LIT>' % ( <EOL> self . client . user ( user ) , repo , id ) , msg_type = IssueEventResponse ) </s>
