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: 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:af2c4caf-602d-43d5-597d-bda947fbf3a9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D538:141904:A7EA55:DC93CD:6A518839 |
| html-safe-nonce | 5959500de09afacdccdf3811ed3d4747a906dbd16f246ddd7fcb00c2fd19a488 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTM4OjE0MTkwNDpBN0VBNTU6REM5M0NEOjZBNTE4ODM5IiwidmlzaXRvcl9pZCI6IjQ3MDU3NTk0NjA4NjMyMDE4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e3d17963c4b5f2aadea28a0daa65346b856d6aa5ecbf127fdc41c8c400212315 |
| 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 | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | cb77a7b8b06cd86c243be33fd8e7922d70a9d243 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width