Skip to content
This repository was archived by the owner on Feb 11, 2026. It is now read-only.

Adjust UUID formatting for static data tables#6

Merged
kctruss merged 1 commit into
mainfrom
kctruss-static-data-uuid-formatting
Mar 30, 2023
Merged

Adjust UUID formatting for static data tables#6
kctruss merged 1 commit into
mainfrom
kctruss-static-data-uuid-formatting

Conversation

@kctruss
Copy link
Copy Markdown
Contributor

@kctruss kctruss commented Mar 29, 2023

Related Slack Thread

In the case where a table has neither an updated_at column nor a created_at column, the call to json.dumps() was missing a default arg, so the UUIDs are not returned as obj.hex which was interfering with joins to these tables.

In the case where a table has neither an updated_at column nor a created_at column, the call to json.dumps() was missing an argument that is included in the other cases.
@kctruss kctruss requested a review from jesset-truss March 29, 2023 21:59
Copy link
Copy Markdown
Contributor

@jesset-truss jesset-truss left a comment

Choose a reason for hiding this comment

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

Looks good and tested successfully!

@kctruss kctruss merged commit 0e3ff97 into main Mar 30, 2023
@kctruss kctruss deleted the kctruss-static-data-uuid-formatting branch March 30, 2023 15:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants