Source code for opendrift.models.openoil.adios.models.common.label
from dataclasses import dataclass, field
from ..common.utilities import dataclass_to_json
[docs]@dataclass_to_json
@dataclass
class Label:
'''
So Labels will be a collection terms that the user can use to
narrow down the list of oils he/she is interested in.
'''
name: str
product_type: list = field(default_factory=list)