Closed ahsimb closed 2 months ago
Here is the current code in the two extensions that is going to be moved to the python-extension-common.
[In the SageMaker Extension] (https://github.com/exasol/sagemaker-extension/blob/45fd30028c0c647d3e945e2bb2fd925eacc5d9c1/exasol_sagemaker_extension/deployment/deploy_create_statements.py#L146)
[In the Transformers Extension] (https://github.com/exasol/transformers-extension/blob/039c1b9fbabcbc8cb882e5ca318f36eb078a147b/exasol_transformers_extension/deployment/scripts_deployer.py#L53)
Note, that the code above is for an On-Prem database only.
The function needs to take a union set of parameters required for an on-prem and saas db. It should then infer which database to connect to.