René's URL Explorer Experiment


Title: bug: overloads_only does not work with merge_init_into_class: true · Issue #308 · mkdocstrings/python · GitHub

Open Graph Title: bug: overloads_only does not work with merge_init_into_class: true · Issue #308 · mkdocstrings/python

X Title: bug: overloads_only does not work with merge_init_into_class: true · Issue #308 · mkdocstrings/python

Description: Description of the bug Using the new overloads_only: true option introduced in #286 does not work for __init__ functions when merge_init_into_class: true is set. To Reproduce Options: overloads_only: true show_overloads: true separate_si...

Open Graph Description: Description of the bug Using the new overloads_only: true option introduced in #286 does not work for __init__ functions when merge_init_into_class: true is set. To Reproduce Options: overloads_onl...

X Description: Description of the bug Using the new overloads_only: true option introduced in #286 does not work for __init__ functions when merge_init_into_class: true is set. To Reproduce Options: overloads_onl...

Opengraph URL: https://github.com/mkdocstrings/python/issues/308

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"bug: overloads_only does not work with merge_init_into_class: true","articleBody":"### Description of the bug\n\u003c!-- Please provide a clear and concise description of what the bug is. --\u003e\nUsing the new `overloads_only: true` option introduced in #286 does not work for `__init__` functions when `merge_init_into_class: true` is set.\n\n### To Reproduce\n\nOptions:\n\n```yaml\noverloads_only: true\nshow_overloads: true\nseparate_signature: true\nmerge_init_into_class: true\n```\n\nPython:\n```py\nfrom typing import overload\n\nclass Class:\n    @overload\n    def __init__(self, a: int, b: str): ...\n    @overload\n    def __init__(self, a: str, b: int): ...\n    def __init__(self, a: int | str, b: int | str):\n        \"\"\"Some docstring.\"\"\"\n```\n    \n#### MRE\n\n``` bash\ngit clone https://github.com/markuspi/mkdocstrings-python-bug-demo\ncd mkdocstrings-python-bug-demo\nuv run mkdocs serve\n```\n\n### Expected behavior\n\u003c!-- Please provide a clear and concise description of what you expected to happen. --\u003e\nThe third signature `Class(a, b)` is hidden.\n\n### Actual behavior\n\nThe third signature `Class(a, b)` is visible:\n\n\u003cimg width=\"770\" height=\"272\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/912fe1e9-3301-456c-90d9-6bd083bba850\" /\u003e\n\n### Environment information\n\u003c!-- Please run the following command in your repository and paste its output below it,\n     redacting sensitive information. --\u003e\n\n- __Python__: cpython 3.13.5\n- __Environment variables__:\n- __Installed packages__:\n  - `mkdocstrings-python` v1.18.0\n\n","author":{"url":"https://github.com/markuspi","@type":"Person","name":"markuspi"},"datePublished":"2025-08-28T08:26:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/308/python/issues/308"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:b64f6535-6e1b-ca0c-36ea-c4a17aba1b0f
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAE38:258BE8:21986E1:2C61926:696B0D58
html-safe-nonce35cd64c4b538e63d2de9315d27fb048824ad00c2431c4b594f4df5884de4c41e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTM4OjI1OEJFODoyMTk4NkUxOjJDNjE5MjY6Njk2QjBENTgiLCJ2aXNpdG9yX2lkIjoiMTU1ODM0MjY3NjUzODY1ODEzNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac80fd98d5a5f1550bb3b96b75d1192a47ee9dccb0c3f6fb50c4a9a403e6b0cf7a
hovercard-subject-tagissue:3362355834
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/mkdocstrings/python/308/issue_layout
twitter:imagehttps://opengraph.githubassets.com/f22f229a14064485741432eda41b75dd1006634cd43964a64023c6f332538c96/mkdocstrings/python/issues/308
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f22f229a14064485741432eda41b75dd1006634cd43964a64023c6f332538c96/mkdocstrings/python/issues/308
og:image:altDescription of the bug Using the new overloads_only: true option introduced in #286 does not work for __init__ functions when merge_init_into_class: true is set. To Reproduce Options: overloads_onl...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemarkuspi
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
go-importgithub.com/mkdocstrings/python git https://github.com/mkdocstrings/python.git
octolytics-dimension-user_id75664361
octolytics-dimension-user_loginmkdocstrings
octolytics-dimension-repository_id422878404
octolytics-dimension-repository_nwomkdocstrings/python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id422878404
octolytics-dimension-repository_network_root_nwomkdocstrings/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
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/mkdocstrings/python/issues/308#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmkdocstrings%2Fpython%2Fissues%2F308
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%2Fmkdocstrings%2Fpython%2Fissues%2F308
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=mkdocstrings%2Fpython
Reloadhttps://github.com/mkdocstrings/python/issues/308
Reloadhttps://github.com/mkdocstrings/python/issues/308
Reloadhttps://github.com/mkdocstrings/python/issues/308
mkdocstrings https://github.com/mkdocstrings
pythonhttps://github.com/mkdocstrings/python
Please reload this pagehttps://github.com/mkdocstrings/python/issues/308
Notifications https://github.com/login?return_to=%2Fmkdocstrings%2Fpython
Fork 52 https://github.com/login?return_to=%2Fmkdocstrings%2Fpython
Star 259 https://github.com/login?return_to=%2Fmkdocstrings%2Fpython
Code https://github.com/mkdocstrings/python
Issues 10 https://github.com/mkdocstrings/python/issues
Pull requests 0 https://github.com/mkdocstrings/python/pulls
Discussions https://github.com/mkdocstrings/python/discussions
Actions https://github.com/mkdocstrings/python/actions
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/mkdocstrings/python/security
Please reload this pagehttps://github.com/mkdocstrings/python/issues/308
Insights https://github.com/mkdocstrings/python/pulse
Code https://github.com/mkdocstrings/python
Issues https://github.com/mkdocstrings/python/issues
Pull requests https://github.com/mkdocstrings/python/pulls
Discussions https://github.com/mkdocstrings/python/discussions
Actions https://github.com/mkdocstrings/python/actions
Security https://github.com/mkdocstrings/python/security
Insights https://github.com/mkdocstrings/python/pulse
New issuehttps://github.com/login?return_to=https://github.com/mkdocstrings/python/issues/308
New issuehttps://github.com/login?return_to=https://github.com/mkdocstrings/python/issues/308
bug: overloads_only does not work with merge_init_into_class: truehttps://github.com/mkdocstrings/python/issues/308#top
https://github.com/pawamoy
bugSomething isn't workinghttps://github.com/mkdocstrings/python/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/markuspi
https://github.com/markuspi
markuspihttps://github.com/markuspi
on Aug 28, 2025https://github.com/mkdocstrings/python/issues/308#issue-3362355834
#286https://github.com/mkdocstrings/python/pull/286
https://private-user-images.githubusercontent.com/22451745/483048361-912fe1e9-3301-456c-90d9-6bd083bba850.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Njg2MjM3NDgsIm5iZiI6MTc2ODYyMzQ0OCwicGF0aCI6Ii8yMjQ1MTc0NS80ODMwNDgzNjEtOTEyZmUxZTktMzMwMS00NTZjLTkwZDktNmJkMDgzYmJhODUwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAxMTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMTE3VDA0MTcyOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZlM2EwMzY5MzE1MDQwMWM4OGNiYWQzOGVhZDlhZDBlNTQ5YTE5N2Y1MDcyNjc2YWM4MWIxNTAzM2I4ZDk3NjYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.OPUcRLWwg3YwyfwAoEGuInJqq7xmks_ezYLbnPeOqJw
pawamoyhttps://github.com/pawamoy
bugSomething isn't workinghttps://github.com/mkdocstrings/python/issues?q=state%3Aopen%20label%3A%22bug%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.