def open_prs(ctx): repo = get_repository_object(ctx, REGISTERY_REPOSITORY) prs = [pr for pr in repo.get_pulls()] return prs