-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(datasets): Dataset Preview Refactor (#504)
* test * done * change from _preview to preview * fix lint and tests * added docstrings * rtd fix * rtd fix * fix rtd Signed-off-by: rashidakanchwala <[email protected]> * fix rtd Signed-off-by: rashidakanchwala <[email protected]> * fix rtd - pls" Signed-off-by: rashidakanchwala <[email protected]> * add nitpick ignore Signed-off-by: rashidakanchwala <[email protected]> * test again Signed-off-by: rashidakanchwala <[email protected]> * move tracking datasets to constant Signed-off-by: rashidakanchwala <[email protected]> * remove comma Signed-off-by: rashidakanchwala <[email protected]> * remove Newtype from json_dataset" Signed-off-by: rashidakanchwala <[email protected]> * pls work Signed-off-by: rashidakanchwala <[email protected]> * confirm rtd works locally Signed-off-by: rashidakanchwala <[email protected]> * juanlu's fix Signed-off-by: rashidakanchwala <[email protected]> * fix tests Signed-off-by: rashidakanchwala <[email protected]> * remove unnecessary stuff from conf.py Signed-off-by: rashidakanchwala <[email protected]> * fixes based on review Signed-off-by: rashidakanchwala <[email protected]> * changes based on review Signed-off-by: rashidakanchwala <[email protected]> * fix tests Signed-off-by: rashidakanchwala <[email protected]> * add suffix Preview Signed-off-by: rashidakanchwala <[email protected]> * change img return type to bytes Signed-off-by: rashidakanchwala <[email protected]> * fix tests Signed-off-by: rashidakanchwala <[email protected]> * update release note * fix lint --------- Signed-off-by: rashidakanchwala <[email protected]> Co-authored-by: ravi-kumar-pilla <[email protected]> Co-authored-by: Sajid Alam <[email protected]>
- Loading branch information
1 parent
9ecbd27
commit 09409e3
Showing
17 changed files
with
173 additions
and
8 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,16 @@ | ||
""" | ||
`_typing.py` defines custom data types for Kedro-viz integration. It uses NewType from the typing module. | ||
These types are used to facilitate data rendering in the Kedro-viz front-end. | ||
""" | ||
|
||
from typing import NewType | ||
|
||
TablePreview = NewType("TablePreview", dict) | ||
ImagePreview = NewType("ImagePreview", bytes) | ||
PlotlyPreview = NewType("PlotlyPreview", dict) | ||
JSONPreview = NewType("JSONPreview", dict) | ||
|
||
|
||
# experiment tracking datasets types | ||
MetricsTrackingPreview = NewType("MetricsTrackingPreview", dict) | ||
JSONTrackingPreview = NewType("JSONTrackingPreview", dict) |
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
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
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
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