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

add Team.get_by_name & Dataset.get_remote_dataset_registry #763

Merged
merged 9 commits into from Jul 13, 2022

Conversation

jstriebel
Copy link
Contributor

@jstriebel jstriebel commented Jul 11, 2022

Description:

  • updates the generated client
  • adds Team.get_by_name()
  • adds Dataset.get_remote_datasets()
  • adds an example to the docs & tests

Issues:

Todos:

  • Updated Changelog
  • Updated Documentation
  • Added / Updated Tests
  • Considered adding this to the Examples

@jstriebel jstriebel self-assigned this Jul 11, 2022
@jstriebel jstriebel requested a review from normanrz July 12, 2022 12:40
@jstriebel
Copy link
Contributor Author

jstriebel commented Jul 12, 2022

@normanrz Thanks for the feedback! I adapted the API, it's now much simpler:

ds = wk.Dataset.get_remote_datasets(
    organization_id="scalable_minds"
)["l4dense_motta_et_al_demo"]

Omitting organization_id gives only the datasets of the current organization. Could you have another look?

@jstriebel jstriebel requested a review from normanrz July 12, 2022 15:05
@jstriebel jstriebel changed the title [WIP] add Team.get_by_name & Dataset.get_remote_dataset_registry add Team.get_by_name & Dataset.get_remote_dataset_registry Jul 13, 2022
@jstriebel jstriebel requested a review from normanrz July 13, 2022 11:12
@jstriebel jstriebel merged commit ff1f1c1 into master Jul 13, 2022
@jstriebel jstriebel deleted the team-by-name-remote-ds-registry branch July 13, 2022 13:03
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 this pull request may close these issues.

Create wk.Team by name Add a feature to list all uploaded datasets
2 participants