Created
May 11, 2023 18:44
-
-
Save abadger/43e8ea04bbbcddbccecfc7e2abbaab63 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some thoughts on the design of the framework: | |
We need to have separate returns for final results (SUCCESS, FAILURE, and SKIP) because there must be one and only one of those after run() finishes. | |
final result messages should be a list so that adding multiple messages to SUCCESS can be nicely formatted. | |
WARNING, and other things messages that can have multiple should be stored in a new list attribute on the Action class. | |
When evaluating logger.warning and logger.info, decide whether to set it as a SUCCESS messages or WARNING message. success messages will not be shown in convresion, only in analyze. warning messages will be shown in both. | |
add_result() should be renamed since we want results to be final results only. Maybe add_message()? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment