Welcome to the Innovator Island serverless workshop! This repo contains all the instructions and code you need to complete the workshop.
564
stars
228
forks
source link
Step 3 - eval in Lambda function code #43
Closed
alexcasalboni closed 4 years ago
We're passing
HSV_LOWER
andHSV_UPPER
a python tuples.I think this is not something we'd want to recommend in production.
I can think of two better options:
[36, 100, 100]
instead of(36, 100, 100)
, then simplytuple(json.loads(os.environ["HSV_LOWER"]))