Skip to content

Relationships containing hyphens in url #130

@kumy

Description

@kumy

Having endpoint definition containing hyphens as the last uri token such as /persons/<int:person_id>/relationships/computers-owned lead to error PersonSchema has no attribute computers-owned.

Effectively, due to python language, Schema attribute name cannot contains hyphens in their name.

At least we have to replace '-' by '_'.

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