#NEWLINE# def _get_type_id_options( name , configuration ) : #NEWLINE# #INDENT# '\n    Returns the type, id and option of a configuration object.\n    ' #NEWLINE# if ( '.' in name ) : #NEWLINE# #INDENT# ( type_ , sep , id_ ) = name . partition ( '.' ) #NEWLINE# options = configuration #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# type_ = next ( six . iterkeys ( configuration ) ) #NEWLINE# id_ = name #NEWLINE# options = configuration [ type_ ] #NEWLINE# #UNINDENT# return ( type_ , id_ , options )