from typing import Optional
from tdw_catalog.team import Team
import tdw_catalog.metadata.organization_team as organization_team
import tdw_catalog.metadata.field as field
[docs]class Field(
field.RecommendedMetadataField[Team],
organization_team.Field,
):
"""
Team or department that owns the data license
Attributes
----------
None
"""
def __init__(self, key: str, value: Optional[Team]) -> None:
super().__init__(key, value)
def serialize(self) -> dict:
res = super().serialize()
res["recommended_type"] = "contractOwner"
return res