| 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:64f6475c-32d0-e3cf-b393-d544ec7c34ee |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9396:10F0C1:803FE8:BBD456:6A4E1675 |
| html-safe-nonce | 33d625da94bcc54186f8c9a1e483e0dc3d917bd651ffb2b782e9281fb2431cc0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Mzk2OjEwRjBDMTo4MDNGRTg6QkJENDU2OjZBNEUxNjc1IiwidmlzaXRvcl9pZCI6IjEwNTY5NjE0MjI5MTc3Njg4MjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 72d938b7fca9408cb7fab6a49dde95dad58c0cf7c5c6cb761a9f445271871986 |
| hovercard-subject-tag | pull_request:3547567160 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/Governs-AI/python-sdk/7/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/6939a610827d751f4ea3a845f522275496b2849d0eab811d63d6e46278cb3aa9/Governs-AI/python-sdk/pull/7 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6939a610827d751f4ea3a845f522275496b2849d0eab811d63d6e46278cb3aa9/Governs-AI/python-sdk/pull/7 |
| og:image:alt | Summary
GovernsAIClient.record_usage(org_id, user_id, tokens, model) → None
GovernsAIClient.async_record_usage() — async variant
GovernsAIClient.budget_check(org_id, user_id, estimated_tokens) → B... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Shaivpidadi |
| hostname | github.com |
| expected-hostname | github.com |
| None | 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 |
| turbo-cache-control | no-cache |
| go-import | github.com/Governs-AI/python-sdk git https://github.com/Governs-AI/python-sdk.git |
| octolytics-dimension-user_id | 234007827 |
| octolytics-dimension-user_login | Governs-AI |
| octolytics-dimension-repository_id | 1062664510 |
| octolytics-dimension-repository_nwo | Governs-AI/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1062664510 |
| octolytics-dimension-repository_network_root_nwo | Governs-AI/python-sdk |
| 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 | ea9187571e3edc5f2780f750631138669441ca50 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/Governs-AI/python-sdk/pull/7#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FGoverns-AI%2Fpython-sdk%2Fpull%2F7 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FGoverns-AI%2Fpython-sdk%2Fpull%2F7 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=Governs-AI%2Fpython-sdk |
| Reload | https://github.com/Governs-AI/python-sdk/pull/7 |
| Reload | https://github.com/Governs-AI/python-sdk/pull/7 |
| Reload | https://github.com/Governs-AI/python-sdk/pull/7 |
| Please reload this page | https://github.com/Governs-AI/python-sdk/pull/7 |
|
Governs-AI
| https://github.com/Governs-AI |
| python-sdk | https://github.com/Governs-AI/python-sdk |
|
Notifications
| https://github.com/login?return_to=%2FGoverns-AI%2Fpython-sdk |
|
Fork
0
| https://github.com/login?return_to=%2FGoverns-AI%2Fpython-sdk |
|
Star
1
| https://github.com/login?return_to=%2FGoverns-AI%2Fpython-sdk |
|
Code
| https://github.com/Governs-AI/python-sdk |
|
Issues
0
| https://github.com/Governs-AI/python-sdk/issues |
|
Pull requests
0
| https://github.com/Governs-AI/python-sdk/pulls |
|
Actions
| https://github.com/Governs-AI/python-sdk/actions |
|
Projects
| https://github.com/Governs-AI/python-sdk/projects |
|
Security and quality
0
| https://github.com/Governs-AI/python-sdk/security |
|
Insights
| https://github.com/Governs-AI/python-sdk/pulse |
|
Code
| https://github.com/Governs-AI/python-sdk |
|
Issues
| https://github.com/Governs-AI/python-sdk/issues |
|
Pull requests
| https://github.com/Governs-AI/python-sdk/pulls |
|
Actions
| https://github.com/Governs-AI/python-sdk/actions |
|
Projects
| https://github.com/Governs-AI/python-sdk/projects |
|
Security and quality
| https://github.com/Governs-AI/python-sdk/security |
|
Insights
| https://github.com/Governs-AI/python-sdk/pulse |
| Shaivpidadi | https://github.com/Shaivpidadi |
| feat/1.4b-precheck-integration-test | https://github.com/Governs-AI/python-sdk/tree/feat/1.4b-precheck-integration-test |
| feat/1.4c-usage-budget | https://github.com/Governs-AI/python-sdk/tree/feat/1.4c-usage-budget |
| Conversation | https://github.com/Governs-AI/python-sdk/pull/7 |
| Commits3 (3) | https://github.com/Governs-AI/python-sdk/pull/7/commits |
| Checks | https://github.com/Governs-AI/python-sdk/pull/7/checks |
| Files changed | https://github.com/Governs-AI/python-sdk/pull/7/files |
| feat(python-sdk): record_usage() and budget_check() (GOV-38) | https://github.com/Governs-AI/python-sdk/pull/7#top |
| Shaivpidadi | https://github.com/Shaivpidadi |
| feat/1.4b-precheck-integration-test | https://github.com/Governs-AI/python-sdk/tree/feat/1.4b-precheck-integration-test |
| feat/1.4c-usage-budget | https://github.com/Governs-AI/python-sdk/tree/feat/1.4c-usage-budget |
|
| https://github.com/Shaivpidadi |
| Shaivpidadi | https://github.com/Shaivpidadi |
| Apr 17, 2026 | https://github.com/Governs-AI/python-sdk/pull/7#issue-4285361716 |
| Please reload this page | https://github.com/Governs-AI/python-sdk/pull/7 |
| Shaivpidadi | https://github.com/Shaivpidadi |
| April 17, 2026 15:30 | https://github.com/Governs-AI/python-sdk/pull/7#commits-pushed-88eda2d |
|
| https://github.com/Shaivpidadi |
| feat(1.4a): Python SDK scaffolding — precheck, async_precheck, budget… | https://github.com/Governs-AI/python-sdk/pull/7/commits/88eda2d0af3bb6e2b4c767c7b7fb32a88473f1bc |
| 88eda2d | https://github.com/Governs-AI/python-sdk/pull/7/commits/88eda2d0af3bb6e2b4c767c7b7fb32a88473f1bc |
|
| https://github.com/Shaivpidadi |
| test(python-sdk): add pytest integration tests for precheck() | https://github.com/Governs-AI/python-sdk/pull/7/commits/c8f346615df7bdbe1f5ca73fb2740d166b5edce2 |
| c8f3466 | https://github.com/Governs-AI/python-sdk/pull/7/commits/c8f346615df7bdbe1f5ca73fb2740d166b5edce2 |
|
| https://github.com/Shaivpidadi |
| feat(python-sdk): add record_usage() and budget_check() (GOV-38) | https://github.com/Governs-AI/python-sdk/pull/7/commits/47d34fbd663578f4ed3bd52d70fcf5893cdb8e76 |
| 47d34fb | https://github.com/Governs-AI/python-sdk/pull/7/commits/47d34fbd663578f4ed3bd52d70fcf5893cdb8e76 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
|
area/backend
| https://github.com/Governs-AI/python-sdk/issues?q=state%3Aopen%20label%3Aarea%2Fbackend |
|
area/sdk
| https://github.com/Governs-AI/python-sdk/issues?q=state%3Aopen%20label%3Aarea%2Fsdk |
|
kind/tests
| https://github.com/Governs-AI/python-sdk/issues?q=state%3Aopen%20label%3Akind%2Ftests |
| Apr 17, 2026 | https://github.com/Governs-AI/python-sdk/pull/7#event-24623744121 |
| https://github.com/Shaivpidadi |
| Shaivpidadi | https://github.com/Shaivpidadi |
|
Apr 20, 2026
| https://github.com/Governs-AI/python-sdk/pull/7#ref-pullrequest-4285340148 |
|
feat(python-sdk): budget_check() + BudgetResult model — GOV-38
#5
| https://github.com/Governs-AI/python-sdk/pull/5 |
| https://github.com/Shaivpidadi |
| Shaivpidadi | https://github.com/Shaivpidadi |
| force-pushed | https://github.com/Governs-AI/python-sdk/compare/c8f346615df7bdbe1f5ca73fb2740d166b5edce2..a23738444bb67cc2e2d3eb8c1aaffac119fda6a1 |
| c8f3466 | https://github.com/Governs-AI/python-sdk/commit/c8f346615df7bdbe1f5ca73fb2740d166b5edce2 |
| a237384 | https://github.com/Governs-AI/python-sdk/commit/a23738444bb67cc2e2d3eb8c1aaffac119fda6a1 |
|
Compare
| https://github.com/Governs-AI/python-sdk/compare/c8f346615df7bdbe1f5ca73fb2740d166b5edce2..a23738444bb67cc2e2d3eb8c1aaffac119fda6a1 |
| April 20, 2026 17:00 | https://github.com/Governs-AI/python-sdk/pull/7#event-24686959562 |
| https://github.com/Shaivpidadi |
| Shaivpidadi | https://github.com/Shaivpidadi |
| April 20, 2026 17:01 | https://github.com/Governs-AI/python-sdk/pull/7#event-24686999127 |
| https://github.com/Shaivpidadi |
| Shaivpidadi | https://github.com/Shaivpidadi |
| Apr 20, 2026 | https://github.com/Governs-AI/python-sdk/pull/7#event-24686999279 |
| https://github.com/Shaivpidadi |
| Shaivpidadi | https://github.com/Shaivpidadi |
|
Apr 20, 2026
| https://github.com/Governs-AI/python-sdk/pull/7#ref-pullrequest-4297364728 |
|
feat(python-sdk): record_usage() and budget_check()
#10
| https://github.com/Governs-AI/python-sdk/pull/10 |
| https://github.com/Shaivpidadi |
| Shaivpidadi | https://github.com/Shaivpidadi |
| April 20, 2026 17:03 | https://github.com/Governs-AI/python-sdk/pull/7#event-24687060545 |
| https://github.co/hiddenchars |
| https://github.com/Governs-AI/python-sdk/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FGoverns-AI%2Fpython-sdk%2Fpull%2F7 |
|
area/backend
| https://github.com/Governs-AI/python-sdk/issues?q=state%3Aopen%20label%3Aarea%2Fbackend |
|
area/sdk
| https://github.com/Governs-AI/python-sdk/issues?q=state%3Aopen%20label%3Aarea%2Fsdk |
|
kind/tests
| https://github.com/Governs-AI/python-sdk/issues?q=state%3Aopen%20label%3Akind%2Ftests |
| Please reload this page | https://github.com/Governs-AI/python-sdk/pull/7 |
|
| https://github.com/Shaivpidadi |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |