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

Create wk.Team by name #725

Closed
normanrz opened this issue May 7, 2022 · 1 comment · Fixed by #763
Closed

Create wk.Team by name #725

normanrz opened this issue May 7, 2022 · 1 comment · Fixed by #763
Assignees

Comments

@normanrz
Copy link
Member

normanrz commented May 7, 2022

I don't think the webKnossos UI exposes a team's "ID" somewhere. I think the name is unique per organization. So, perhaps we could use the name to instantiate a wk.Team object to specify in RemoteDataset.allowed_teams? The constructor could resolve the ID internally with the wk API.

@normanrz
Copy link
Member Author

normanrz commented May 9, 2022

Probably a static method Team.get_by_name (like Project.get_by_name) would be best.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants