from abc import ABC, abstractmethod
[docs]class HoconConvertible(ABC):
"""Represent classes that can convert into Feathr HOCON config.
"""
[docs] @abstractmethod
def to_feature_config(self) -> str:
"""Convert the feature anchor definition into internal HOCON format. (For internal use ony)"""
pass