Return the connection string.
(self)
| 97 | return create_engine(self.get_conn_str()) |
| 98 | |
| 99 | def get_conn_str(self): |
| 100 | """Return the connection string.""" |
| 101 | return f"postgresql+psycopg2://{self._user}:{self._password}@{self._host}:{self._port}/{self._db}" |
| 102 | |
| 103 | |
| 104 | # Register database providers |
no outgoing calls