<s> from . util import normalize_dates <EOL> from . import InstanceResource , ListResource <EOL> class Notification ( InstanceResource ) : <EOL> def delete ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . delete_instance ( ) <EOL> class Notifications ( ListResource ) : <EOL> name = "<STR_LIT>" <EOL> instance = Notification <EOL> @ normalize_dates <EOL> def list ( self , before = None , after = None , ** kwargs ) : <EOL> """<STR_LIT>""" <EOL> kwargs [ "<STR_LIT>" ] = before <EOL> kwargs [ "<STR_LIT>" ] = after <EOL> return self . get_instances ( kwargs ) <EOL> def delete ( self , sid ) : <EOL> """<STR_LIT>""" <EOL> return self . delete_instance ( sid ) </s>
