EvoTestOps / LogLead

LogLead stands for Log Loader, Enhancer, and Anomaly Detector.
MIT License
10 stars 3 forks source link

Raise `ImportError` when using parsers for which dependencies are not installed #16

Closed bakhtos closed 1 month ago

bakhtos commented 1 month ago

Since each parser in EventLogEnchancer is imported lazily only when the corresponding parse_ function is called, these functions should raise errors if they fail to import the parser because of its dependencies.

In the future, the error could say which optional dependencies to install (once this is an installable project).