spdx_tools.spdx.model.spdx_no_assertion

 1# SPDX-FileCopyrightText: 2022 spdx contributors
 2#
 3# SPDX-License-Identifier: Apache-2.0
 4
 5SPDX_NO_ASSERTION_STRING = "NOASSERTION"
 6
 7
 8class SpdxNoAssertion:
 9    """
10    Represents the SPDX NOASSERTION value.
11    """
12
13    def __str__(self):
14        return SPDX_NO_ASSERTION_STRING
15
16    def __repr__(self):
17        return SPDX_NO_ASSERTION_STRING
18
19    def __eq__(self, other):
20        return isinstance(other, SpdxNoAssertion)
SPDX_NO_ASSERTION_STRING = 'NOASSERTION'
class SpdxNoAssertion:
 9class SpdxNoAssertion:
10    """
11    Represents the SPDX NOASSERTION value.
12    """
13
14    def __str__(self):
15        return SPDX_NO_ASSERTION_STRING
16
17    def __repr__(self):
18        return SPDX_NO_ASSERTION_STRING
19
20    def __eq__(self, other):
21        return isinstance(other, SpdxNoAssertion)

Represents the SPDX NOASSERTION value.