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

Ensure keys in configuration are always strings; fix configuration serialisation #8

Merged
merged 4 commits into from
Dec 9, 2021

Conversation

cortadocodes
Copy link
Member

@cortadocodes cortadocodes commented Dec 8, 2021

Contents (#8)

Fixes

  • Ensure keys in Configuration are always strings so its instances are directly JSON-compatible
  • Convert configurations to dictionaries before using as metadata to avoid JSON serialisation error

Testing

  • Fix deliberate exception raising in cloud upload tests

@cortadocodes cortadocodes linked an issue Dec 8, 2021 that may be closed by this pull request
5 tasks
@cortadocodes cortadocodes self-assigned this Dec 8, 2021
@cortadocodes cortadocodes linked an issue Dec 8, 2021 that may be closed by this pull request
@cortadocodes cortadocodes changed the title Ensure keys in configuration are always strings Ensure keys in configuration are always strings; fix configuration serialisation Dec 8, 2021
@cortadocodes cortadocodes added the bug Something isn't working label Dec 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeError while persisting to cloud Integer keys in the configuration file
1 participant