Created
October 22, 2018 14:21
-
-
Save stfnhh/f8e6d03b4a6492ecac7f28a9b4825015 to your computer and use it in GitHub Desktop.
Check to see if code is running on AWS Lambda
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if os.environ.get("AWS_EXECUTION_ENV") is not None: | |
# Running on Lambda |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment