spdx_tools.spdx3.model.licensing.with_addition_operator
1# SPDX-FileCopyrightText: 2023 spdx contributors 2# 3# SPDX-License-Identifier: Apache-2.0 4from spdx_tools.common.typing.dataclass_with_properties import dataclass_with_properties 5from spdx_tools.common.typing.type_checks import check_types_and_set_values 6from spdx_tools.spdx3.model.licensing.any_license_info import AnyLicenseInfo 7from spdx_tools.spdx3.model.licensing.license import License 8from spdx_tools.spdx3.model.licensing.license_addition import LicenseAddition 9 10 11@dataclass_with_properties 12class WithAdditionOperator(AnyLicenseInfo): 13 subject_license: License 14 subject_addition: LicenseAddition 15 16 def __init__(self, subject_license: License, subject_addition: LicenseAddition): 17 check_types_and_set_values(self, locals())
@dataclass_with_properties
class
WithAdditionOperator12@dataclass_with_properties 13class WithAdditionOperator(AnyLicenseInfo): 14 subject_license: License 15 subject_addition: LicenseAddition 16 17 def __init__(self, subject_license: License, subject_addition: LicenseAddition): 18 check_types_and_set_values(self, locals())
WithAdditionOperator( subject_license: spdx_tools.spdx3.model.licensing.license.License, subject_addition: spdx_tools.spdx3.model.licensing.license_addition.LicenseAddition)
subject_license: spdx_tools.spdx3.model.licensing.license.License
subject_addition: spdx_tools.spdx3.model.licensing.license_addition.LicenseAddition