MCPcopy Create free account
hub / github.com/alpha2phi/python-apps / get_conn_str

Method get_conn_str

excel-ingester/loader/__init__.py:99–101  ·  view source on GitHub ↗

Return the connection string.

(self)

Source from the content-addressed store, hash-verified

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

Callers 2

get_engineMethod · 0.95
test_db_providerMethod · 0.80

Calls

no outgoing calls

Tested by 1

test_db_providerMethod · 0.64