Kedro helps you build production-ready data and analytics pipelines
Overall
score
98%
A monitoring system that tracks and logs all dataset access operations (loads and saves) during pipeline execution.
Build a system that monitors dataset operations by:
Each log entry should be a dictionary containing:
dataset_name: Name of the dataset accessedoperation: Either "load" or "save"timestamp: ISO 8601 formatted timestamp string@generates
class DatasetAccessLogger:
"""Monitors and logs dataset access operations during pipeline execution."""
def get_log(self) -> list[dict]:
"""
Retrieve the complete access log.
Returns:
A list of dictionaries, each containing:
- dataset_name (str): Name of the dataset
- operation (str): Either "load" or "save"
- timestamp (str): ISO 8601 formatted timestamp
"""
passProvides the pipeline and dataset lifecycle hook system.
Install with Tessl CLI
npx tessl i tessl/pypi-kedro