Title: Add type hints to FirebaseError in exceptions.py by Niharika-Sathish26 · Pull Request #929 · firebase/firebase-admin-python · GitHub
Open Graph Title: Add type hints to FirebaseError in exceptions.py by Niharika-Sathish26 · Pull Request #929 · firebase/firebase-admin-python
X Title: Add type hints to FirebaseError in exceptions.py by Niharika-Sathish26 · Pull Request #929 · firebase/firebase-admin-python
Description: Just added few type hints to the FirebaseError class in exceptions.py to make it easier to work with IDEs and catch type issues. The constructor now clearly shows the types for code, message, cause, and http_response. No functionality has changed, and all existing tests still pass. This is a small quality-of-life improvement that should help anyone using this module in their projects. Related issue: #860
Open Graph Description: Just added few type hints to the FirebaseError class in exceptions.py to make it easier to work with IDEs and catch type issues. The constructor now clearly shows the types for code, message, cause...
X Description: Just added few type hints to the FirebaseError class in exceptions.py to make it easier to work with IDEs and catch type issues. The constructor now clearly shows the types for code, message, cause...
Opengraph URL: https://github.com/firebase/firebase-admin-python/pull/929
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:749df2a7-f3ca-b7d6-ef76-c62d9a0ecb37 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | ABF8:1AC789:77976D:A4DBD8:698F3A01 |
| html-safe-nonce | a7acb14c84b4e6c0a4abf82872d40c9afd007c468af374ffde4b469083f0aadc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQkY4OjFBQzc4OTo3Nzk3NkQ6QTREQkQ4OjY5OEYzQTAxIiwidmlzaXRvcl9pZCI6IjIwODg0NjQ2ODczODU0OTE5NjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 71bb98a2d16cd9bcbcf9aab36e9bd51e6467ad52cfbcf53c44dab6510af2c398 |
| hovercard-subject-tag | pull_request:3145669396 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/firebase/firebase-admin-python/pull/929/checks |
| twitter:image | https://avatars.githubusercontent.com/u/181056286?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/181056286?s=400&v=4 |
| og:image:alt | Just added few type hints to the FirebaseError class in exceptions.py to make it easier to work with IDEs and catch type issues. The constructor now clearly shows the types for code, message, cause... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6102991c714c1a6a27d05fb4f96ea6ca87a6750b4f093b95cc57ed1b84b145a1 |
| turbo-cache-control | no-preview |
| go-import | github.com/firebase/firebase-admin-python git https://github.com/firebase/firebase-admin-python.git |
| octolytics-dimension-user_id | 1335026 |
| octolytics-dimension-user_login | firebase |
| octolytics-dimension-repository_id | 84979152 |
| octolytics-dimension-repository_nwo | firebase/firebase-admin-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 84979152 |
| octolytics-dimension-repository_network_root_nwo | firebase/firebase-admin-python |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d6ba6f2bfbf6399a7c07495a912727369e95bfe8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width