Title: Calls to third party code not respecting type hints · Issue #228 · openzim/python-scraperlib · GitHub
Open Graph Title: Calls to third party code not respecting type hints · Issue #228 · openzim/python-scraperlib
X Title: Calls to third party code not respecting type hints · Issue #228 · openzim/python-scraperlib
Description: Following #227, scraperlib users are not allowed to send values of unexpected types to our API. We should apply the same strict treatment to our usage of other's APIs. beartype allows setting this in our code and raising or warning on in...
Open Graph Description: Following #227, scraperlib users are not allowed to send values of unexpected types to our API. We should apply the same strict treatment to our usage of other's APIs. beartype allows setting this ...
X Description: Following #227, scraperlib users are not allowed to send values of unexpected types to our API. We should apply the same strict treatment to our usage of other's APIs. beartype allows setting t...
Opengraph URL: https://github.com/openzim/python-scraperlib/issues/228
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Calls to third party code not respecting type hints","articleBody":"Following #227, scraperlib users are not allowed to send values of unexpected types to our API.\nWe should apply the same strict treatment to our usage of other's APIs.\n\nbeartype allows setting this in our code and raising or warning on incorrect calls. Once we fix the codebase, we would keep it and it would serve as automated test for this.","author":{"url":"https://github.com/rgaudin","@type":"Person","name":"rgaudin"},"datePublished":"2024-12-17T14:17:46.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/228/python-scraperlib/issues/228"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5d859476-1c1a-d805-8577-24e4b767185a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C45C:C9499:4EDC91:6754B6:698E8B3C |
| html-safe-nonce | 376280f13f9952a738f6efd3465dc964a80d90ed9e0af1e7aca21d223cc52c55 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDVDOkM5NDk5OjRFREM5MTo2NzU0QjY6Njk4RThCM0MiLCJ2aXNpdG9yX2lkIjoiOTA1ODg1ODcyMzcxNjI3MDkwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | cc8b123af42906f51f5c281b2d82928c6a2e626a3bd1bd9c4cf9a7b532789430 |
| hovercard-subject-tag | issue:2745066101 |
| github-keyboard-shortcuts | repository,issues,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/issues/show/openzim/python-scraperlib/228/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fe2a5f82df6723dd5089d0520eb46238b56b8e3234443f363bf87f5c36c8612f/openzim/python-scraperlib/issues/228 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fe2a5f82df6723dd5089d0520eb46238b56b8e3234443f363bf87f5c36c8612f/openzim/python-scraperlib/issues/228 |
| og:image:alt | Following #227, scraperlib users are not allowed to send values of unexpected types to our API. We should apply the same strict treatment to our usage of other's APIs. beartype allows setting this ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rgaudin |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb2828a801ee6b7be618f3ac76fbf55def35bbc30f053a9c41bf90210b8b72ba |
| turbo-cache-control | no-preview |
| go-import | github.com/openzim/python-scraperlib git https://github.com/openzim/python-scraperlib.git |
| octolytics-dimension-user_id | 26540839 |
| octolytics-dimension-user_login | openzim |
| octolytics-dimension-repository_id | 237924365 |
| octolytics-dimension-repository_nwo | openzim/python-scraperlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 237924365 |
| octolytics-dimension-repository_network_root_nwo | openzim/python-scraperlib |
| 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 | e6b91a7e6e46287d26887e3fb7a4161657bab8f7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width