Skip to content

flatten_json() missing 1 required positional argument: 'json' #56

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

Open
ghost opened this issue Apr 28, 2020 · 0 comments
Open

flatten_json() missing 1 required positional argument: 'json' #56

ghost opened this issue Apr 28, 2020 · 0 comments

Comments

@ghost
Copy link

ghost commented Apr 28, 2020

I'm getting the error "flatten_json() missing 1 required positional argument: 'json'" when using it with one json argument like in the docs:

flatten_json(json)

Edit: It looks like the documentation should be updated, since now the code reads:

def flatten_json(
    form,
    json,
    parent_key='',
    separator='-',
    skip_unknown_keys=True
):
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

No branches or pull requests

0 participants