<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_waiting_keys(cls, names):
 """ Return a list of all queue waiting keys, to use with blpop """

        return [queue.waiting.key for queue in cls.get_all_by_priority(names)]