#NEWLINE# def _create_index( conn , name , settings ) : #NEWLINE# #INDENT# '\n    Create index with the specific name and settings.\n\n    This function will ignore errors caused by the index already existing.\n    ' #NEWLINE# if conn . indices . exists ( index = name ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# conn . indices . create ( name , body = settings )