Title: Update yaml.load() to avoid warning · Pull Request #1041 · realpython/python-guide · GitHub
Open Graph Title: Update yaml.load() to avoid warning · Pull Request #1041 · realpython/python-guide
X Title: Update yaml.load() to avoid warning · Pull Request #1041 · realpython/python-guide
Description: The yaml.load() function call throws the following warning when Loader isn't specified:
"YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details."
The updated default loader avoids arbitrary code execution after issuing a warning, however the warning can be avoided with yaml.load(input, Loader=) or yaml.
Open Graph Description: The yaml.load() function call throws the following warning when Loader isn't specified: "YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is uns...
X Description: The yaml.load() function call throws the following warning when Loader isn't specified: "YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loade...
Opengraph URL: https://github.com/realpython/python-guide/pull/1041
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:3ca9fab3-34ce-3093-83c6-b02966273453 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | D276:1C7458:71F6367:9544058:696DA8C1 |
| html-safe-nonce | 2f7dc7c33ab411e324cef9d30b6aae157cb6d5c3f59dcd823e77c49e31a1aa36 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjc2OjFDNzQ1ODo3MUY2MzY3Ojk1NDQwNTg6Njk2REE4QzEiLCJ2aXNpdG9yX2lkIjoiMjc1OTAyNjcwODU1ODIyNzY0OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4310f6702136697ce20ea0262d5f8662e2051c8c17c2b2954879b1a19ba7068a |
| hovercard-subject-tag | pull_request:377899570 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/realpython/python-guide/pull/1041/checks |
| twitter:image | https://avatars.githubusercontent.com/u/10137?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/10137?s=400&v=4 |
| og:image:alt | The yaml.load() function call throws the following warning when Loader isn't specified: "YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is uns... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4922b452d03cd8dbce479d866a11bc25b59ef6ee2da23aa9b0ddefa6bd4d0064 |
| turbo-cache-control | no-preview |
| go-import | github.com/realpython/python-guide git https://github.com/realpython/python-guide.git |
| octolytics-dimension-user_id | 5448020 |
| octolytics-dimension-user_login | realpython |
| octolytics-dimension-repository_id | 1481305 |
| octolytics-dimension-repository_nwo | realpython/python-guide |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1481305 |
| octolytics-dimension-repository_network_root_nwo | realpython/python-guide |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7e5ae23c70136152637ceee8d6faceb35596ec46 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width