#NEWLINE# def get_sources( self , **params ) : #NEWLINE# #INDENT# 'Lists IMAP sources assigned for an account.\n\n        GET method for sources resource.\n\n        Documentation: http://context.io/docs/2.0/accounts/sources#get\n\n        Optional Arguments:\n            status: string - Only return sources whose status is of a specific\n                value. Possible statuses are: INVALID_CREDENTIALS,\n                CONNECTION_IMPOSSIBLE, NO_ACCESS_TO_ALL_MAIL, OK,\n                TEMP_DISABLED, and DISABLED\n            status_ok: integer - Set to 0 to get sources that are not working\n                correctly. Set to 1 to get those that are.\n\n        Returns:\n            A list of Source objects\n        ' #NEWLINE# all_args = [ 'status' , 'status_ok' ] #NEWLINE# params = helpers . sanitize_params ( params , all_args ) #NEWLINE# return [ Source ( self , obj ) for obj in self . _request_uri ( 'sources' , params = all_args ) ]