(conf: DatasourceConf)
| 17 | |
| 18 | |
| 19 | def get_engine_uri(conf: DatasourceConf): |
| 20 | return f"postgresql+psycopg2://{urllib.parse.quote(conf.username)}:{urllib.parse.quote(conf.password)}@{conf.host}:{conf.port}/{urllib.parse.quote(conf.database)}" |
| 21 | |
| 22 | |
| 23 | def get_engine_conn(): |