<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def on_get(resc, req, resp):
 """ Get the models identified by query parameters We return an empty list if no models are found. """


    signals.pre_req.send(resc.model)
    signals.pre_req_search.send(resc.model)

    models = goldman.sess.store.search(resc.rtype, **{
        'filters': req.filters,
        'pages': req.pages,
        'sorts': req.sorts,
    })

    props = to_rest_models(models, includes=req.includes)
    resp.serialize(props)

    signals.post_req.send(resc.model)
    signals.post_req_search.send(resc.model)