-
Notifications
You must be signed in to change notification settings - Fork 68
[AL-1777] Update to Resource Tag test code #545
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
Conversation
…th tag fetching. also updated resource creation code for better error messaging
Unsure if code has recently been pushed out to change this, but I can only see Organization.resourceTags, and not changing it to |
Hi! I believe if we revert a recent PR we pushed (for engineering) week, we can recover for now. https://github.com/Labelbox/intelligence/pull/8014 |
Just merged a revert which bring back the resourceTag endpoint. @jtsodapop lmk if anything else comes up |
Thank you!! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
if not all(params.values()): | ||
raise ValueError( | ||
f"tag must contain 'text' and 'color' keys. received: {tag}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
noice!
def test_update_project_resource_tags(client, rand_gen): | ||
|
||
def delete_tag(tag_id: str): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏽
update to test_project. still leaving as skip as there is an issue wIth tag fetching. also updated resource creation code for better error messaging