Skip to content

Commit

Permalink
pydoc
Browse files Browse the repository at this point in the history
  • Loading branch information
ckuhtz committed Jul 16, 2024
1 parent 42c062e commit ab6ad91
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions api/tooling/check_env_vars.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,17 @@
from logging import Logger

def check_env_vars(logger: Logger) -> Dict:
'''
'''
"""
Checks if environment variables we care about are present.
If so, accept them.
If not, substitute a reasonable default.
Args:
logger (Logger): Provide a logging.Logger to use
Returns:
Dict: returns a dictionary of environment variables and their assigned values. NOT typesafe. Consumer is resonsible for typecasting as needed.
"""
vars = [
'REDIS_HOST',
'REDIS_PORT',
Expand Down

0 comments on commit ab6ad91

Please sign in to comment.