Closed angeldeejay closed 1 month ago
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.
When I'll be able to make a proper implementation, I will help.
I got the TypeError: Invalid data_columns type. Must be a dictionary or list
only on the last scheme u posted, the one that is a tuple.
your first schema that u put on your first example give me ValueError: not enough values to unpack (expected at least 2, got 1)
instead.
@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!
I'm closing this due I'm unable to make a merge request for this
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: