<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_dimensions(**kwargs):
 """ Returns a list of objects describing all the dimensions with all the units. """

    dimensions_list = db.DBSession.query(Dimension).options(load_only("id")).all()
    return_list = []
    for dimension in dimensions_list:
        return_list.append(get_dimension(dimension.id))


    return return_list