from typing import Optional
import tdw_catalog.metadata.organization_member as organization_member
from tdw_catalog.organization_member import OrganizationMember
import tdw_catalog.metadata.field as field
[docs]class Field(field.RecommendedMetadataField[OrganizationMember],
organization_member.Field):
"""
Primary person who manages the data license
Attributes
----------
None
"""
def __init__(self, key: str, value: Optional[OrganizationMember]) -> None:
super().__init__(key, value)
def serialize(self) -> dict:
res = super().serialize()
res["recommended_type"] = "poc"
return res