How to get the projects

Hi, I do have a project in my workspace and I would like to obtain a reference to it using the API. But the project and projects method seems not to work as I would expect. For example api.projects() will return an empty list of objects even if projects do exists.

Hi @davideseddio thanks for writing in! Could you try to pass in your entity (username or team name) as argument as follows:

api = wandb.Api()
projects=api.projects(entity='your-entity')
for p in projects:
    print(p.name)

Would this work for you?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.