-
Notifications
You must be signed in to change notification settings - Fork 996
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Refactor universal test data to have more well defined types (
#2340) * Refactor universal test suite to generate fixtures as dataclasses instead of loosely typed dictionaries Signed-off-by: Danny Chiao <danny@tecton.ai> * lint Signed-off-by: Danny Chiao <danny@tecton.ai> * lint Signed-off-by: Danny Chiao <danny@tecton.ai> * other lint Signed-off-by: Danny Chiao <danny@tecton.ai> * other lint Signed-off-by: Danny Chiao <danny@tecton.ai> * test fix Signed-off-by: Danny Chiao <danny@tecton.ai> * test fix Signed-off-by: Danny Chiao <danny@tecton.ai>
- Loading branch information
Showing
12 changed files
with
259 additions
and
211 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
from typing import Union | ||
|
||
from .entity import Entity | ||
from .feature_service import FeatureService | ||
from .feature_view import FeatureView | ||
from .on_demand_feature_view import OnDemandFeatureView | ||
from .request_feature_view import RequestFeatureView | ||
|
||
# Convenience type representing all Feast objects | ||
FeastObject = Union[ | ||
FeatureView, OnDemandFeatureView, RequestFeatureView, Entity, FeatureService | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.