#NEWLINE# def get_record( self , zone_id , record_id ) : #NEWLINE# #INDENT# '\n        Return a Record instance.\n\n        :param zone_id: ID of the required zone\n        :type  zone_id: ``str``\n\n        :param record_id: ID of the required record\n        :type  record_id: ``str``\n\n        :rtype: :class:`Record`\n        ' #NEWLINE# record = None #NEWLINE# zone = self . get_zone ( zone_id = zone_id ) #NEWLINE# records = self . list_records ( zone = zone ) #NEWLINE# for r in records : #NEWLINE# #INDENT# if ( r . id == record_id ) : #NEWLINE# #INDENT# record = r #NEWLINE# #UNINDENT# #UNINDENT# if ( record is None ) : #NEWLINE# #INDENT# raise RecordDoesNotExistError ( record_id = record_id , driver = self , value = '' ) #NEWLINE# #UNINDENT# return record