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).

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

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions