def worker_get_all(context, **filters):
 query = _worker_query(context, **filters)
 return (query.all() if query else [])

def worker_get_all ( context , ** filters ) : query = _worker_query ( context , ** filters ) return ( query . all ( ) if query else [ ] )
get all workers that match given criteria .