René's URL Explorer Experiment


Title: Optional and required flags are swapped in the "Usage" message · Issue #315 · google/python-fire · GitHub

Open Graph Title: Optional and required flags are swapped in the "Usage" message · Issue #315 · google/python-fire

X Title: Optional and required flags are swapped in the "Usage" message · Issue #315 · google/python-fire

Description: Running python script.py command import fire class Example: def command(self, *, arg1: bool, arg2: bool = True, arg3: bool = False): pass if __name__ == '__main__': fire.Fire(Example) Prints ERROR: Missing required flags: {'arg1'} Usage:...

Open Graph Description: Running python script.py command import fire class Example: def command(self, *, arg1: bool, arg2: bool = True, arg3: bool = False): pass if __name__ == '__main__': fire.Fire(Example) Prints ERROR:...

X Description: Running python script.py command import fire class Example: def command(self, *, arg1: bool, arg2: bool = True, arg3: bool = False): pass if __name__ == '__main__': fire.Fire(Example) Print...

Opengraph URL: https://github.com/google/python-fire/issues/315

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Optional and required flags are swapped in the \"Usage\" message","articleBody":"Running python script.py command\r\n\r\n\r\n```\r\nimport fire\r\n\r\n\r\nclass Example:\r\n\r\n    def command(self, *, arg1: bool, arg2: bool = True, arg3: bool = False):\r\n        pass\r\n\r\n\r\nif __name__ == '__main__':\r\n    fire.Fire(Example)\r\n\r\n```\r\n\r\nPrints\r\n\r\n```\r\nERROR: Missing required flags: {'arg1'}\r\nUsage: download.py command \u003cflags>\r\n  optional flags:        --arg1\r\n  required flags:        --arg2 | --arg3\r\n```\r\n\r\nThe \"ERROR\" message correctly points that arg1 is required, but the \"Usage\" message is swapping required and optional arguments.","author":{"url":"https://github.com/Mirandatz","@type":"Person","name":"Mirandatz"},"datePublished":"2021-02-04T00:00:20Z","url":"https://github.com/google/python-fire/issues/315"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:87e6dd1b-d1c0-dfb9-d2cc-c9ac6969f8df
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB2F8:D33AC:345AA:466F7:6B001A2B
html-safe-nonceac477f30239e4ada3cdc256d20712650c0732232b160ddb27348bda813305178
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMkY4OkQzM0FDOjM0NUFBOjQ2NkY3OjZCMDAxQTJCIiwidmlzaXRvcl9pZCI6Ijc3MzY1Njg5MDMyNTc1NjE2NDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac659d1a04779024158b6a87ff69a4107f88f5825543d4bd38277658fec51a38c0
hovercard-subject-tagissue:800806805
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/google/python-fire/315/issue_layout
twitter:imagehttps://opengraph.githubassets.com/403d9da7d6753546d22f52d15723e83ef01c5eaa7d6c3db62d1eda7298e44429/google/python-fire/issues/315
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/403d9da7d6753546d22f52d15723e83ef01c5eaa7d6c3db62d1eda7298e44429/google/python-fire/issues/315
og:image:altRunning python script.py command import fire class Example: def command(self, *, arg1: bool, arg2: bool = True, arg3: bool = False): pass if __name__ == '__main__': fire.Fire(Example) Prints ERROR:...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameMirandatz
hostnamegithub.com
expected-hostnamegithub.com
Nonea2dd2291b1b13cc9c06f27ec92fa3dbaf34116fc24c9347b8539db61884c59f4
turbo-cache-controlno-preview
go-importgithub.com/google/python-fire git https://github.com/google/python-fire.git
octolytics-dimension-user_id1342004
octolytics-dimension-user_logingoogle
octolytics-dimension-repository_id82729529
octolytics-dimension-repository_nwogoogle/python-fire
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id82729529
octolytics-dimension-repository_network_root_nwogoogle/python-fire
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
release70121d4e855ee0bb7b75cf15d061d91f8863c0f8
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/google/python-fire/issues/315#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogle%2Fpython-fire%2Fissues%2F315
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogle%2Fpython-fire%2Fissues%2F315
Sign uphttps://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=google%2Fpython-fire
Reloadhttps://github.com/google/python-fire/issues/315
Reloadhttps://github.com/google/python-fire/issues/315
Reloadhttps://github.com/google/python-fire/issues/315
googlehttps://github.com/google
python-firehttps://github.com/google/python-fire
Codehttps://github.com/google/python-fire
Issues146 (146)https://github.com/google/python-fire/issues
Pull requests85 (85)https://github.com/google/python-fire/pulls
Actionshttps://github.com/google/python-fire/actions
Projectshttps://github.com/google/python-fire/projects
Security and qualityhttps://github.com/google/python-fire/security
Insightshttps://github.com/google/python-fire/insights
https://github.com/google/python-fire
New issuehttps://github.com/login?return_to=https://github.com/google/python-fire/issues/315
New issuehttps://github.com/login?return_to=https://github.com/google/python-fire/issues/315
#316https://github.com/google/python-fire/pull/316
Optional and required flags are swapped in the "Usage" messagehttps://github.com/google/python-fire/issues/315#top
#316https://github.com/google/python-fire/pull/316
bughttps://github.com/google/python-fire/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/Mirandatz
Mirandatzhttps://github.com/Mirandatz
on Feb 4, 2021https://github.com/google/python-fire/issues/315#issue-800806805
dbieberhttps://github.com/dbieber
bughttps://github.com/google/python-fire/issues?q=state%3Aopen%20label%3A%22bug%22
on Feb 4, 2021https://github.com/google/python-fire/issues/315#event-4291500085
https://github.com/dbieber
dbieberhttps://github.com/dbieber
on Feb 4, 2021https://github.com/google/python-fire/issues/315#issuecomment-773392963
https://github.com/xavierfigueroav
xavierfigueroavhttps://github.com/xavierfigueroav
on Feb 4, 2021https://github.com/google/python-fire/issues/315#issuecomment-773536429
https://github.com/dbieber
dbieberhttps://github.com/dbieber
on Feb 4, 2021https://github.com/google/python-fire/issues/315#issuecomment-773551800
https://github.com/xavierfigueroav
xavierfigueroavhttps://github.com/xavierfigueroav
on Feb 4, 2021https://github.com/google/python-fire/issues/315#issuecomment-773559389
python-fire/fire/test_components.pyhttps://github.com/google/python-fire/blob/8e9b1d52132cfab5f789435a9d88bdf881bbbe22/fire/test_components.py#L125-L134
8e9b1d5https://github.com/google/python-fire/commit/8e9b1d52132cfab5f789435a9d88bdf881bbbe22
https://github.com/xavierfigueroav
xavierfigueroavhttps://github.com/xavierfigueroav
on Feb 4, 2021https://github.com/google/python-fire/issues/315#issuecomment-773574478
https://github.com/xavierfigueroav
xavierfigueroavhttps://github.com/xavierfigueroav
on Feb 4, 2021https://github.com/google/python-fire/issues/315#issuecomment-773596327
#316https://github.com/google/python-fire/pull/316
https://github.com/dzieciou
dzieciouhttps://github.com/dzieciou
on Apr 7, 2022https://github.com/google/python-fire/issues/315#issuecomment-1091836979
https://github.com/dbieber
dbieberhttps://github.com/dbieber
on Apr 7, 2022https://github.com/google/python-fire/issues/315#issuecomment-1091857904
dbieberhttps://github.com/dbieber
completedhttps://github.com/google/python-fire/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#316https://github.com/google/python-fire/pull/316
on Apr 16, 2022https://github.com/google/python-fire/issues/315#event-6443790961
dbieberhttps://github.com/dbieber
on Apr 16, 2022https://github.com/google/python-fire/issues/315#event-6443790978
Fix #315 Change the _KeywordOnlyArguments filtering condition (#316)https://github.com/google/python-fire/commit/09f836e8db7147472192b6c5468f0b7bc997cfad
#315https://github.com/google/python-fire/issues/315
#316https://github.com/google/python-fire/pull/316
https://docs.github.com/articles/closing-issues-via-commit-messages
09f836ehttps://github.com/google/python-fire/commit/09f836e8db7147472192b6c5468f0b7bc997cfad
Sign up for freehttps://github.com/signup?return_to=https://github.com/google/python-fire/issues/315
Sign in to commenthttps://github.com/login?return_to=https://github.com/google/python-fire/issues/315
bughttps://github.com/google/python-fire/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.