"""Lambda shared module.""" import json import logging import config logger = logging.getLogger(config.APPLICATION_NAME) def say_hello(): """Generate high SLA Orchard greeting and logs it.""" logger.info('Hello, world!') def parse_spec_file(json_key): """Read json from spec file.""" json_schema = {} with open('spec/' + json_key + '_document.json') as f: json_schema[json_key] = json.load(f) return json_schema[json_key]