Skip to content

get_resource_tags and create_project_resource_tags #430

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

Merged
merged 8 commits into from
Feb 22, 2022

Conversation

manibox
Copy link
Contributor

@manibox manibox commented Feb 9, 2022

This PR adds two calls to our SDK,

  • get_resource_tags which returns a list of resource tags for the organization
  • create_project_resource_tags(tag_ids = []): to create/associate resource tags to projects

TDD: https://docs.google.com/document/d/1r60QC3Ch_zu3UPEEMVF9R0la4OQlelmQngfhIPMIPEo/edit#heading=h.ql1qz79ruc9v
Jira
https://labelbox.atlassian.net/jira/software/c/projects/ORCH/boards/52?modal=detail&selectedIssue=ORCH-835

Screen.Recording.2022-02-09.at.3.08.39.PM.mov

@manibox manibox requested a review from lnash4 February 9, 2022 23:13
@msokoloff1
Copy link
Contributor

msokoloff1 commented Feb 9, 2022

You need to install the pre-commit hooks to format the files (that is why the build is failing). Also you mind adding a couple of tests? Overall looks good!

@manibox manibox force-pushed the mani/resource-tags branch from fad0ea7 to 09899b7 Compare February 9, 2022 23:23
@cssetian
Copy link
Contributor

cssetian commented Feb 10, 2022

Also you mind adding a couple of tests?

+1 let's have end to end tests here for each schema + change that assert both success cases and expected failure cases

@manibox manibox force-pushed the mani/resource-tags branch 2 times, most recently from 6eba2a3 to dd3f24f Compare February 11, 2022 22:03
@manibox manibox requested a review from msokoloff1 February 11, 2022 22:04
@manibox manibox force-pushed the mani/resource-tags branch 3 times, most recently from f42102a to a3fc815 Compare February 16, 2022 17:53
@manibox manibox requested a review from msokoloff1 February 21, 2022 21:58
@manibox
Copy link
Contributor Author

manibox commented Feb 21, 2022

@jtsodapop could you take a look at this

@manibox manibox requested a review from jtsodapop February 21, 2022 23:20
@manibox manibox merged commit bacd372 into develop Feb 22, 2022
@jtsodapop jtsodapop deleted the mani/resource-tags branch June 9, 2022 20:26
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.

4 participants