mirror of
https://github.com/Hestia-Homes/survey-extraction.git
synced 2026-06-08 11:17:29 +00:00
make it basic
This commit is contained in:
parent
75b0c13a39
commit
11ae8d605c
1 changed files with 2 additions and 2 deletions
|
|
@ -1,14 +1,14 @@
|
|||
"""
|
||||
A quick example of lambda working a function in python
|
||||
"""
|
||||
from etl.read_stuff_from_s3_example import print_hello_from_etl_module
|
||||
# from etl.read_stuff_from_s3_example import print_hello_from_etl_module
|
||||
|
||||
def handler(event, context):
|
||||
print("Outside try statment")
|
||||
try:
|
||||
print("show me something.. anything...")
|
||||
s3_uri = event.get("file_location")
|
||||
print_hello_from_etl_module()
|
||||
# print_hello_from_etl_module()
|
||||
if not s3_uri:
|
||||
return {
|
||||
"statusCode": 400,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue