George Pearse
04/27/2022, 11:31 AMchris
04/27/2022, 7:17 PMexecution
block at all?George Pearse
04/27/2022, 7:18 PMchris
04/27/2022, 7:18 PMGeorge Pearse
04/27/2022, 7:36 PMchris
04/27/2022, 9:36 PMGeorge Pearse
04/28/2022, 7:42 AMchris
04/28/2022, 1:58 PMGeorge Pearse
04/28/2022, 2:33 PMengineering_mongo_warehouse:
config:
mongo_host:
env: ENG_MONGO_HOST
mongo_password:
env: ENG_MONGO_PASSWORD
mongo_user:
env: ENG_MONGO_USER
ml_mongo_warehouse:
config:
mongo_host:
env: ML_MONGO_HOST
mongo_password:
env: ML_MONGO_PASSWORD
mongo_user:
env: ML_MONGO_USER
ops:
authenticate_api:
config:
cronjob_password:
env: CRONJOB_PASSWORD
cronjob_user:
env: CRONJOB_USER
With job def as:
@job(
resource_defs={
"engineering_mongo_warehouse": mongo_handler_resource,
"ml_mongo_warehouse": mongo_handler_resource,
"io_manager": fs_io_manager,
"s3": s3_resource,
},
config=config_from_files([
# Config from file sorted but still not very secure because it shows the values via the UI.
# Should just load the config within the MongoStore initialization ??
file_relative_path(
__file__, "../datastores/config/connection_details.yaml"
)
]
)
)
chris
04/28/2022, 4:28 PMmultiprocess
... and just to confirm, connection_details.yaml
doesn't set execution: multiprocess
?George Pearse
04/29/2022, 9:33 AMchris
04/29/2022, 8:56 PMGeorge Pearse
04/29/2022, 10:33 PM