added separate flush interval #13
@@ -27,7 +27,11 @@ def initialise_app(
|
|||||||
"""
|
"""
|
||||||
# load environment variables
|
# load environment variables
|
||||||
load_dotenv()
|
load_dotenv()
|
||||||
assert 'USER_ID' in os.environ, 'environment variable USER_ID must be specified'
|
assert (
|
||||||
|
'USER_ID' in os.environ
|
||||||
|
), (
|
||||||
|
'environment variable USER_ID must be specified'
|
||||||
|
)
|
||||||
logger_level = os.getenv(
|
logger_level = os.getenv(
|
||||||
'LOGGER_LEVEL',
|
'LOGGER_LEVEL',
|
||||||
default=LOGGER_LEVEL
|
default=LOGGER_LEVEL
|
||||||
|
|||||||
Reference in New Issue
Block a user