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 | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:e8b09202-ec49-a01f-d0b9-6c454c54e4c7 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A30C:A3B49:5975F7:79A693:6A4D3E55 |
| html-safe-nonce | 2768da20efbe4d4948cebe51400e11fef972117b2d23d71061bdc91c4f7f10e8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzBDOkEzQjQ5OjU5NzVGNzo3OUE2OTM6NkE0RDNFNTUiLCJ2aXNpdG9yX2lkIjoiNjUyOTQwNTMzNzUzNDgwNzYzNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | dd0f2afad308544bfd33c247628a582968a7bb69c724d122839fccf82d0ce66e |
| 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/python-escpos/python-escpos/pull/733/commits |
| 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 | 92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6 |
| 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 | 56fc8347865a14e2ec811533d68f929cf4e0ec19 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width