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

Update Group Info. #536

Merged

Conversation

JohnMoutafis
Copy link
Contributor

@JohnMoutafis JohnMoutafis commented Mar 13, 2024

SDK to allow Group Info updating, using the v2 of the API.

@Shelnutt2 Shelnutt2 changed the title Update Group Metadata. Update Group Info. Mar 13, 2024
@JohnMoutafis JohnMoutafis marked this pull request as ready for review March 14, 2024 09:10
src/tiledb/cloud/groups.py Outdated Show resolved Hide resolved
src/tiledb/cloud/groups.py Show resolved Hide resolved
time.sleep(1)
self.fail(f"group {self.namespace}/{name} still exists")
description = "this is a test description"
logo = "testLogo"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Logo is expected to be a base64 encoded image. If you are looking for a test to validate it end to end perhaps we should hardcode an image value?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That would be better, although a string value would pass just the same

self.assertCountEqual(group_info.tags, tags)

# Cleanup
groups.deregister(group_uri)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should delete not just deregister so we cleanup storage too.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have just copied the "delete"/deregister from the existing test.
It has a TODO about that same issue.
Do we have a real delete method @Shelnutt2?

@ihnorton ihnorton requested review from thetorpedodog and removed request for thetorpedodog March 20, 2024 20:28
@JohnMoutafis JohnMoutafis merged commit 23389f8 into main Mar 26, 2024
17 checks passed
@JohnMoutafis JohnMoutafis deleted the johnmoutafis/add-update-info-to-tiledb-cloud-groups branch March 26, 2024 14:13
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.

None yet

3 participants