Title: Add type annotations by ViktorSky · Pull Request #877 · firebase/firebase-admin-python · GitHub
Open Graph Title: Add type annotations by ViktorSky · Pull Request #877 · firebase/firebase-admin-python
X Title: Add type annotations by ViktorSky · Pull Request #877 · firebase/firebase-admin-python
Description: This pull request introduces comprehensive type annotations to the firebase_admin codebase using PEP 484 standards. All changes have been validated with Pyright in strict mode to enforce consistency and catch potential type errors early. Goals Enhance developer experience with precise autocomplete and type hints. Catch type-related bugs upfront via static analysis. Tools Pyright in strict mode for robust type-checking. Manual review of ambiguous or potentially problematic sections. Configuration Additions pyrightconfig.json: config file created to declare strict-mode settings. firebase_admin/_typing.py: A new central module that defines all custom type aliases, TypedDicts, and Protocols. By consolidating these shared types in one place, we simplify extension and reuse across the package and avoid circular-import issues.
Open Graph Description: This pull request introduces comprehensive type annotations to the firebase_admin codebase using PEP 484 standards. All changes have been validated with Pyright in strict mode to enforce consistenc...
X Description: This pull request introduces comprehensive type annotations to the firebase_admin codebase using PEP 484 standards. All changes have been validated with Pyright in strict mode to enforce consistenc...
Opengraph URL: https://github.com/firebase/firebase-admin-python/pull/877
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:9f976298-f173-b062-4dcf-e660c2d6f010 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D8DA:4C07B:E1BADB:131869E:698F7AED |
| html-safe-nonce | 0083b7ec59c19d70847537e796154370f6deac53dda3971052c610af9ea0477a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOERBOjRDMDdCOkUxQkFEQjoxMzE4NjlFOjY5OEY3QUVEIiwidmlzaXRvcl9pZCI6IjIxMTg5NTgxMDQ3ODM1ODM5ODEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 903694c226dc10c761c75cd4c1a08de1253e40f69464ed6b9834a01e29b6fe4f |
| hovercard-subject-tag | pull_request:2530254726 |
| 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/firebase/firebase-admin-python/pull/877/files |
| twitter:image | https://avatars.githubusercontent.com/u/99266266?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/99266266?s=400&v=4 |
| og:image:alt | This pull request introduces comprehensive type annotations to the firebase_admin codebase using PEP 484 standards. All changes have been validated with Pyright in strict mode to enforce consistenc... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4763146d672e989a41c6c0bd715790c0c59341d9f855508c8a3196e1e480b8f7 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8b442a4e0d8e68ffb351da689499018fde153e49 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width