mirror of
https://github.com/Hestia-Homes/ML.git
synced 2026-06-08 11:17:25 +00:00
Merge pull request #82 from Hestia-Homes/sap-dev-dockerignore
final removal of dash from handler
This commit is contained in:
commit
6e35e8cdfe
1 changed files with 0 additions and 6 deletions
|
|
@ -69,9 +69,7 @@ def handler(event, context):
|
|||
|
||||
storage_filepath = f"s3://{PREDICTIONS_BUCKET}/{portfolio_id}/{property_id}/{created_at}.parquet"
|
||||
|
||||
logger.info("-------------------------")
|
||||
logger.info(f"--- Initiate MLModel ---")
|
||||
logger.info("-------------------------")
|
||||
|
||||
build_model_params = settings.build_model
|
||||
client_params = settings.client
|
||||
|
|
@ -80,17 +78,13 @@ def handler(event, context):
|
|||
|
||||
model = model_factory(build_model_params["model_type"])
|
||||
|
||||
logger.info("----------------------------")
|
||||
logger.info(f"--- Initiate Input DataClient ---")
|
||||
logger.info("----------------------------")
|
||||
input_dataclient = dataclient_factory(
|
||||
dataclient_type="aws-s3",
|
||||
dataclient_config=client_params["aws-s3"],
|
||||
)
|
||||
|
||||
logger.info("----------------------------")
|
||||
logger.info(f"--- Initiate Output DataClient ---")
|
||||
logger.info("----------------------------")
|
||||
output_dataclient = dataclient_factory(
|
||||
dataclient_type="aws-s3",
|
||||
dataclient_config=client_params["aws-s3"],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue