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).
When use
Element.spdxIdin Python code, the IDE/linter expectsspdxIdto be eitherstrorNone.But as cardinality of
spdxId(inElement) is 1..1, it should not be the case. It should expect onlystr.Not sure if it is anything to do with the fact that we treat
spdxIdas an alias of_id/@id(so the generation code may differ from other properties).