Last active
June 30, 2019 04:01
-
-
Save melvinkcx/2c637a5f80e59cb5102fb1c559ec791d to your computer and use it in GitHub Desktop.
Snippet for "Why Refactoring? How to Refactor/Restructure Python Package?" https://hackernoon.com/why-refactoring-how-to-restructure-python-package-51b89aa91987
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
""" | |
Package: utils.config.helpers | |
after restructuring | |
""" | |
def get_logging_level(): | |
# This is duplicate, removing this | |
pass | |
class ConfigHelper: | |
def get(self, config_name, default=None): | |
pass | |
def set(self, config_name, value): | |
pass | |
def _get_settings_helper(self): | |
pass | |
def get_logging_level(): | |
pass | |
def is_logging_enabled(): | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment