| 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:433d5edf-177c-f75a-787b-8c9473e76e4e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CC6A:262721:59FC:7565:6969B880 |
| html-safe-nonce | 97b7e46d2d05d5f93937a1b49500a7b7d56675f15002df9886ecec82bb0b39e6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzZBOjI2MjcyMTo1OUZDOjc1NjU6Njk2OUI4ODAiLCJ2aXNpdG9yX2lkIjoiMTA2MzA2MzYxMzY1MjcxMTU1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 84c292606625a6a768c559acb3187939ecfcbe4c5862e7d90926bd00284bded9 |
| hovercard-subject-tag | pull_request:2619200301 |
| 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/dry-python/returns/2178/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/affdce939894f69079ee55dce07cc3cc24282a16b590b2bdcc7ffd03d5afdf81/dry-python/returns/pull/2178 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/affdce939894f69079ee55dce07cc3cc24282a16b590b2bdcc7ffd03d5afdf81/dry-python/returns/pull/2178 |
| og:image:alt | I have made things!
Add __bool__ methods to Maybe (unfilled), Something and _Nothing.
Add a new test file for that conversion.
Checklist
I have double checked that there are no unrelated chang... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | InAnYan |
| hostname | github.com |
| expected-hostname | github.com |
| None | acedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056 |
| turbo-cache-control | no-preview |
| go-import | github.com/dry-python/returns git https://github.com/dry-python/returns.git |
| octolytics-dimension-user_id | 37993755 |
| octolytics-dimension-user_login | dry-python |
| octolytics-dimension-repository_id | 167689891 |
| octolytics-dimension-repository_nwo | dry-python/returns |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 167689891 |
| octolytics-dimension-repository_network_root_nwo | dry-python/returns |
| 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 | 83c08c21cdda978090dc44364b71aa5bc6dcea79 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/dry-python/returns/pull/2178#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdry-python%2Freturns%2Fpull%2F2178 |
| 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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdry-python%2Freturns%2Fpull%2F2178 |
|
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=dry-python%2Freturns |
| Reload | https://github.com/dry-python/returns/pull/2178 |
| Reload | https://github.com/dry-python/returns/pull/2178 |
| Reload | https://github.com/dry-python/returns/pull/2178 |
|
dry-python
| https://github.com/dry-python |
| returns | https://github.com/dry-python/returns |
| Please reload this page | https://github.com/dry-python/returns/pull/2178 |
|
Notifications
| https://github.com/login?return_to=%2Fdry-python%2Freturns |
|
Fork
143
| https://github.com/login?return_to=%2Fdry-python%2Freturns |
|
Star
4.2k
| https://github.com/login?return_to=%2Fdry-python%2Freturns |
|
Code
| https://github.com/dry-python/returns |
|
Issues
68
| https://github.com/dry-python/returns/issues |
|
Pull requests
17
| https://github.com/dry-python/returns/pulls |
|
Actions
| https://github.com/dry-python/returns/actions |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/dry-python/returns/security |
| Please reload this page | https://github.com/dry-python/returns/pull/2178 |
|
Insights
| https://github.com/dry-python/returns/pulse |
|
Code
| https://github.com/dry-python/returns |
|
Issues
| https://github.com/dry-python/returns/issues |
|
Pull requests
| https://github.com/dry-python/returns/pulls |
|
Actions
| https://github.com/dry-python/returns/actions |
|
Security
| https://github.com/dry-python/returns/security |
|
Insights
| https://github.com/dry-python/returns/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fdry-python%2Freturns%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fdry-python%2Freturns%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/dry-python/returns/pull/2178#issue-comment-box |
| sobolevn | https://github.com/sobolevn |
| dry-python:master | https://github.com/dry-python/returns/tree/master |
| InAnYan:feat/maybe-bool | https://github.com/InAnYan/returns/tree/feat/maybe-bool |
|
Add conversion to bool for Maybe
| https://github.com/dry-python/returns/pull/2178#top |
| sobolevn | https://github.com/sobolevn |
| dry-python:master | https://github.com/dry-python/returns/tree/master |
| InAnYan:feat/maybe-bool | https://github.com/InAnYan/returns/tree/feat/maybe-bool |
|
Conversation
8
| https://github.com/dry-python/returns/pull/2178 |
|
Commits
9
| https://github.com/dry-python/returns/pull/2178/commits |
|
Checks
22
| https://github.com/dry-python/returns/pull/2178/checks |
|
Files changed
| https://github.com/dry-python/returns/pull/2178/files |
| Please reload this page | https://github.com/dry-python/returns/pull/2178 |
| https://github.co/hiddenchars |
| https://github.com/dry-python/returns/pull/{{ revealButtonHref }} |
|
| https://github.com/InAnYan |
| InAnYan | https://github.com/InAnYan |
| Jun 25, 2025 | https://github.com/dry-python/returns/pull/2178#issue-3176776115 |
| #2177 | https://github.com/dry-python/returns/issues/2177 |
| Please reload this page | https://github.com/dry-python/returns/pull/2178 |
| InAnYan | https://github.com/InAnYan |
| June 25, 2025 22:43 | https://github.com/dry-python/returns/pull/2178#commits-pushed-403b044 |
|
| https://github.com/InAnYan |
| feat(maybe): add conversion to bool | https://github.com/dry-python/returns/pull/2178/commits/403b044d533fa42c871aac802fc1afd68569251b |
| 403b044 | https://github.com/dry-python/returns/pull/2178/commits/403b044d533fa42c871aac802fc1afd68569251b |
|
| https://github.com/marketplace/pre-commit-ci |
| [pre-commit.ci] auto fixes from pre-commit.com hooks | https://github.com/dry-python/returns/pull/2178/commits/9912489c7ff828c0b376fb072ef85e1d09413277 |
| 9912489 | https://github.com/dry-python/returns/pull/2178/commits/9912489c7ff828c0b376fb072ef85e1d09413277 |
| https://github.com/InAnYan |
| InAnYan | https://github.com/InAnYan |
| Jun 25, 2025 | https://github.com/dry-python/returns/pull/2178#issuecomment-3005951451 |
| Please reload this page | https://github.com/dry-python/returns/pull/2178 |
| InAnYan | https://github.com/InAnYan |
| June 25, 2025 22:51 | https://github.com/dry-python/returns/pull/2178#commits-pushed-650d9d7 |
|
| https://github.com/InAnYan |
| fix(maybe): format code according to style | https://github.com/dry-python/returns/pull/2178/commits/650d9d75c363ec1783606320f27ce110cb4d2839 |
| 650d9d7 | https://github.com/dry-python/returns/pull/2178/commits/650d9d75c363ec1783606320f27ce110cb4d2839 |
|
| https://github.com/marketplace/pre-commit-ci |
| [pre-commit.ci] auto fixes from pre-commit.com hooks | https://github.com/dry-python/returns/pull/2178/commits/30aa760e90534a2243e4305bb01de21b809982e7 |
| 30aa760 | https://github.com/dry-python/returns/pull/2178/commits/30aa760e90534a2243e4305bb01de21b809982e7 |
| https://github.com/sobolevn |
| sobolevn | https://github.com/sobolevn |
|
Jun 26, 2025
| https://github.com/dry-python/returns/pull/2178#pullrequestreview-2961149838 |
|
View reviewed changes
| https://github.com/dry-python/returns/pull/2178/files/30aa760e90534a2243e4305bb01de21b809982e7 |
| sobolevn | https://github.com/sobolevn |
| https://github.com/dry-python/returns/pull/2178#pullrequestreview-2961149838 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/dry-python/returns/pull/2178 |
| returns/maybe.py | https://github.com/dry-python/returns/pull/2178/files/30aa760e90534a2243e4305bb01de21b809982e7#diff-5148a6dcc1448c3a628dd4d552bd6b56b56f8547d018ae1b8dd76182531f04a6 |
| Please reload this page | https://github.com/dry-python/returns/pull/2178 |
| tests/test_maybe/test_maybe_conversions.py | https://github.com/dry-python/returns/pull/2178/files/30aa760e90534a2243e4305bb01de21b809982e7#diff-4db08fa36b8b750a33e0736b2b93b7df16919a6d5d5d8914f6202afda1145d06 |
| Please reload this page | https://github.com/dry-python/returns/pull/2178 |
| tests/test_maybe/test_maybe_conversions.py | https://github.com/dry-python/returns/pull/2178/files/30aa760e90534a2243e4305bb01de21b809982e7#diff-4db08fa36b8b750a33e0736b2b93b7df16919a6d5d5d8914f6202afda1145d06 |
| Please reload this page | https://github.com/dry-python/returns/pull/2178 |
| tests/test_maybe/test_maybe_conversions.py | https://github.com/dry-python/returns/pull/2178/files/30aa760e90534a2243e4305bb01de21b809982e7#diff-4db08fa36b8b750a33e0736b2b93b7df16919a6d5d5d8914f6202afda1145d06 |
| Please reload this page | https://github.com/dry-python/returns/pull/2178 |
| https://github.com/apps/codecov |
| codecov | https://github.com/apps/codecov |
| Jun 26, 2025 | https://github.com/dry-python/returns/pull/2178#issuecomment-3007598429 |
| Please reload this page | https://github.com/dry-python/returns/pull/2178 |
| Codecov | https://app.codecov.io/gh/dry-python/returns/pull/2178?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dry-python |
| 82ef3ef | https://app.codecov.io/gh/dry-python/returns/commit/82ef3ef6dea34425f728f8392186291ef6b8a3a8?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dry-python |
| 9cb06fa | https://app.codecov.io/gh/dry-python/returns/commit/9cb06fa626a94dac306d6dc8a25a3029e56abc74?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dry-python |
| ☔ View full report in Codecov by Sentry | https://app.codecov.io/gh/dry-python/returns/pull/2178?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dry-python |
| Share it here | https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dry-python |
| Test Analytics | https://docs.codecov.com/docs/test-analytics |
| Please reload this page | https://github.com/dry-python/returns/pull/2178 |
| InAnYan | https://github.com/InAnYan |
| June 26, 2025 23:32 | https://github.com/dry-python/returns/pull/2178#commits-pushed-4e1dc0e |
|
| https://github.com/InAnYan |
|
| https://github.com/sobolevn |
| Update returns/maybe.py | https://github.com/dry-python/returns/pull/2178/commits/4e1dc0e38a316ee1ca76d1cea39c8ebb22ecb91e |
| 4e1dc0e | https://github.com/dry-python/returns/pull/2178/commits/4e1dc0e38a316ee1ca76d1cea39c8ebb22ecb91e |
|
| https://github.com/InAnYan |
|
| https://github.com/sobolevn |
| Update tests/test_maybe/test_maybe_conversions.py | https://github.com/dry-python/returns/pull/2178/commits/bb53ab49c67f377fb28ea73c4741a99e0afba3d5 |
| bb53ab4 | https://github.com/dry-python/returns/pull/2178/commits/bb53ab49c67f377fb28ea73c4741a99e0afba3d5 |
|
| https://github.com/InAnYan |
|
| https://github.com/sobolevn |
| Update tests/test_maybe/test_maybe_conversions.py | https://github.com/dry-python/returns/pull/2178/commits/650002435e4a0c3934a4b24857df503856a548ca |
| 6500024 | https://github.com/dry-python/returns/pull/2178/commits/650002435e4a0c3934a4b24857df503856a548ca |
|
| https://github.com/InAnYan |
|
| https://github.com/sobolevn |
| Update tests/test_maybe/test_maybe_conversions.py | https://github.com/dry-python/returns/pull/2178/commits/7df4ca1c64ce37207cd85331669862b50378a5f5 |
| 7df4ca1 | https://github.com/dry-python/returns/pull/2178/commits/7df4ca1c64ce37207cd85331669862b50378a5f5 |
|
| https://github.com/marketplace/pre-commit-ci |
| [pre-commit.ci] auto fixes from pre-commit.com hooks | https://github.com/dry-python/returns/pull/2178/commits/9cb06fa626a94dac306d6dc8a25a3029e56abc74 |
| 9cb06fa | https://github.com/dry-python/returns/pull/2178/commits/9cb06fa626a94dac306d6dc8a25a3029e56abc74 |
| https://github.com/InAnYan |
| InAnYan | https://github.com/InAnYan |
| June 26, 2025 20:33 | https://github.com/dry-python/returns/pull/2178#event-18343576540 |
| https://github.com/sobolevn |
| sobolevn | https://github.com/sobolevn |
|
Jun 27, 2025
| https://github.com/dry-python/returns/pull/2178#pullrequestreview-2965258872 |
|
View reviewed changes
| https://github.com/dry-python/returns/pull/2178/files/9cb06fa626a94dac306d6dc8a25a3029e56abc74 |
| sobolevn | https://github.com/sobolevn |
| https://github.com/dry-python/returns/pull/2178#pullrequestreview-2965258872 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/dry-python/returns/pull/2178 |
| https://github.com/sobolevn |
| sobolevn | https://github.com/sobolevn |
| e04c801 | https://github.com/dry-python/returns/commit/e04c801d06d207e3b51a00d599dc0edef2a21e16 |
| Jun 27, 2025 | https://github.com/dry-python/returns/pull/2178#event-18351870407 |
| Please reload this page | https://github.com/dry-python/returns/pull/2178 |
| 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%2Fdry-python%2Freturns%2Fpull%2F2178 |
|
| https://github.com/sobolevn |
|
sobolevn
| https://github.com/sobolevn |
|
| https://github.com/dry-python/returns/pull/2178/files/9cb06fa626a94dac306d6dc8a25a3029e56abc74 |
|
Feature request: add bool conversion to Maybe
| https://github.com/dry-python/returns/issues/2177 |
| Please reload this page | https://github.com/dry-python/returns/pull/2178 |
|
| https://github.com/InAnYan |
|
| https://github.com/sobolevn |
|
| 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 |