| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:64795f0c-9c91-7ce5-f71b-4530ca526b4a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D050:13D15D:99349:C3007:698E99FB |
| html-safe-nonce | 3a3876f39fb1288b3a7e862fb695194f28ad442a9235c05bde20aeade6c4d250 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDUwOjEzRDE1RDo5OTM0OTpDMzAwNzo2OThFOTlGQiIsInZpc2l0b3JfaWQiOiI0NDc3MjM4NjQ0NTkxOTkxMjkxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9d33697907ff890d0c0d92beddbf2e5516a2d7d3d8d4186c10af8dc96a1629f5 |
| hovercard-subject-tag | pull_request:2284595374 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/qbreader/python-module/pull/14/files |
| twitter:image | https://avatars.githubusercontent.com/u/172126904?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/172126904?s=400&v=4 |
| og:image:alt | See #8
This should work now, for both tossups & bonuses on both Sync and Async clients.
Example:
c = Sync()
print(c.random_tossup(alternate_subcategories=["Poetry"])[0])
This will se... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb2828a801ee6b7be618f3ac76fbf55def35bbc30f053a9c41bf90210b8b72ba |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/qbreader/python-module git https://github.com/qbreader/python-module.git |
| octolytics-dimension-user_id | 112534302 |
| octolytics-dimension-user_login | qbreader |
| octolytics-dimension-repository_id | 582678039 |
| octolytics-dimension-repository_nwo | qbreader/python-module |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 582678039 |
| octolytics-dimension-repository_network_root_nwo | qbreader/python-module |
| 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 | e6b91a7e6e46287d26887e3fb7a4161657bab8f7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#start-of-content |
|
| https://patch-diff.githubusercontent.com/ |
|
Sign in
| https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fqbreader%2Fpython-module%2Fpull%2F14%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| 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 |
| 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 |
| 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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fqbreader%2Fpython-module%2Fpull%2F14%2Ffiles |
|
Sign up
| https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=qbreader%2Fpython-module |
| Reload | https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files |
| Reload | https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files |
| Reload | https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files |
|
qbreader
| https://patch-diff.githubusercontent.com/qbreader |
| python-module | https://patch-diff.githubusercontent.com/qbreader/python-module |
|
Notifications
| https://patch-diff.githubusercontent.com/login?return_to=%2Fqbreader%2Fpython-module |
|
Fork
6
| https://patch-diff.githubusercontent.com/login?return_to=%2Fqbreader%2Fpython-module |
|
Star
14
| https://patch-diff.githubusercontent.com/login?return_to=%2Fqbreader%2Fpython-module |
|
Code
| https://patch-diff.githubusercontent.com/qbreader/python-module |
|
Issues
2
| https://patch-diff.githubusercontent.com/qbreader/python-module/issues |
|
Pull requests
1
| https://patch-diff.githubusercontent.com/qbreader/python-module/pulls |
|
Actions
| https://patch-diff.githubusercontent.com/qbreader/python-module/actions |
|
Projects
0
| https://patch-diff.githubusercontent.com/qbreader/python-module/projects |
|
Security
0
| https://patch-diff.githubusercontent.com/qbreader/python-module/security |
|
Insights
| https://patch-diff.githubusercontent.com/qbreader/python-module/pulse |
|
Code
| https://patch-diff.githubusercontent.com/qbreader/python-module |
|
Issues
| https://patch-diff.githubusercontent.com/qbreader/python-module/issues |
|
Pull requests
| https://patch-diff.githubusercontent.com/qbreader/python-module/pulls |
|
Actions
| https://patch-diff.githubusercontent.com/qbreader/python-module/actions |
|
Projects
| https://patch-diff.githubusercontent.com/qbreader/python-module/projects |
|
Security
| https://patch-diff.githubusercontent.com/qbreader/python-module/security |
|
Insights
| https://patch-diff.githubusercontent.com/qbreader/python-module/pulse |
| Sign up for GitHub
| https://patch-diff.githubusercontent.com/signup?return_to=%2Fqbreader%2Fpython-module%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://patch-diff.githubusercontent.com/login?return_to=%2Fqbreader%2Fpython-module%2Fissues%2Fnew%2Fchoose |
| geoffrey-wu | https://patch-diff.githubusercontent.com/geoffrey-wu |
| qbreader:main | https://patch-diff.githubusercontent.com/qbreader/python-module/tree/main |
| sreyassabbani:feat/8-alt-subcat-support | https://patch-diff.githubusercontent.com/sreyassabbani/qbreader-python-module/tree/feat/8-alt-subcat-support |
|
Conversation
2
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14 |
|
Commits
9
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/commits |
|
Checks
7
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/checks |
|
Files changed
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files |
| Please reload this page | https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files |
|
Feature: alternate subcat support
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#top |
|
Show all changes
9 commits
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files |
|
f74483d
feat-wip(alt-subcat-support)!: add functionality for random-tossup
sreyassabbani Jan 17, 2025
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/commits/f74483d6b704663557505e265247dae65ecd3927 |
|
bfd2240
feat(alt-subcat-support): works for bonuses, tossups, through both `S…
sreyassabbani Jan 17, 2025
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/commits/bfd2240bff4544a9a3dd92ae7f07040f490bc051 |
|
ec5ae7c
fix(oopsies): forgot to unstage things
sreyassabbani Jan 17, 2025
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/commits/ec5ae7cb34ecb7c1c2782143fcfaec26913a3c2b |
|
a0c9f8d
fix(minor): use regular indexing instead of `.get()`
sreyassabbani Jan 17, 2025
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/commits/a0c9f8d1d43f826a6b0116e264a1b8e838dda094 |
|
5dd4f1a
fix(minor): remove None variant in `AlternateSubcategory`
sreyassabbani Jan 17, 2025
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/commits/5dd4f1a1b772e70dd60d343cd727d31824bc8c79 |
|
89a0e1a
fix logic for alternate subcategory
geoffrey-wu Jan 17, 2025
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/commits/89a0e1a17087a610e770804d3033cc88c4a739fd |
|
c0c1970
fix missing social science logic
geoffrey-wu Jan 17, 2025
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/commits/c0c19707fd90a05ae657865365e7543cc5114c5d |
|
8c7886b
add beliefs and practices
geoffrey-wu Jan 17, 2025
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/commits/8c7886bb1a9a912f9461806151fd03a09df9557a |
|
d66038f
run linter
geoffrey-wu Jan 17, 2025
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/commits/d66038f777e596928392176f9d59624760a63c26 |
|
Clear filters
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files |
| Please reload this page | https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files |
| Please reload this page | https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files |
|
_api_utils.py
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-c6507774841c9e6f1feea9dd833607ac4491d2a7209e0b829440f8964e4bc90d |
|
asynchronous.py
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888 |
|
synchronous.py
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-7dfbb3190453ad703192a195a1e5afe0c8444697c96c2a8fe344389caa85085e |
|
types.py
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-158446a5a6211ba8b4273f1daaca9e8c8b4fdd5660bd92c942052689332d9a30 |
| qbreader/_api_utils.py | https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-c6507774841c9e6f1feea9dd833607ac4491d2a7209e0b829440f8964e4bc90d |
|
View file
| https://patch-diff.githubusercontent.com/sreyassabbani/qbreader-python-module/blob/d66038f777e596928392176f9d59624760a63c26/qbreader/_api_utils.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/{{ revealButtonHref }} |
|
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-c6507774841c9e6f1feea9dd833607ac4491d2a7209e0b829440f8964e4bc90d |
|
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-c6507774841c9e6f1feea9dd833607ac4491d2a7209e0b829440f8964e4bc90d |
|
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-c6507774841c9e6f1feea9dd833607ac4491d2a7209e0b829440f8964e4bc90d |
|
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-c6507774841c9e6f1feea9dd833607ac4491d2a7209e0b829440f8964e4bc90d |
| qbreader/asynchronous.py | https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888 |
|
View file
| https://patch-diff.githubusercontent.com/sreyassabbani/qbreader-python-module/blob/d66038f777e596928392176f9d59624760a63c26/qbreader/asynchronous.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/{{ revealButtonHref }} |
|
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888 |
|
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888 |
|
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888 |
|
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888 |
|
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888 |
|
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888 |
|
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888 |
|
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888 |
|
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888 |
|
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888 |
|
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888 |
|
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888 |
|
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888 |
|
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888 |
|
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888 |
|
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888 |
|
| https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888 |
| Please reload this page | https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files |
| Please reload this page | https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files |
|
| 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 |