Skip to content

add custom dict camelize logic #246

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

add custom dict camelize logic #246

wants to merge 2 commits into from

Conversation

DaltheCow
Copy link
Collaborator

@DaltheCow DaltheCow commented Jul 28, 2025

This removes reliance on the library pyhumps converting dicts keys from snake_case to camelCase for use in the UI

@DaltheCow DaltheCow added the UI Front-end workstream label Jul 28, 2025
Copy link

github-actions bot commented Jul 28, 2025

🎉 Live Preview: Click here to view the live version
Last updated: 2521a43

github-actions bot pushed a commit that referenced this pull request Jul 28, 2025
Signed-off-by: dalthecow <[email protected]>
github-actions bot pushed a commit that referenced this pull request Jul 28, 2025

for key_pair in updated_key_pairs:
old_key, updated_key = key_pair
d[updated_key] = d[old_key]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Small nit. Might want to throw an exception here in the case that updated_key already exists. Could save a bunch of debugging time later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UI Front-end workstream
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants