Skip to content

Looks like spdxId does not have cardinality information #54

Description

@bact

When use Element.spdxId in Python code, the IDE/linter expects spdxId to be either str or None.

But as cardinality of spdxId (in Element) is 1..1, it should not be the case. It should expect only str.

Not sure if it is anything to do with the fact that we treat spdxId as an alias of _id/@id (so the generation code may differ from other properties).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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