Title: Fix HasCustomStr to recognise custom __repr__ as a meaningful str (fixes #595) by shivamtiwari3 · Pull Request #653 · google/python-fire · GitHub
Open Graph Title: Fix HasCustomStr to recognise custom __repr__ as a meaningful str (fixes #595) by shivamtiwari3 · Pull Request #653 · google/python-fire
X Title: Fix HasCustomStr to recognise custom __repr__ as a meaningful str (fixes #595) by shivamtiwari3 · Pull Request #653 · google/python-fire
Description: Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object. - Fix HasCustomStr to recognise custom __repr__ as a meaningful str (fixes #595) by shivamtiwari3 · Pull Request #653 · google/python-fire
Open Graph Description: Summary Fixes #595. Objects that override __repr__ but not __str__ (e.g. datasets.Dataset from HuggingFace) were shown as a help screen instead of being printed, because HasCustomStr only checked f...
X Description: Summary Fixes #595. Objects that override __repr__ but not __str__ (e.g. datasets.Dataset from HuggingFace) were shown as a help screen instead of being printed, because HasCustomStr only checked f...
Opengraph URL: https://github.com/google/python-fire/pull/653
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:72bcd0ca-59c6-9e69-4442-96ba5cf03c0e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9882:21D8E1:4CE460:6CFB6E:6A4E7094 |
| html-safe-nonce | de187571aa9e2a05a292c09f086d580f3281f501ebac1320616f5811c295b970 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODgyOjIxRDhFMTo0Q0U0NjA6NkNGQjZFOjZBNEU3MDk0IiwidmlzaXRvcl9pZCI6Ijc1Mjc4MTY5Mzk4NTYzNTk1NzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f3341865626c3538a21fbcdafac54fa6326d93ff9b349930faabb8ef155b0b43 |
| hovercard-subject-tag | pull_request:3379894469 |
| 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/653/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/a4777af6b2d7cd6481c6600e7bd9b16412bd1dabad57dd32f998df92881bba98/google/python-fire/pull/653 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a4777af6b2d7cd6481c6600e7bd9b16412bd1dabad57dd32f998df92881bba98/google/python-fire/pull/653 |
| og:image:alt | Summary Fixes #595. Objects that override __repr__ but not __str__ (e.g. datasets.Dataset from HuggingFace) were shown as a help screen instead of being printed, because HasCustomStr only checked f... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | shivamtiwari3 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| 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 | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width