Skip to content
This repository was archived by the owner on Oct 6, 2026. It is now read-only.

add timeout for graphql requests - #588

Closed
alperenkaplan wants to merge 1 commit into
Shopify:mainfrom
alperenkaplan:master
Closed

alperenkaplan wants to merge 1 commit into
Shopify:mainfrom
alperenkaplan:master

Conversation

@alperenkaplan

Copy link
Copy Markdown

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

@ghost ghost added the cla-needed label Jun 22, 2022
@alperenkaplan alperenkaplan reopened this Jun 22, 2022
@Suleimanlatrsh

Copy link
Copy Markdown
Contributor

Thanks for contributing! This package is deprecated and we're archiving this repo, so we're closing all open issues and PRs. Please use shopify-app-python instead, and open new issues there. More context: Rethinking support for PHP/Python packages

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants