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

Use format=None to return raw Python data structure #232

Merged
merged 1 commit into from
Nov 17, 2024
Merged

Conversation

hugovk
Copy link
Owner

@hugovk hugovk commented Nov 16, 2024

Fixes #228.

For programmatic use, return the decoded JSON before turning it into a formatted string.

So there's no need to do something like parse a JSON string back into a Python data structure.

@hugovk hugovk added the changelog: Added For new features label Nov 16, 2024
@hugovk hugovk merged commit 186340a into main Nov 17, 2024
46 of 47 checks passed
@hugovk hugovk deleted the no-format branch November 17, 2024 19:57
@hugovk
Copy link
Owner Author

hugovk commented Nov 17, 2024

Released! Thanks for the suggestion and review! https://pypi.org/project/norwegianblue/0.20.0/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog: Added For new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add format "python" (or similar name)
2 participants