def get_or_create_project(group, project_label):
    """Return a project if it exists, if not create it.

    Args:
        group (flywheel.models.group.Group): The group the project is/should be in
        project_label (str): The label of the project

    Returns:
        project (flywheel.models.project.Project): The new or existing project
    """

    print(f"Looking for prject.label {project_label}")
    projects = group.projects.find(f"label={project_label}")
    if len(projects) > 0:
        print(f"Found it.")
        project = projects[0]
        print(f"project.label {project.label}")
        print(f"project.id {project.id}")
    else:
        print("Project not found - Creating it.")
        project = group.add_project(label=f"{project_label}")
        print(f"project.label {project.label}")
        print(f"project.id {project.id}")
    return project