forked from exasol/bucketfs-utils-python
-
Notifications
You must be signed in to change notification settings - Fork 2
Labels
refactoringCode improvement without behavior changeCode improvement without behavior change
Description
In the python-extension-common, we implement a backend inference for the Path-Like API. We need to move the code to this repo, such that all python projects can use it.
Tasks:
- Add function
infer_backend
in_path.py
using thebucketfs_*
parameters or saas parameters - Add to
_path.py
a functionget_database_id
to retrievesaas_database_id
, if only the saas_database_name is given - Add to
_path.py
a function infer_path that usesinfer_backend
andget_database_id
to create a path viabuild_path
- The function infer_path should get the following input paramters
bucketfs_host: Optional[str] = None,
bucketfs_port: Optional[int] = None,
bucketfs_name: Optional[str] = None,
bucket: Optional[str] = None,
bucketfs_user: Optional[str] = None,
bucketfs_password: Optional[str] = None,
bucketfs_use_https: bool = True,
saas_url: Optional[str] = None,
saas_account_id: Optional[str] = None,
saas_database_id: Optional[str] = None,
saas_database_name: Optional[str] = None,
saas_token: Optional[str] = None,
path_in_bucket: str = "",
use_ssl_cert_validation: bool = True,
ssl_trusted_ca: Optional[str] = None,
Metadata
Metadata
Assignees
Labels
refactoringCode improvement without behavior changeCode improvement without behavior change