Skip to content

Commit c708c93

Browse files
[issue-426] update model: NamespaceMap
to a5e7cebcd2c7094f89fb7416be16803d67716402 Signed-off-by: Armin Tänzer <armin.taenzer@tngtech.com>
1 parent 7229633 commit c708c93

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ additional installation of optional dependencies
5050
* Serialize to JSON-LD
5151

5252
See [Quickstart to SPDX 3.0](#quickstart-to-spdx-30) below.
53-
The implementation is based on the descriptive markdown files in the repository https://github.com/spdx/spdx-3-model (latest commit: cb39f85bed80d432acd2c177fb6480efb8fc73ae).
53+
The implementation is based on the descriptive markdown files in the repository https://github.com/spdx/spdx-3-model (latest commit: a5e7cebcd2c7094f89fb7416be16803d67716402).
5454

5555

5656
# Installation

src/spdx_tools/spdx3/model/namespace_map.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
@dataclass_with_properties
1111
class NamespaceMap:
12-
prefix: Optional[str] = None
13-
namespace: Optional[str] = None # anyURI
12+
prefix: str
13+
namespace: str # anyURI
1414

15-
def __init__(self, prefix: Optional[str] = None, namespace: Optional[str] = None):
15+
def __init__(self, prefix: str, namespace: str):
1616
check_types_and_set_values(self, locals())

0 commit comments

Comments
 (0)