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

fixed issue when metadata key contains json #169

Merged
merged 2 commits into from
Oct 1, 2024
Merged

Conversation

epinzur
Copy link
Collaborator

@epinzur epinzur commented Sep 30, 2024

when using metadata keys with json, a missing-key issue appears here:

https://github.com/CassioML/cassio/blob/main/src/cassio/table/base_table.py#L543

because there is an invalid template from the json {} brackets.

This change escapes the brackets, allowing the template to populate without error.

Copy link
Collaborator

@hemidactylus hemidactylus left a comment

Choose a reason for hiding this comment

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

Well spotted! LGTM

@hemidactylus hemidactylus merged commit 282a713 into main Oct 1, 2024
4 checks passed
@hemidactylus hemidactylus deleted the metadata_escape branch October 1, 2024 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.

2 participants