in src/monitor.py [0:0]
def get_stage(filename: str) -> str:
stage = 'DEV'
if os.path.exists(filename):
try:
with open(filename) as fobj:
stage = fobj.readline().strip()
except IOError:
print('cannot open', filename)
return stage