Uh oh!
There was an error while loading. Please reload this page.
add support async postgres driver - #320
Conversation
Uh oh!
There was an error while loading. Please reload this page.
fourteekey
commented
Apr 5, 2023
@pffijt |
tillahoffmann
left a comment
There was a problem hiding this comment.
Thanks for the contribution. Added a few inline questions.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| @wait_container_is_ready(*ADDITIONAL_TRANSIENT_ERRORS) | ||
| def _connect(self) -> None: | ||
| import sqlalchemy | ||
| engine = sqlalchemy.create_engine(self.get_connection_url(driver=self.DEFAULT_DRIVER)) |
There was a problem hiding this comment.
Can we just use the super call here? It looks like the method body is the same as in the parent class (except for the driver argument which is already handled in the updated get_connection_url).
There was a problem hiding this comment.
@fourteekey, could you please address this question?
tillahoffmann
commented
May 5, 2023
Unresolved some of the outstanding questions, @fourteekey. We'll also have to regenerate the lock files in |
fourteekey
commented
May 16, 2023
All questions have been resolved. |
alexanderankin
commented
Mar 9, 2024
closing in favor of #445 because i believe it will handle this use case, let me know if this is not the case |
…estcontainers#445) Updates the pg testcontainer implementation to not use (and not install) SQLAlchemy nor psycopg2. Closes: testcontainers#340Closes: testcontainers#336Closes: testcontainers#320 --------- Co-authored-by: Jason Turim <jason@opscanvas.com>
No description provided.