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

Allow passing Python bools as attribute values. #172

Merged
merged 1 commit into from
Nov 15, 2022

Conversation

nk9
Copy link

@nk9 nk9 commented Nov 12, 2022

cognito_to_dict unpacks string "true" and "false" into Python booleans, but you presently have to pass strings into the reverse dict_to_cognito function. This patch serializes Python booleans as Cognito-friendly strings.

@pvizeli pvizeli merged commit a0435f7 into NabuCasa:master Nov 15, 2022
@nk9
Copy link
Author

nk9 commented Nov 17, 2022

Released in 2022.11.0

@nk9 nk9 deleted the bool-values branch November 17, 2022 18:35
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