fix type annotation
@@ -6,5 +6,5 @@ from share.models.core import NormalizedData
class MetadataFormatter(ABC):
@abstractmethod
- def format(self, normalized_data: NormalizedData) -> Optional(str):
+ def format(self, normalized_data: NormalizedData) -> Optional[str]:
raise NotImplementedError
