mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
fixing api call to sap model
This commit is contained in:
parent
bc398489af
commit
98b6261fe1
1 changed files with 1 additions and 1 deletions
|
|
@ -395,7 +395,7 @@ async def trigger_plan(body: PlanTriggerRequest):
|
||||||
logger.info("Making request to sap change api")
|
logger.info("Making request to sap change api")
|
||||||
sap_change_model_api = SAPChangeModelAPI()
|
sap_change_model_api = SAPChangeModelAPI()
|
||||||
response = sap_change_model_api.predict(
|
response = sap_change_model_api.predict(
|
||||||
file_location="s3://{DATA_BUCKET}".format(DATA_BUCKET=get_settings().DATA_BUCKET) + file_location,
|
file_location="s3://{DATA_BUCKET}/".format(DATA_BUCKET=get_settings().DATA_BUCKET) + file_location,
|
||||||
created_at=created_at,
|
created_at=created_at,
|
||||||
portfolio_id=body.portfolio_id
|
portfolio_id=body.portfolio_id
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue