Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get all tasks from pipeline project #1360

Open
versus666jzx opened this issue Dec 23, 2024 · 1 comment
Open

How to get all tasks from pipeline project #1360

versus666jzx opened this issue Dec 23, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@versus666jzx
Copy link

versus666jzx commented Dec 23, 2024

I create a pipeline through PipelineController and pipeline scheduler. All tasks from this pipeline automatically store in pipeline project with path as: {ProjectName}/.pipelines/{PipelineName} . This project path also displayed in pipeline task info.

If a try to get all tasks by this project path i've got warning:

clearml - WARNING - No projects were found with name(s): {ProjectName}/.pipelines/{PipelineName}

How i can get all tasks from this automatically created pipeline project path?

@versus666jzx versus666jzx added the bug Something isn't working label Dec 23, 2024
@shomratalon
Copy link

Hi @versus666jzx ,

Are you using Task.query_tasks for getting the tasks? If so, can you try using task_filter with "_allow_extra_fields_":True and "search_hidden": True?

from clearml import Task
t = Task.query_tasks(project_name="{ProjectName}/.pipelines/{PipelineName}", task_filter={"_allow_extra_fields_":True, "search_hidden": True})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants