M
madrigal
8a66860d33
All checks were successful
Build Sphinx Docs Set / Build Docs (pull_request) Successful in 15m51s
Build Project / Build Project (3.10) (pull_request) Successful in 16m14s
Build Project / Build Project (3.11) (pull_request) Successful in 17m9s
Build Project / Build Project (3.12) (pull_request) Successful in 2m29s
Test with tox / Test with tox (3.12) (pull_request) Successful in 21m28s
Test with tox / Test with tox (3.10) (pull_request) Successful in 22m50s
Test with tox / Test with tox (3.11) (pull_request) Successful in 23m18s
14 lines
407 B
Python
14 lines
407 B
Python
from dataclasses import dataclass
|
|
|
|
|
|
@dataclass
|
|
class DatasetLicense:
|
|
"""
|
|
Represents a dataset license.
|
|
"""
|
|
|
|
name: str #: The name or title of the license.
|
|
identifier: str | None #: SPDX short identifier, or None if one does not exist.
|
|
description: str #: A description of the license.
|
|
license: str #: Full license text or URL if the license is available online.
|