René's URL Explorer Experiment


Title: Hotfix/optional leaf object by oytuntez · Pull Request #1865 · docarray/docarray · GitHub

Open Graph Title: Hotfix/optional leaf object by oytuntez · Pull Request #1865 · docarray/docarray

X Title: Hotfix/optional leaf object by oytuntez · Pull Request #1865 · docarray/docarray

Description: This PR aims to improve DocList fields that are Optional or that are given None default value. Giving empty [] as default value would create entries in the subindex (with just the ID field, no othe...

Open Graph Description: This PR aims to improve DocList fields that are Optional or that are given None default value. Giving empty [] as default value would create entries in the subindex (with just the ID field, no othe...

X Description: This PR aims to improve DocList fields that are Optional or that are given None default value. Giving empty [] as default value would create entries in the subindex (with just the ID field, no othe...

Opengraph URL: https://github.com/docarray/docarray/pull/1865

X: @github

direct link

Domain: github.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:aedcceaf-e86f-b0d0-ecfc-610a5d7eebbf
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id83D6:276D01:18FFF53:2216D82:6964BA6B
html-safe-nonce48475c79b3fef421379e665aa32942689c68f68e78a98e77727e1d302f903d2b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4M0Q2OjI3NkQwMToxOEZGRjUzOjIyMTZEODI6Njk2NEJBNkIiLCJ2aXNpdG9yX2lkIjoiOTA0MzgzMzU0OTQyNzYyMDQ1OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac95bfbee8a21447302b1a2571e435e7a73abf6dfb024ca82b9f411c1fb30babb9
hovercard-subject-tagpull_request:1726435404
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/docarray/docarray/1865/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/95ffc09b55d3d747b74928facf87b0dd0b2754eb66318e3cf30f502f4f023f90/docarray/docarray/pull/1865
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/95ffc09b55d3d747b74928facf87b0dd0b2754eb66318e3cf30f502f4f023f90/docarray/docarray/pull/1865
og:image:altThis PR aims to improve DocList fields that are Optional or that are given None default value. Giving empty [] as default value would create entries in the subindex (with just the ID field, no othe...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameoytuntez
hostnamegithub.com
expected-hostnamegithub.com
None9917306ebdf5f9f30d13ede7b74f08a45b5f12b401ce3e4bfabd895ea0ca0ada
turbo-cache-controlno-preview
go-importgithub.com/docarray/docarray git https://github.com/docarray/docarray.git
octolytics-dimension-user_id117445116
octolytics-dimension-user_logindocarray
octolytics-dimension-repository_id438303578
octolytics-dimension-repository_nwodocarray/docarray
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id438303578
octolytics-dimension-repository_network_root_nwodocarray/docarray
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
release020ceddb26807bba62dcfb410905847d63243ff5
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/docarray/docarray/pull/1865#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdocarray%2Fdocarray%2Fpull%2F1865
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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdocarray%2Fdocarray%2Fpull%2F1865
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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=docarray%2Fdocarray
Reloadhttps://github.com/docarray/docarray/pull/1865
Reloadhttps://github.com/docarray/docarray/pull/1865
Reloadhttps://github.com/docarray/docarray/pull/1865
docarray https://github.com/docarray
docarrayhttps://github.com/docarray/docarray
Notifications https://github.com/login?return_to=%2Fdocarray%2Fdocarray
Fork 234 https://github.com/login?return_to=%2Fdocarray%2Fdocarray
Star 3.1k https://github.com/login?return_to=%2Fdocarray%2Fdocarray
Code https://github.com/docarray/docarray
Issues 68 https://github.com/docarray/docarray/issues
Pull requests 36 https://github.com/docarray/docarray/pulls
Discussions https://github.com/docarray/docarray/discussions
Actions https://github.com/docarray/docarray/actions
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/docarray/docarray/security
Please reload this pagehttps://github.com/docarray/docarray/pull/1865
Insights https://github.com/docarray/docarray/pulse
Code https://github.com/docarray/docarray
Issues https://github.com/docarray/docarray/issues
Pull requests https://github.com/docarray/docarray/pulls
Discussions https://github.com/docarray/docarray/discussions
Actions https://github.com/docarray/docarray/actions
Security https://github.com/docarray/docarray/security
Insights https://github.com/docarray/docarray/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fdocarray%2Fdocarray%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fdocarray%2Fdocarray%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/docarray/docarray/pull/1865#issue-comment-box
oytuntezhttps://github.com/oytuntez
docarray:mainhttps://github.com/docarray/docarray/tree/main
MotaWord:hotfix/optional-leaf-objecthttps://github.com/MotaWord/docarray/tree/hotfix/optional-leaf-object
Hotfix/optional leaf object https://github.com/docarray/docarray/pull/1865#top
oytuntezhttps://github.com/oytuntez
docarray:mainhttps://github.com/docarray/docarray/tree/main
MotaWord:hotfix/optional-leaf-objecthttps://github.com/MotaWord/docarray/tree/hotfix/optional-leaf-object
Conversation 5 https://github.com/docarray/docarray/pull/1865
Commits 11 https://github.com/docarray/docarray/pull/1865/commits
Checks 0 https://github.com/docarray/docarray/pull/1865/checks
Files changed https://github.com/docarray/docarray/pull/1865/files
Please reload this pagehttps://github.com/docarray/docarray/pull/1865
https://github.co/hiddenchars
https://github.com/docarray/docarray/pull/{{ revealButtonHref }}
https://github.com/oytuntez
oytuntezhttps://github.com/oytuntez
Feb 14, 2024https://github.com/docarray/docarray/pull/1865#issue-2135159825
Please reload this pagehttps://github.com/docarray/docarray/pull/1865
February 9, 2024 14:05https://github.com/docarray/docarray/pull/1865#commits-pushed-4c5592f
optional subfield improvements for BaseDocIndexhttps://github.com/docarray/docarray/pull/1865/commits/4c5592f2bcbe0711706a942816870a197e519dc2
4c5592fhttps://github.com/docarray/docarray/pull/1865/commits/4c5592f2bcbe0711706a942816870a197e519dc2
further type improvementshttps://github.com/docarray/docarray/pull/1865/commits/8c089dc3d0b2b0b7cbdc2a2da985c2c045486dc5
8c089dchttps://github.com/docarray/docarray/pull/1865/commits/8c089dc3d0b2b0b7cbdc2a2da985c2c045486dc5
print logshttps://github.com/docarray/docarray/pull/1865/commits/756deb861ebd4263162a7e481f1d9493d0f90255
756deb8https://github.com/docarray/docarray/pull/1865/commits/756deb861ebd4263162a7e481f1d9493d0f90255
removed debug printshttps://github.com/docarray/docarray/pull/1865/commits/f9dca8d20b32b829d98e0458f689b67db51f68be
f9dca8dhttps://github.com/docarray/docarray/pull/1865/commits/f9dca8d20b32b829d98e0458f689b67db51f68be
remove unnecessary line changehttps://github.com/docarray/docarray/pull/1865/commits/f3e7fa7316d95265eccdca1ba6af65f7bd4bc9fd
f3e7fa7https://github.com/docarray/docarray/pull/1865/commits/f3e7fa7316d95265eccdca1ba6af65f7bd4bc9fd
https://github.com/JoanFM
JoanFMhttps://github.com/JoanFM
Feb 14, 2024 https://github.com/docarray/docarray/pull/1865#pullrequestreview-1881279698
View reviewed changes https://github.com/docarray/docarray/pull/1865/files/f3e7fa7316d95265eccdca1ba6af65f7bd4bc9fd
JoanFMhttps://github.com/JoanFM
https://github.com/docarray/docarray/pull/1865#pullrequestreview-1881279698
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/docarray/docarray/pull/1865
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Feb 14, 2024https://github.com/docarray/docarray/pull/1865#issuecomment-1944573306
Please reload this pagehttps://github.com/docarray/docarray/pull/1865
Codecovhttps://app.codecov.io/gh/docarray/docarray/pull/1865?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=docarray
(7c1e18e)https://app.codecov.io/gh/docarray/docarray/commit/7c1e18ef01b09ef3d864b200248c875d0d9ced29?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=docarray
(0a7e030)https://app.codecov.io/gh/docarray/docarray/pull/1865?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=docarray
0a7e030https://github.com/docarray/docarray/commit/0a7e030e477fa52b4cb1bc4c3ad80cb9270e3902
7555eb3https://github.com/docarray/docarray/commit/7555eb3a6e291f91b4ce916c55d8a3c6dbf20c46
7555eb3https://github.com/docarray/docarray/commit/7555eb3a6e291f91b4ce916c55d8a3c6dbf20c46
Fileshttps://app.codecov.io/gh/docarray/docarray/pull/1865?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=docarray
docarray/index/backends/elastic.pyhttps://app.codecov.io/gh/docarray/docarray/pull/1865?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=docarray#diff-ZG9jYXJyYXkvaW5kZXgvYmFja2VuZHMvZWxhc3RpYy5weQ==
1 Missing ⚠️ https://app.codecov.io/gh/docarray/docarray/pull/1865?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=docarray
docarray/index/backends/hnswlib.pyhttps://app.codecov.io/gh/docarray/docarray/pull/1865?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=docarray#diff-ZG9jYXJyYXkvaW5kZXgvYmFja2VuZHMvaG5zd2xpYi5weQ==
1 Missing ⚠️ https://app.codecov.io/gh/docarray/docarray/pull/1865?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=docarray
Flaghttps://app.codecov.io/gh/docarray/docarray/pull/1865/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=docarray
docarrayhttps://app.codecov.io/gh/docarray/docarray/pull/1865/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=docarray
Click herehttps://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=docarray#carryforward-flags-in-the-pull-request-comment
☔ View full report in Codecov by Sentryhttps://app.codecov.io/gh/docarray/docarray/pull/1865?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=docarray
Share it herehttps://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=docarray
Please reload this pagehttps://github.com/docarray/docarray/pull/1865
https://github.com/JohannesMessner
JohannesMessnerhttps://github.com/JohannesMessner
February 14, 2024 20:57https://github.com/docarray/docarray/pull/1865#event-11806951470
https://github.com/JohannesMessner
JohannesMessnerhttps://github.com/JohannesMessner
Feb 14, 2024https://github.com/docarray/docarray/pull/1865#issuecomment-1944579986
@JoanFMhttps://github.com/JoanFM
Please reload this pagehttps://github.com/docarray/docarray/pull/1865
https://github.com/JoanFM
JoanFMhttps://github.com/JoanFM
Feb 14, 2024https://github.com/docarray/docarray/pull/1865#issuecomment-1944855311
@JoanFMhttps://github.com/JoanFM
Please reload this pagehttps://github.com/docarray/docarray/pull/1865
February 15, 2024 16:01https://github.com/docarray/docarray/pull/1865#commits-pushed-dcabbf6
hnswlib fix for nonexisting columns during indexinghttps://github.com/docarray/docarray/pull/1865/commits/dcabbf60bbad150fc672ce0f2dfa9acc0cff9338
dcabbf6https://github.com/docarray/docarray/pull/1865/commits/dcabbf60bbad150fc672ce0f2dfa9acc0cff9338
null check for given subindex columnshttps://github.com/docarray/docarray/pull/1865/commits/4530a9c96f4bfffbc4ca70e635981cf1a27fb76a
4530a9chttps://github.com/docarray/docarray/pull/1865/commits/4530a9c96f4bfffbc4ca70e635981cf1a27fb76a
https://github.com/oytuntez
Merge pull requesthttps://github.com/docarray/docarray/pull/1865/commits/65a8ff552787d1647fab9efad00a6b1789ef7834
#1https://github.com/MotaWord/docarray/pull/1
from docarray/mainhttps://github.com/docarray/docarray/pull/1865/commits/65a8ff552787d1647fab9efad00a6b1789ef7834
65a8ff5https://github.com/docarray/docarray/pull/1865/commits/65a8ff552787d1647fab9efad00a6b1789ef7834
Merge branch 'main' into hotfix/optional-leaf-objecthttps://github.com/docarray/docarray/pull/1865/commits/0a7e030e477fa52b4cb1bc4c3ad80cb9270e3902
0a7e030https://github.com/docarray/docarray/pull/1865/commits/0a7e030e477fa52b4cb1bc4c3ad80cb9270e3902
https://github.com/JoanFM
JoanFMhttps://github.com/JoanFM
Feb 16, 2024https://github.com/docarray/docarray/pull/1865#issuecomment-1948074172
@oytuntezhttps://github.com/oytuntez
Please reload this pagehttps://github.com/docarray/docarray/pull/1865
February 21, 2024 18:30https://github.com/docarray/docarray/pull/1865#commits-pushed-2da17d0
catch error for fields with no documents in hnswlibhttps://github.com/docarray/docarray/pull/1865/commits/2da17d0c320101b44154a0c49237cae177882073
2da17d0https://github.com/docarray/docarray/pull/1865/commits/2da17d0c320101b44154a0c49237cae177882073
bulk root doc access in hnswlibhttps://github.com/docarray/docarray/pull/1865/commits/7555eb3a6e291f91b4ce916c55d8a3c6dbf20c46
7555eb3https://github.com/docarray/docarray/pull/1865/commits/7555eb3a6e291f91b4ce916c55d8a3c6dbf20c46
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdocarray%2Fdocarray%2Fpull%2F1865
https://github.com/JoanFM
JoanFM https://github.com/JoanFM
https://github.com/docarray/docarray/pull/1865/files/f3e7fa7316d95265eccdca1ba6af65f7bd4bc9fd
https://github.com/JohannesMessner
JohannesMessner https://github.com/JohannesMessner
Please reload this pagehttps://github.com/docarray/docarray/pull/1865
https://github.com/oytuntez
https://github.com/JohannesMessner
https://github.com/JoanFM
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.