Merged
Conversation
basfroman
approved these changes
Mar 25, 2026
Comment on lines
+116
to
+134
| class DEFAULTS: | ||
| config = False | ||
| strict = False | ||
| no_version_checking = False | ||
|
|
||
| class axon: | ||
| port = int(_BT_AXON_PORT) if _BT_AXON_PORT else 8091 | ||
| ip = os.getenv("BT_AXON_IP") or "[::]" | ||
| external_port = os.getenv("BT_AXON_EXTERNAL_PORT") or None | ||
| external_ip = os.getenv("BT_AXON_EXTERNAL_IP") or None | ||
| max_workers = int(_BT_AXON_MAX_WORKERS) if _BT_AXON_MAX_WORKERS else 10 | ||
|
|
||
| class logging: | ||
| debug = bool(os.getenv("BT_LOGGING_DEBUG")) or False | ||
| trace = bool(os.getenv("BT_LOGGING_TRACE")) or False | ||
| info = bool(os.getenv("BT_LOGGING_INFO")) or False | ||
| record_log = bool(os.getenv("BT_LOGGING_RECORD_LOG")) or False | ||
| logging_dir = ( | ||
| None |
Collaborator
There was a problem hiding this comment.
I understand that, in terms of the effort-to-result ratio, this is an excellent approach, but my eye is still twitching LOL
Contributor
Author
There was a problem hiding this comment.
I mean, this is what it looked like after being munchified. I would not have chosen this structure myself lol
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removes munch, a lib we barely used, and which hasn't been updated in years.