SIENTIAPDE-1243: Fix: Resolved mypy errors and added pandas stubs. Addressed type hinting issues and suppressed mypy warnings to improve code quality and maintainability.
This commit is contained in:
@@ -330,7 +330,7 @@ class MLFlow(BaseActivity):
|
||||
report['status'] = status
|
||||
|
||||
self.info(f'Production model {model_name} updated successfully', metadata)
|
||||
return report.to_dict()
|
||||
return report.to_dict() # type: ignore[no-any-return]
|
||||
|
||||
except Exception as e:
|
||||
trace = traceback.format_exc()
|
||||
|
||||
Reference in New Issue
Block a user