SIENTIAPDE-1307: Implement metrics for training activities and workflow executions, tracking success/failure status.
This commit is contained in:
@@ -28,7 +28,12 @@ def mock_metrics_controller():
|
||||
async def mock_shutdown():
|
||||
pass
|
||||
|
||||
# Make emit an async coroutine
|
||||
async def mock_emit(*args, **kwargs):
|
||||
pass
|
||||
|
||||
controller.shutdown = mock_shutdown
|
||||
controller.emit = mock_emit
|
||||
return controller
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user