René's URL Explorer Experiment


Title: Add other input types for SQLAlchemy BIT model by jackrua · Pull Request #137 · pgvector/pgvector-python · GitHub

Open Graph Title: Add other input types for SQLAlchemy BIT model by jackrua · Pull Request #137 · pgvector/pgvector-python

X Title: Add other input types for SQLAlchemy BIT model by jackrua · Pull Request #137 · pgvector/pgvector-python

Description: Hi, First of all, thank you for the great library @ankane! I'm opening this PR to address some issues that have been raised by users (#84, #110 and #112), that is to input types other than string ...

Open Graph Description: Hi, First of all, thank you for the great library @ankane! I'm opening this PR to address some issues that have been raised by users (#84, #110 and #112), that is to input types other than str...

X Description: Hi, First of all, thank you for the great library @ankane! I'm opening this PR to address some issues that have been raised by users (#84, #110 and #112), that is to input types other than...

Opengraph URL: https://github.com/pgvector/pgvector-python/pull/137

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:c1808686-c9c3-7a42-2166-2aaae7e67a7c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE5C8:199F7E:1135E7:188BDE:6970A07F
html-safe-nonce4530807fb3b64b59c26914ea851c7fc026fa844c1bae2289c6878d4af7421cef
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNUM4OjE5OUY3RToxMTM1RTc6MTg4QkRFOjY5NzBBMDdGIiwidmlzaXRvcl9pZCI6IjU5NjEwMjQ1Njk3NTE5MzcxNTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac1b0da9e0c67a33adcdf513ce533fb7a3197cfb0602aef5539790dc2895c3571c
hovercard-subject-tagpull_request:2674622798
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/pgvector/pgvector-python/137/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e10648b77f328f72bccd59a5bfdd4f60313a0084b6fade847eca46eb91393189/pgvector/pgvector-python/pull/137
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e10648b77f328f72bccd59a5bfdd4f60313a0084b6fade847eca46eb91393189/pgvector/pgvector-python/pull/137
og:image:altHi, First of all, thank you for the great library @ankane! I'm opening this PR to address some issues that have been raised by users (#84, #110 and #112), that is to input types other than str...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejackrua
hostnamegithub.com
expected-hostnamegithub.com
Noneb06a4c45c45fd0bb038b3759265ea6e38211f45d18130bc65261990be6b5972a
turbo-cache-controlno-preview
go-importgithub.com/pgvector/pgvector-python git https://github.com/pgvector/pgvector-python.git
octolytics-dimension-user_id98363230
octolytics-dimension-user_loginpgvector
octolytics-dimension-repository_id376300726
octolytics-dimension-repository_nwopgvector/pgvector-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id376300726
octolytics-dimension-repository_network_root_nwopgvector/pgvector-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
release0e1c4964831785bd64cb22d82e7cf2391ae01f45
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpgvector%2Fpgvector-python%2Fpull%2F137
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpgvector%2Fpgvector-python%2Fpull%2F137
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=pgvector%2Fpgvector-python
Reloadhttps://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137
Reloadhttps://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137
Reloadhttps://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137
pgvector https://patch-diff.githubusercontent.com/pgvector
pgvector-pythonhttps://patch-diff.githubusercontent.com/pgvector/pgvector-python
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fpgvector%2Fpgvector-python
Fork 86 https://patch-diff.githubusercontent.com/login?return_to=%2Fpgvector%2Fpgvector-python
Star 1.4k https://patch-diff.githubusercontent.com/login?return_to=%2Fpgvector%2Fpgvector-python
Code https://patch-diff.githubusercontent.com/pgvector/pgvector-python
Issues 2 https://patch-diff.githubusercontent.com/pgvector/pgvector-python/issues
Pull requests 4 https://patch-diff.githubusercontent.com/pgvector/pgvector-python/pulls
Actions https://patch-diff.githubusercontent.com/pgvector/pgvector-python/actions
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/pgvector/pgvector-python/security
Please reload this pagehttps://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137
Insights https://patch-diff.githubusercontent.com/pgvector/pgvector-python/pulse
Code https://patch-diff.githubusercontent.com/pgvector/pgvector-python
Issues https://patch-diff.githubusercontent.com/pgvector/pgvector-python/issues
Pull requests https://patch-diff.githubusercontent.com/pgvector/pgvector-python/pulls
Actions https://patch-diff.githubusercontent.com/pgvector/pgvector-python/actions
Security https://patch-diff.githubusercontent.com/pgvector/pgvector-python/security
Insights https://patch-diff.githubusercontent.com/pgvector/pgvector-python/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fpgvector%2Fpgvector-python%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fpgvector%2Fpgvector-python%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137#issue-comment-box
jackruahttps://patch-diff.githubusercontent.com/jackrua
pgvector:masterhttps://patch-diff.githubusercontent.com/pgvector/pgvector-python/tree/master
jackrua:feature/other_inputs_for_sqlalchemy_bithttps://patch-diff.githubusercontent.com/jackrua/pgvector-python-contrib/tree/feature/other_inputs_for_sqlalchemy_bit
Add other input types for SQLAlchemy BIT model https://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137#top
jackruahttps://patch-diff.githubusercontent.com/jackrua
pgvector:masterhttps://patch-diff.githubusercontent.com/pgvector/pgvector-python/tree/master
jackrua:feature/other_inputs_for_sqlalchemy_bithttps://patch-diff.githubusercontent.com/jackrua/pgvector-python-contrib/tree/feature/other_inputs_for_sqlalchemy_bit
Conversation 2 https://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137
Commits 10 https://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137/commits
Checks 2 https://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137/checks
Files changed 3 https://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137/files
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/jackrua
jackruahttps://patch-diff.githubusercontent.com/jackrua
Jul 17, 2025https://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137#issue-3240328665
Please reload this pagehttps://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137
@ankanehttps://github.com/ankane
#84https://github.com/pgvector/pgvector-python/issues/84
#110https://github.com/pgvector/pgvector-python/issues/110
#112https://github.com/pgvector/pgvector-python/issues/112
Please reload this pagehttps://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137
jackruahttps://patch-diff.githubusercontent.com/jackrua
July 17, 2025 17:51https://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137#commits-pushed-05349f9
https://patch-diff.githubusercontent.com/jackrua
feat: add method to read from database and make method to write to da…https://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137/commits/05349f9d1a03ae8da7ab83c8d4a84af0a50b8b25
05349f9https://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137/commits/05349f9d1a03ae8da7ab83c8d4a84af0a50b8b25
https://patch-diff.githubusercontent.com/jackrua
feat: add processor methods to BIT classhttps://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137/commits/2b5e53d0faf8e331237d509cad16863a726a4dd1
2b5e53dhttps://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137/commits/2b5e53d0faf8e331237d509cad16863a726a4dd1
https://patch-diff.githubusercontent.com/jackrua
test: use string directly instead of BitStringhttps://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137/commits/45cc2e1b0be1eb83cf7574eb8c36aace8b0a3997
45cc2e1https://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137/commits/45cc2e1b0be1eb83cf7574eb8c36aace8b0a3997
https://patch-diff.githubusercontent.com/jackrua
fix: fix for case when value is nonehttps://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137/commits/3d14b22d2d475e21f20511642663792f7f11ff7f
3d14b22https://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137/commits/3d14b22d2d475e21f20511642663792f7f11ff7f
https://patch-diff.githubusercontent.com/jackrua
jackruahttps://patch-diff.githubusercontent.com/jackrua
Jul 17, 2025https://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137#event-18684616252
ankanehttps://patch-diff.githubusercontent.com/ankane
Sep 2, 2025 https://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137#ref-commit-33dee60
https://patch-diff.githubusercontent.com/ankane
https://patch-diff.githubusercontent.com/jackrua
Added support for str objects for bit type with SQLAlchemy -https://patch-diff.githubusercontent.com/pgvector/pgvector-python/commit/33dee606229489c9ffb0cb5a1cd72bd4705ac618
#137https://github.com/pgvector/pgvector-python/pull/137
33dee60https://patch-diff.githubusercontent.com/pgvector/pgvector-python/commit/33dee606229489c9ffb0cb5a1cd72bd4705ac618
https://patch-diff.githubusercontent.com/ankane
ankanehttps://patch-diff.githubusercontent.com/ankane
Sep 2, 2025https://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137#issuecomment-3247166131
@jackruahttps://github.com/jackrua
Please reload this pagehttps://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137
jackruahttps://patch-diff.githubusercontent.com/jackrua
September 8, 2025 19:01https://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137#commits-pushed-33e265c
https://patch-diff.githubusercontent.com/jackrua
Merge branch 'master' into feature/other_inputs_for_sqlalchemy_bithttps://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137/commits/33e265c854903a46d458f33ff5a2490f45ab18b2
33e265chttps://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137/commits/33e265c854903a46d458f33ff5a2490f45ab18b2
https://patch-diff.githubusercontent.com/jackrua
feat: add other input types for bithttps://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137/commits/1411240e668b2081a481355b3fcf8c5686b2344f
1411240https://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137/commits/1411240e668b2081a481355b3fcf8c5686b2344f
https://patch-diff.githubusercontent.com/jackrua
fix: testhttps://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137/commits/f176041d76006b9f16ce9b91be259ee4a45cb821
f176041https://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137/commits/f176041d76006b9f16ce9b91be259ee4a45cb821
https://patch-diff.githubusercontent.com/jackrua
fix: use correct engine urlhttps://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137/commits/c48f0d2af89405ae0eae89879e0d204c8a64e04f
c48f0d2https://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137/commits/c48f0d2af89405ae0eae89879e0d204c8a64e04f
https://patch-diff.githubusercontent.com/jackrua
fix: add user back into engine urlhttps://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137/commits/2e6795d48ad0cecbdb210a75f8e400276078b7ae
2e6795dhttps://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137/commits/2e6795d48ad0cecbdb210a75f8e400276078b7ae
https://patch-diff.githubusercontent.com/jackrua
jackruahttps://patch-diff.githubusercontent.com/jackrua
Sep 22, 2025https://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137#issuecomment-3319984595
Please reload this pagehttps://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137
@ankanehttps://github.com/ankane
Please reload this pagehttps://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137
https://patch-diff.githubusercontent.com/jackrua
style: remove unused methodhttps://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137/commits/d78612500ddb164b5ebd28332a4e4e47f077bdd8
d786125https://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137/commits/d78612500ddb164b5ebd28332a4e4e47f077bdd8
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpgvector%2Fpgvector-python%2Fpull%2F137
Please reload this pagehttps://patch-diff.githubusercontent.com/pgvector/pgvector-python/pull/137
https://patch-diff.githubusercontent.com/jackrua
https://patch-diff.githubusercontent.com/ankane
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.