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
JSON from misc provider not working properly #2002
Comments
Thank you for the report! Feel free to submit a Pull Request! |
When I'll be able to make a proper implementation, I will help. |
I got the your first schema that u put on your first example give me |
@LeonardoFurtado Keep in mind that my original post is two months ago. Maybe we are not using exactly the same version of faker. However, I will consider both problems when I'm able to develop a proper solution. Please feel free to open another issue and reference this, or leave here your entire trace to help you. Thank you! |
Miscellaneous method
json
seems to not work properly with list of tuples values when there are nested elements when using data columns list formatSteps to reproduce
Run a python code like this
Expected behavior
Function should return something like this:
Actual behavior
Fails abruptly with the a stack trace like this:
I actually make it works by creating my own provider copying the code of the library and changing this nested function:
And changing my scheme to:
The text was updated successfully, but these errors were encountered: