René's URL Explorer Experiment


Title: Creating a Postgres contrainer with an async driver fails · Issue #263 · testcontainers/testcontainers-python · GitHub

Open Graph Title: Creating a Postgres contrainer with an async driver fails · Issue #263 · testcontainers/testcontainers-python

X Title: Creating a Postgres contrainer with an async driver fails · Issue #263 · testcontainers/testcontainers-python

Description: Hello, When creating a new database container, testcontainers automatically tries to connect to it here, but if I specify an async driver (e.g. PostgresContainer("postgres:14.4", driver="asyncpg")) sqlalchemy tries to use that and fails ...

Open Graph Description: Hello, When creating a new database container, testcontainers automatically tries to connect to it here, but if I specify an async driver (e.g. PostgresContainer("postgres:14.4", driver="asyncpg"))...

X Description: Hello, When creating a new database container, testcontainers automatically tries to connect to it here, but if I specify an async driver (e.g. PostgresContainer("postgres:14.4", driver=&...

Opengraph URL: https://github.com/testcontainers/testcontainers-python/issues/263

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Creating a Postgres contrainer with an async driver fails","articleBody":"Hello,\r\nWhen creating a new database container, testcontainers automatically tries to connect to it [here](https://github.com/testcontainers/testcontainers-python/blob/master/testcontainers/core/generic.py#L55), but if I specify an async driver (e.g. `PostgresContainer(\"postgres:14.4\", driver=\"asyncpg\")`) sqlalchemy tries to use that and fails because it's not in an async context. \r\nIs there any way to skip trying to connect to the database or fix it so it can also handle async context?","author":{"url":"https://github.com/SpyrosRoum","@type":"Person","name":"SpyrosRoum"},"datePublished":"2022-11-08T14:13:56.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/263/testcontainers-python/issues/263"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:3c3f0013-f16f-f60a-cde1-53b51d3a90af
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCF6C:38F4B9:1039F72:179B737:6A5633CC
html-safe-noncee7125dd4e19a7f231f62eda3e88e27c5a8b095a40444394dbdff3f5c9e5e5a22
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjZDOjM4RjRCOToxMDM5RjcyOjE3OUI3Mzc6NkE1NjMzQ0MiLCJ2aXNpdG9yX2lkIjoiMzYwODYxNjc1Nzc4NTY3MDYwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac40bec0a096728942610756f535c5b10b03ef31939841f2171c202821455fe3ba
hovercard-subject-tagissue:1440286051
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/testcontainers/testcontainers-python/263/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d714c6b7a45230ffb0709748b54826076171d8054d1cc63787c5df13a323f070/testcontainers/testcontainers-python/issues/263
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d714c6b7a45230ffb0709748b54826076171d8054d1cc63787c5df13a323f070/testcontainers/testcontainers-python/issues/263
og:image:altHello, When creating a new database container, testcontainers automatically tries to connect to it here, but if I specify an async driver (e.g. PostgresContainer("postgres:14.4", driver="asyncpg"))...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSpyrosRoum
hostnamegithub.com
expected-hostnamegithub.com
None9d78ea552aac0685ca5f006d44f88166cbbf3bb96843f8da0c5a2c0b9908430b
turbo-cache-controlno-preview
go-importgithub.com/testcontainers/testcontainers-python git https://github.com/testcontainers/testcontainers-python.git
octolytics-dimension-user_id13393021
octolytics-dimension-user_logintestcontainers
octolytics-dimension-repository_id85802819
octolytics-dimension-repository_nwotestcontainers/testcontainers-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id85802819
octolytics-dimension-repository_network_root_nwotestcontainers/testcontainers-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423b2fb76ac2b90de5ab599b7a76a0d2b2c83f24
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/testcontainers/testcontainers-python/issues/263#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftestcontainers%2Ftestcontainers-python%2Fissues%2F263
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftestcontainers%2Ftestcontainers-python%2Fissues%2F263
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=testcontainers%2Ftestcontainers-python
Reloadhttps://github.com/testcontainers/testcontainers-python/issues/263
Reloadhttps://github.com/testcontainers/testcontainers-python/issues/263
Reloadhttps://github.com/testcontainers/testcontainers-python/issues/263
Please reload this pagehttps://github.com/testcontainers/testcontainers-python/issues/263
testcontainers https://github.com/testcontainers
testcontainers-pythonhttps://github.com/testcontainers/testcontainers-python
Notifications https://github.com/login?return_to=%2Ftestcontainers%2Ftestcontainers-python
Fork 375 https://github.com/login?return_to=%2Ftestcontainers%2Ftestcontainers-python
Star 2.3k https://github.com/login?return_to=%2Ftestcontainers%2Ftestcontainers-python
Code https://github.com/testcontainers/testcontainers-python
Issues 131 https://github.com/testcontainers/testcontainers-python/issues
Pull requests 35 https://github.com/testcontainers/testcontainers-python/pulls
Discussions https://github.com/testcontainers/testcontainers-python/discussions
Actions https://github.com/testcontainers/testcontainers-python/actions
Security and quality 0 https://github.com/testcontainers/testcontainers-python/security
Insights https://github.com/testcontainers/testcontainers-python/pulse
Code https://github.com/testcontainers/testcontainers-python
Issues https://github.com/testcontainers/testcontainers-python/issues
Pull requests https://github.com/testcontainers/testcontainers-python/pulls
Discussions https://github.com/testcontainers/testcontainers-python/discussions
Actions https://github.com/testcontainers/testcontainers-python/actions
Security and quality https://github.com/testcontainers/testcontainers-python/security
Insights https://github.com/testcontainers/testcontainers-python/pulse
Creating a Postgres contrainer with an async driver failshttps://github.com/testcontainers/testcontainers-python/issues/263#top
👀 requires attentionhttps://github.com/testcontainers/testcontainers-python/issues?q=state%3Aopen%20label%3A%22%F0%9F%91%80%20requires%20attention%22
📦 package: postgreshttps://github.com/testcontainers/testcontainers-python/issues?q=state%3Aopen%20label%3A%22%F0%9F%93%A6%20package%3A%20postgres%22
🚀 enhancementhttps://github.com/testcontainers/testcontainers-python/issues?q=state%3Aopen%20label%3A%22%F0%9F%9A%80%20enhancement%22
https://github.com/SpyrosRoum
SpyrosRoumhttps://github.com/SpyrosRoum
on Nov 8, 2022https://github.com/testcontainers/testcontainers-python/issues/263#issue-1440286051
herehttps://github.com/testcontainers/testcontainers-python/blob/master/testcontainers/core/generic.py#L55
👀 requires attentionhttps://github.com/testcontainers/testcontainers-python/issues?q=state%3Aopen%20label%3A%22%F0%9F%91%80%20requires%20attention%22
📦 package: postgreshttps://github.com/testcontainers/testcontainers-python/issues?q=state%3Aopen%20label%3A%22%F0%9F%93%A6%20package%3A%20postgres%22
🚀 enhancementhttps://github.com/testcontainers/testcontainers-python/issues?q=state%3Aopen%20label%3A%22%F0%9F%9A%80%20enhancement%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.