(ds: CoreDatasource)
| 51 | |
| 52 | |
| 53 | def get_uri(ds: CoreDatasource) -> str: |
| 54 | conf = DatasourceConf(**json.loads(aes_decrypt(ds.configuration))) if not equals_ignore_case(ds.type, |
| 55 | "excel") else get_engine_config() |
| 56 | return get_uri_from_config(ds.type, conf) |
| 57 | |
| 58 | |
| 59 | def get_uri_from_config(type: str, conf: DatasourceConf) -> str: |
no test coverage detected