8000 Field instantiated with wrong argument list · Issue #29 · core-api/python-openapi-codec · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Mar 18, 2019. It is now read-only.
This repository was archived by the owner on Mar 18, 2019. It is now read-only.
Field instantiated with wrong argument list #29
Closed
@danballance

Description

@danballance

I'm getting:

TypeError: new() got an unexpected keyword argument 'description'

In decode.py, ~line 56, there is:

field = Field(name=name, location=location, required=required, description=field_description)

However in this commit in coreapi.document the description field was removed I believe:

core-api/python-client@6dd8ede#diff-bda1bab8e301bc649ee7abf40303bf6d

Am I following the code correctly here? It loos like interfaces have drifted between package versions?

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

      0