def hiring_contests():
  contests_data = get_contests_data()
  active_contests = contests_data["active"]
  upcoming_contests = contests_data["pending"]
  get_challenge_name = lambda x : x.lower().split()
  hiring_challenges = [contest for contest in active_contests
    if "hiring" in get_challenge_name(contest["contest_name"])]
  hiring_challenges += [contest for contest in upcoming_contests
    if "hiring" in get_challenge_name(contest["contest_name"])]
  return hiring_challenges
Test that all handlers are returned for events with multiple handlers.
dataset/ETHPy150Open architv/chcli/challenges/cli.py/hiring_contests--crossover with--dataset/ETHPy150Open Nordeus/pushkin/pushkin/tests/request/test_event_handler_manager.py/test_handled_event_multiple_handlers