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

fix: convert _LazyString to str #723

Merged
merged 1 commit into from
Jun 18, 2020
Merged

Conversation

dodumosu
Copy link
Collaborator

fixes nditech/apollo-issues#78 by converting _LazyString instances
(translated string references) to regular Python str instances before
passing to the flash() utility.

Unconverted _LazyString instances cannot be serialized to JSON, and
as such raise errors.

see: nditech/apollo-issues#78

fixes nditech/apollo-issues#78 by converting `_LazyString` instances
(translated string references) to regular Python `str` instances before
passing to the `flash()` utility.

Unconverted `_LazyString` instances cannot be serialized to JSON, and
as such raise errors.

see: nditech/apollo-issues#78
@dodumosu dodumosu requested a review from takinbo June 15, 2020 20:49
Copy link
Collaborator

@takinbo takinbo left a comment

Choose a reason for hiding this comment

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

utACK

@takinbo takinbo merged commit e4c179b into nditech:develop Jun 18, 2020
@dodumosu dodumosu deleted the fix-user-admin branch June 18, 2020 23:31
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