Title: fix: Update __exit__ method to use Optional types by AustinZhang1024 · Pull Request #733 · python-escpos/python-escpos · GitHub
Open Graph Title: fix: Update __exit__ method to use Optional types by AustinZhang1024 · Pull Request #733 · python-escpos/python-escpos
X Title: fix: Update __exit__ method to use Optional types by AustinZhang1024 · Pull Request #733 · python-escpos/python-escpos
Description: Python library to manipulate ESC/POS printers. Contribute to python-escpos/python-escpos development by creating an account on GitHub.
Open Graph Description: Description From the newest document, better to allow None in the type hint. This will fix the invalid-context-manager error of ty. If the context was exited without an exception, all three argume...
X Description: Description From the newest document, better to allow None in the type hint. This will fix the invalid-context-manager error of ty. If the context was exited without an exception, all three argume...
Opengraph URL: https://github.com/python-escpos/python-escpos/pull/733
X: @github
Domain: github.com
| 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:47768f9e-f65e-e33a-ead6-c22a377e9008 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A3B2:227D33:2854227:392FFD9:6A4CF036 |
| html-safe-nonce | e343024e5d9175383758d3e24b3e548a3ccb4bb9e7d771281b4a03ff8dc7d428 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBM0IyOjIyN0QzMzoyODU0MjI3OjM5MkZGRDk6NkE0Q0YwMzYiLCJ2aXNpdG9yX2lkIjoiNzc5NDA2OTE3Mzc4NTM5MTE1OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a40e15f549f2217cb096c19eedff05f66f6b9b30bc881e4ebb79e0b43409c07a |
| hovercard-subject-tag | pull_request:3698588983 |
| 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/_view_fragments/voltron/pull_requests/show/python-escpos/python-escpos/733/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/018b2bf295a468ab634a1c2c4716b97de08d31f8a78b4a9b8f2fad147ad3e27e/python-escpos/python-escpos/pull/733 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/018b2bf295a468ab634a1c2c4716b97de08d31f8a78b4a9b8f2fad147ad3e27e/python-escpos/python-escpos/pull/733 |
| og:image:alt | Description From the newest document, better to allow None in the type hint. This will fix the invalid-context-manager error of ty. If the context was exited without an exception, all three argume... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AustinZhang1024 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 299b43bca6e02ad35197ffeba30d2466846d5fb02ab96fbced5b5e6cec589fb8 |
| turbo-cache-control | no-cache |
| go-import | github.com/python-escpos/python-escpos git https://github.com/python-escpos/python-escpos.git |
| octolytics-dimension-user_id | 16302939 |
| octolytics-dimension-user_login | python-escpos |
| octolytics-dimension-repository_id | 32363483 |
| octolytics-dimension-repository_nwo | python-escpos/python-escpos |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 32363483 |
| octolytics-dimension-repository_network_root_nwo | python-escpos/python-escpos |
| 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 | efec6750a5afcaeaf5dfcf629f404cf98c8371e3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width