feathr-ai/feathr

Add capability to enforce certain fields for feature definition

オープン

#264 opened on 2022/05/17

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Scala (244 件のフォーク)batch import
good first issue

Repository metrics

Stars
 (1,929 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

For project owners or administrators, they may want certain fields of anchor, key or features to be filled by their users(data scientists), like documentation fields for feature, key description field for key etc.

Project owners or admins should be able to set this in the project yaml config like the following:

required fields:
    features:
         feature_type
         feature_documentation
    keys:
        - key description

Relevant code can be found at build_feature(https://github.com/linkedin/feathr/blob/main/feathr_project/feathr/client.py#L214) or tthe logic can be enforced during corresponding object creation phase(https://github.com/linkedin/feathr/blob/main/feathr_project/feathr/feature.py).

コントリビューターガイド