Title: add timeout for graphql requests by alperenkaplan · Pull Request #588 · Shopify/shopify_python_api · GitHub
Open Graph Title: add timeout for graphql requests by alperenkaplan · Pull Request #588 · Shopify/shopify_python_api
X Title: add timeout for graphql requests by alperenkaplan · Pull Request #588 · Shopify/shopify_python_api
Description: WHY are these changes introduced? I realized that shopify servers sometimes doesn't respond and the code halts. Giving an optional timeout parameter would fix the issue. WHAT is this pull request doing? Adding an optional timeout parameter to the execute method of GraphQL Class in shopify/resources/graphql.py on line 18 and using that parameter on line 27. Checklist I have updated the CHANGELOG (if applicable) [+] I have followed the Shopify Python guide
Open Graph Description: WHY are these changes introduced? I realized that shopify servers sometimes doesn't respond and the code halts. Giving an optional timeout parameter would fix the issue. WHAT is this pull reque...
X Description: WHY are these changes introduced? I realized that shopify servers sometimes doesn't respond and the code halts. Giving an optional timeout parameter would fix the issue. WHAT is this pull r...
Opengraph URL: https://github.com/Shopify/shopify_python_api/pull/588
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8e648990-3387-d61c-f967-8d34164fde31 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BB34:1D195C:F61A0:1510CD:696963B5 |
| html-safe-nonce | bff755dc5dcf3d9e56b5551c7e31f9b1f78fd1dce6bcf7073c5b630ace4758f0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjM0OjFEMTk1QzpGNjFBMDoxNTEwQ0Q6Njk2OTYzQjUiLCJ2aXNpdG9yX2lkIjoiMjQyNDE3NDM2NzkxODg3NTU3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4eca7ab00f56ef8da47670e0dc2d38d07722ff3ad0841355c08ce95d5686686f |
| hovercard-subject-tag | pull_request:975056346 |
| 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/Shopify/shopify_python_api/pull/588/files |
| twitter:image | https://avatars.githubusercontent.com/u/48252753?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/48252753?s=400&v=4 |
| og:image:alt | WHY are these changes introduced? I realized that shopify servers sometimes doesn't respond and the code halts. Giving an optional timeout parameter would fix the issue. WHAT is this pull reque... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 48487c1ad776a7975b7132d95f4240ff3ae37cd5b8e3cb597102a4edb76738f1 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/Shopify/shopify_python_api git https://github.com/Shopify/shopify_python_api.git |
| octolytics-dimension-user_id | 8085 |
| octolytics-dimension-user_login | Shopify |
| octolytics-dimension-repository_id | 2249127 |
| octolytics-dimension-repository_nwo | Shopify/shopify_python_api |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 2249127 |
| octolytics-dimension-repository_network_root_nwo | Shopify/shopify_python_api |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 669463fcc54773a88c1f5a44eef6b99a5504b9c7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width