Example #1
0
def cities_id(id):
    """ modift """
    return do(City, id)
Example #2
0
def amenities():
    """ list or create """
    return do(Amenity)
Example #3
0
def amenities_id(id):
    """ modifyy """
    return do(Amenity, id)
Example #4
0
def reviews_id(id):
    """ modift """
    return do(Review, id, ("user_id", "place_id"))
Example #5
0
def users_id(id):
    """ modify """
    return do(User, id, ("email", ))
Example #6
0
def states_id(id):
    """ modify """
    return do(State, id)
Example #7
0
def states():
    """ list or create """
    return do(State)
Example #8
0
def places_id(id):
    """ modift """
    return do(Place, id, ("user_id", "city_id"))