Title: fix: display full type info for Optional/Union annotations (fixes #508) by mshzy · Pull Request #671 · google/python-fire · GitHub
Open Graph Title: fix: display full type info for Optional/Union annotations (fixes #508) by mshzy · Pull Request #671 · google/python-fire
X Title: fix: display full type info for Optional/Union annotations (fixes #508) by mshzy · Pull Request #671 · google/python-fire
Description: Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object. - fix: display full type info for Optional/Union annotations (fixes #508) by mshzy · Pull Request #671 · google/python-fire
Open Graph Description: Add _FormatType helper to properly display Optional[str] as str | None instead of just Optional. Fixes #508.
X Description: Add _FormatType helper to properly display Optional[str] as str | None instead of just Optional. Fixes #508.
Opengraph URL: https://github.com/google/python-fire/pull/671
X: @github
Domain: redirect.github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:e8aa4c3f-a1c8-7e72-9008-25acaec9d454 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A08C:268F8:D48915:11F8F93:6A4D589C |
| html-safe-nonce | 64a390faa61e60de64e49e66c3066baa3415d3609015af1bfaab16db27bc8652 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDhDOjI2OEY4OkQ0ODkxNToxMUY4RjkzOjZBNEQ1ODlDIiwidmlzaXRvcl9pZCI6IjEyNTc1MzUzODYzMjM2MDU2NjAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 94a55397f8cad8b67c5bd92ce6b7e52c9390cc75dc5696fe64337ece5b3362e3 |
| hovercard-subject-tag | pull_request:3785031403 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/google/python-fire/671/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/8ba4729703c91a118c796a597a1a0227a97a761d2bb5d5cd48e3e0618ef63cf5/google/python-fire/pull/671 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8ba4729703c91a118c796a597a1a0227a97a761d2bb5d5cd48e3e0618ef63cf5/google/python-fire/pull/671 |
| og:image:alt | Add _FormatType helper to properly display Optional[str] as str | None instead of just Optional. Fixes #508. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mshzy |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2a1443ff9733a3016431263ea73c93d8fe00c195eb4a7670ac30e7848f045441 |
| turbo-cache-control | no-cache |
| go-import | github.com/google/python-fire git https://github.com/google/python-fire.git |
| octolytics-dimension-user_id | 1342004 |
| octolytics-dimension-user_login | |
| octolytics-dimension-repository_id | 82729529 |
| octolytics-dimension-repository_nwo | google/python-fire |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 82729529 |
| octolytics-dimension-repository_network_root_nwo | google/python-fire |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f3bdd3157ea1f0fd738d408eceeead721acf1dc3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width