mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +00:00
added missing find my epc module
This commit is contained in:
parent
65e2cda83b
commit
ad00165510
2 changed files with 3 additions and 0 deletions
|
|
@ -422,6 +422,8 @@ router = APIRouter(
|
||||||
|
|
||||||
@router.post("/trigger")
|
@router.post("/trigger")
|
||||||
async def trigger_plan(body: PlanTriggerRequest):
|
async def trigger_plan(body: PlanTriggerRequest):
|
||||||
|
logger.info("API triggered with body: %s", body)
|
||||||
|
|
||||||
logger.info("Connecting to db")
|
logger.info("Connecting to db")
|
||||||
session = sessionmaker(bind=db_engine)()
|
session = sessionmaker(bind=db_engine)()
|
||||||
created_at = datetime.now().isoformat()
|
created_at = datetime.now().isoformat()
|
||||||
|
|
|
||||||
|
|
@ -41,6 +41,7 @@ COPY ./etl/epc_clean/ ./etl/epc_clean/
|
||||||
COPY ./etl/bill_savings/ ./etl/bill_savings/
|
COPY ./etl/bill_savings/ ./etl/bill_savings/
|
||||||
COPY ./etl/spatial/ ./etl/spatial/
|
COPY ./etl/spatial/ ./etl/spatial/
|
||||||
COPY ./datatypes/ ./datatypes/
|
COPY ./datatypes/ ./datatypes/
|
||||||
|
COPY .etl/find_my_epc/ ./etl/find_my_epc/
|
||||||
|
|
||||||
# Set the ENTRYPOINT to the AWS Lambda RIC and CMD to your function handler
|
# Set the ENTRYPOINT to the AWS Lambda RIC and CMD to your function handler
|
||||||
ENTRYPOINT [ "/usr/local/bin/python", "-m", "awslambdaric" ]
|
ENTRYPOINT [ "/usr/local/bin/python", "-m", "awslambdaric" ]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue