Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
281 B
2
Indexable
Never
@dataclass
class FeatureSource:
    table_name: str
    column_names_filter: List[str]
    exac_name: bool


@dataclass
class ExternalFeatures:
    external_feature_sources: List[FeatureSource]

    @classmethod
    def from_params(cls, params: Dict):
        return cls(**params)