mafw.mafw_errors
Module defines MAFw exceptions
Exceptions
Exception raised during the execution of a processor requiring immediate exit. |
|
|
Issue raised when cyclic dependencies exist within processor groups. |
|
Issue raised when a processor declares duplicate replica identifiers. |
Error with the configuration of a processor |
|
|
Issue raised when a filter condition is incomplete or invalid. |
|
Issue raised when a filter logic expression is invalid. |
Exception raised when validating an invalid steering file |
|
Base class for MAFwException |
|
Exception raised when an attempt is made to execute a statement without a required parameter/attributes |
|
Exception raised when a processor requiring a database connection is being operated without a database |
|
UserWarning raised when an optional dependency is required |
|
Warning issued when the user did not overload a required method. |
|
Issue raised when the steering file does not declare |
|
Exception raised when a Trigger is created without any SQL statements. |
|
Warning issued when the user did not invoke the super method for some specific processor methods. |
|
Issue raised when the |
|
Exception raised when an error in a DB Model class occurs |
|
Exception raised when an error occurred during the configuration of a filename parser |
|
Exception raised when a regular expression parsing failed |
|
Exception raised when a plotter mixin has not properly initialized |
|
Error with a processor parameter |
|
Issue raised when |
|
Exception raised when attempting to run a not initialized Runner. |
|
Exception raised when the user provided an unknown db engine |
|
|
Issue raised when a group references an unknown processor or nested group. |
Exception raised when an attempt is made to create an unknown processor |
|
Exception raised when an attempt is made to create an unknown processor group |
|
Issue raised when a processor reference in |
|
Error raised when a feature is not supported by the database. |
|
|
Base class for steering validation issues. |
- exception mafw.mafw_errors.AbortProcessorException[source]
Bases:
MAFwExceptionException raised during the execution of a processor requiring immediate exit.
- exception mafw.mafw_errors.CyclicGroupIssue(node: str)[source]
Bases:
ValidationIssueIssue raised when cyclic dependencies exist within processor groups.
- exception mafw.mafw_errors.DuplicateReplicaIssue(base: str, replica: str)[source]
Bases:
ValidationIssueIssue raised when a processor declares duplicate replica identifiers.
- exception mafw.mafw_errors.InvalidConfigurationError[source]
Bases:
MAFwExceptionError with the configuration of a processor
- exception mafw.mafw_errors.InvalidFilterConditionIssue(processor: str, model: str, condition: str, *, field_name: str | None = None, reason: str | None = None)[source]
Bases:
ValidationIssueIssue raised when a filter condition is incomplete or invalid.
- exception mafw.mafw_errors.InvalidFilterLogicIssue(processor: str, target: str, *, detail: str | None = None)[source]
Bases:
ValidationIssueIssue raised when a filter logic expression is invalid.
- exception mafw.mafw_errors.InvalidSteeringFile[source]
Bases:
MAFwExceptionException raised when validating an invalid steering file
- exception mafw.mafw_errors.MissingAttribute[source]
Bases:
MAFwExceptionException raised when an attempt is made to execute a statement without a required parameter/attributes
- exception mafw.mafw_errors.MissingDatabase[source]
Bases:
MAFwExceptionException raised when a processor requiring a database connection is being operated without a database
- exception mafw.mafw_errors.MissingOptionalDependency[source]
Bases:
UserWarningUserWarning raised when an optional dependency is required
- exception mafw.mafw_errors.MissingOverloadedMethod[source]
Bases:
UserWarningWarning issued when the user did not overload a required method.
It is a warning and not an error because the execution framework might still work, but the results might be different from what is expected.
- exception mafw.mafw_errors.MissingProcessorsToRunIssue[source]
Bases:
ValidationIssueIssue raised when the steering file does not declare
processors_to_run.
- exception mafw.mafw_errors.MissingSQLStatement[source]
Bases:
MAFwExceptionException raised when a Trigger is created without any SQL statements.
- exception mafw.mafw_errors.MissingSuperCall[source]
Bases:
UserWarningWarning issued when the user did not invoke the super method for some specific processor methods.
Those methods (like
start()andfinish()) have not empty implementation also in the base class, meaning that if the user forgets to call super in their overloads, then the basic implementation will be gone.It is a warning and not an error because the execution framework might sill work, but the results might be different from what is expected.
- exception mafw.mafw_errors.MissingUserInterfaceSectionIssue[source]
Bases:
ValidationIssueIssue raised when the
UserInterfacesection is missing.
- exception mafw.mafw_errors.ModelError[source]
Bases:
MAFwExceptionException raised when an error in a DB Model class occurs
- exception mafw.mafw_errors.ParserConfigurationError[source]
Bases:
MAFwExceptionException raised when an error occurred during the configuration of a filename parser
- exception mafw.mafw_errors.ParsingError[source]
Bases:
MAFwExceptionException raised when a regular expression parsing failed
- exception mafw.mafw_errors.PlotterMixinNotInitialized[source]
Bases:
MAFwExceptionException raised when a plotter mixin has not properly initialized
- exception mafw.mafw_errors.ProcessorParameterError[source]
Bases:
MAFwExceptionError with a processor parameter
- exception mafw.mafw_errors.ProcessorsToRunNotListIssue[source]
Bases:
ValidationIssueIssue raised when
processors_to_runis not a list.
- exception mafw.mafw_errors.RunnerNotInitialized[source]
Bases:
MAFwExceptionException raised when attempting to run a not initialized Runner.
- exception mafw.mafw_errors.UnknownDBEngine[source]
Bases:
MAFwExceptionException raised when the user provided an unknown db engine
- exception mafw.mafw_errors.UnknownGroupMemberIssue(group: str, member: str)[source]
Bases:
ValidationIssueIssue raised when a group references an unknown processor or nested group.
- exception mafw.mafw_errors.UnknownProcessor[source]
Bases:
MAFwExceptionException raised when an attempt is made to create an unknown processor
- exception mafw.mafw_errors.UnknownProcessorGroup[source]
Bases:
MAFwExceptionException raised when an attempt is made to create an unknown processor group
- exception mafw.mafw_errors.UnknownProcessorsToRunEntryIssue(entry: str)[source]
Bases:
ValidationIssueIssue raised when a processor reference in
processors_to_runcannot be resolved.
- exception mafw.mafw_errors.UnsupportedDatabaseError[source]
Bases:
ExceptionError raised when a feature is not supported by the database.
- exception mafw.mafw_errors.ValidationIssue(message: str)[source]
Bases:
InvalidSteeringFileBase class for steering validation issues.