Skip to content

Validate that ITEM and ITEMLIST elements have a 'name' attribute. #15

@chahuistle

Description

@chahuistle

If a CTD with a missing required attribute is parsed, one gets the following cryptic error:

add() takes exactly 2 arguments (1 given)

Tracing this back, it's because of the following invocation:

base.add(**setup)

when the setup dictionary is missing the name key.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions