Skip to content

Code in Chapter 2 Lesson 11 is not running. Gives TypeError of positional argument 'id'  #7

Description

@vaMuchenje

trace of error:

File "~/Desktop/padf/resources/recipe.py", line 23, in post
    directions = data['directions']
TypeError: __init__() missing 1 required positional argument: 'id'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions