Skip to content
Snippets Groups Projects
Commit 59a88bab authored by David Huss's avatar David Huss :speech_balloon:
Browse files

Try read_settings()

parent 0957fc7a
No related branches found
No related tags found
No related merge requests found
__version__ = '0.1.1' __version__ = '0.1.2'
from common_config.common import * from common_config.common import *
\ No newline at end of file
...@@ -12,6 +12,11 @@ APPLICATION_NAME = "" ...@@ -12,6 +12,11 @@ APPLICATION_NAME = ""
SUFFIX = "" SUFFIX = ""
DEFAULT_CONFIG = "" DEFAULT_CONFIG = ""
def read_settings(APPLICATION_NAME, SUFFIX, DEFAULT_CONFIG):
common_config.common.APPLICATION_NAME = APPLICATION_NAME
common_config.common.SUFFIX = SUFFIX
common_config.common.DEFAULT_CONFIG = DEFAULT_CONFIG
def this_or_else(this: Optional[str], other: str) -> str: def this_or_else(this: Optional[str], other: str) -> str:
""" """
......
[tool.poetry] [tool.poetry]
name = "common-config" name = "common-config"
version = "0.1.1" version = "0.1.2"
description = "A config library for eigenservice" description = "A config library for eigenservice"
authors = ["David Huss <dh@atoav.com>"] authors = ["David Huss <dh@atoav.com>"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment