SIENTIAPDE-1273
Refactor Drift class to improve target name handling - Extracted target name from model configuration in the Drift class for better clarity and maintainability. - Updated test cases to reflect changes in input data structure, ensuring consistency in target name retrieval.
This commit is contained in:
@@ -34,7 +34,7 @@ async def test_run(workflow_mock: AsyncMock, drift: Drift):
|
||||
'source_table_name': 'test_source_table',
|
||||
'target_table_name': 'test_target_table',
|
||||
'interval': 60,
|
||||
'target_name': 'test_target',
|
||||
'model_config': {'target': 'test_target'},
|
||||
'drift_metrics': ['psi', 'ks'],
|
||||
'chunk_period': 'hour',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user