René's URL Explorer Experiment


Title: Async mode support by michelts · Pull Request #31 · ConvertAPI/convertapi-library-python · GitHub

Open Graph Title: Async mode support by michelts · Pull Request #31 · ConvertAPI/convertapi-library-python

X Title: Async mode support by michelts · Pull Request #31 · ConvertAPI/convertapi-library-python

Description: Introduces the functions async_convert and async_poll to work in async mode.

Open Graph Description: Introduces the functions async_convert and async_poll to work in async mode.

X Description: Introduces the functions async_convert and async_poll to work in async mode.

Opengraph URL: https://github.com/ConvertAPI/convertapi-library-python/pull/31

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:39da7d3c-767e-8b54-481d-46371a03a940
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCE8A:1012B6:1EEA867:2ADAE0A:697CB224
html-safe-nonceafce0cb64a1629ecf4a29db7558f326b992f06febfb9045f4682b9eb0c348001
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRThBOjEwMTJCNjoxRUVBODY3OjJBREFFMEE6Njk3Q0IyMjQiLCJ2aXNpdG9yX2lkIjoiNTY2OTMxNDUwMTI5MjExMDM3MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc41b3a2c6bb8c44248302139828b440bb803f5a215c70a7a6a28399fb91ac73f
hovercard-subject-tagpull_request:1141005770
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/ConvertAPI/convertapi-library-python/31/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5d18c54d560a8d7d81385166be6e9d094ae4e083913b6b713268383704423ff0/ConvertAPI/convertapi-library-python/pull/31
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5d18c54d560a8d7d81385166be6e9d094ae4e083913b6b713268383704423ff0/ConvertAPI/convertapi-library-python/pull/31
og:image:altIntroduces the functions async_convert and async_poll to work in async mode.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemichelts
hostnamegithub.com
expected-hostnamegithub.com
Nonef30e23787c843d478679169eb69bc1bf04c9aaf526e14cad93570a516ad7b047
turbo-cache-controlno-preview
go-importgithub.com/ConvertAPI/convertapi-library-python git https://github.com/ConvertAPI/convertapi-library-python.git
octolytics-dimension-user_id37071453
octolytics-dimension-user_loginConvertAPI
octolytics-dimension-repository_id132747126
octolytics-dimension-repository_nwoConvertAPI/convertapi-library-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id132747126
octolytics-dimension-repository_network_root_nwoConvertAPI/convertapi-library-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release741eb70fda44f52186d2172f41929617819039d5
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FConvertAPI%2Fconvertapi-library-python%2Fpull%2F31
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FConvertAPI%2Fconvertapi-library-python%2Fpull%2F31
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=ConvertAPI%2Fconvertapi-library-python
Reloadhttps://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31
Reloadhttps://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31
Reloadhttps://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31
ConvertAPI https://patch-diff.githubusercontent.com/ConvertAPI
convertapi-library-pythonhttps://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FConvertAPI%2Fconvertapi-library-python
Fork 22 https://patch-diff.githubusercontent.com/login?return_to=%2FConvertAPI%2Fconvertapi-library-python
Star 87 https://patch-diff.githubusercontent.com/login?return_to=%2FConvertAPI%2Fconvertapi-library-python
Code https://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python
Issues 3 https://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/issues
Pull requests 1 https://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pulls
Actions https://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/actions
Projects 0 https://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/projects
Security 0 https://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/security
Insights https://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pulse
Code https://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python
Issues https://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/issues
Pull requests https://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pulls
Actions https://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/actions
Projects https://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/projects
Security https://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/security
Insights https://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2FConvertAPI%2Fconvertapi-library-python%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2FConvertAPI%2Fconvertapi-library-python%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31#issue-comment-box
micheltshttps://patch-diff.githubusercontent.com/michelts
ConvertAPI:masterhttps://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/tree/master
michelts:async-mode-supporthttps://patch-diff.githubusercontent.com/michelts/convertapi-python/tree/async-mode-support
Async mode support https://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31#top
micheltshttps://patch-diff.githubusercontent.com/michelts
ConvertAPI:masterhttps://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/tree/master
michelts:async-mode-supporthttps://patch-diff.githubusercontent.com/michelts/convertapi-python/tree/async-mode-support
Conversation 2 https://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31
Commits 10 https://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31/commits
Checks 0 https://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31/checks
Files changed https://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31/files
Please reload this pagehttps://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/michelts
micheltshttps://patch-diff.githubusercontent.com/michelts
Nov 30, 2022https://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31#issue-1470365916
Please reload this pagehttps://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31
micheltshttps://patch-diff.githubusercontent.com/michelts
November 30, 2022 19:52https://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31#commits-pushed-78416a0
https://patch-diff.githubusercontent.com/michelts
Add support for async mode operationhttps://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31/commits/78416a0abb87c8002dbf71f4e2fe80fb291845e2
78416a0https://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31/commits/78416a0abb87c8002dbf71f4e2fe80fb291845e2
https://patch-diff.githubusercontent.com/michelts
Test also polling of invalid urlhttps://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31/commits/6f1b901e887808a9ae57aa067f00d97f9a11152d
6f1b901https://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31/commits/6f1b901e887808a9ae57aa067f00d97f9a11152d
https://patch-diff.githubusercontent.com/michelts
Avoid a JSONDecodeError when polling too earlierhttps://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31/commits/2f9fd3cd73f5cab9ea3f94b51a9a42f08e1e4b51
2f9fd3chttps://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31/commits/2f9fd3cd73f5cab9ea3f94b51a9a42f08e1e4b51
https://patch-diff.githubusercontent.com/michelts
Use exponential growing retry timeouthttps://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31/commits/33bfe354a1f61f052911f9de163ed9b10334bf80
33bfe35https://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31/commits/33bfe354a1f61f052911f9de163ed9b10334bf80
https://patch-diff.githubusercontent.com/michelts
Use an explicit exception to tell the conversion is in progresshttps://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31/commits/9ae5d5aabff8816b3439f38b23587126a292bfa1
9ae5d5ahttps://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31/commits/9ae5d5aabff8816b3439f38b23587126a292bfa1
https://patch-diff.githubusercontent.com/michelts
Explicit test a blank response instead of any non-json responsehttps://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31/commits/2d4108c49c0e45334df0fcb52cc8cd32e29945a0
2d4108chttps://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31/commits/2d4108c49c0e45334df0fcb52cc8cd32e29945a0
https://patch-diff.githubusercontent.com/michelts
Remove unnecessary importhttps://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31/commits/118e8b6f19e15e2e47cab671d38134629889d628
118e8b6https://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31/commits/118e8b6f19e15e2e47cab671d38134629889d628
https://patch-diff.githubusercontent.com/michelts
micheltshttps://patch-diff.githubusercontent.com/michelts
force-pushedhttps://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/compare/e97039a30fbf29a4706a480426d06afedb1423c1..118e8b6f19e15e2e47cab671d38134629889d628
e97039ahttps://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/commit/e97039a30fbf29a4706a480426d06afedb1423c1
118e8b6https://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/commit/118e8b6f19e15e2e47cab671d38134629889d628
Compare https://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/compare/e97039a30fbf29a4706a480426d06afedb1423c1..118e8b6f19e15e2e47cab671d38134629889d628
November 30, 2022 23:43https://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31#event-7926649242
https://patch-diff.githubusercontent.com/michelts
Pack the helper function inside the test classhttps://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31/commits/9930a167ef445f77c96ed03bc4044cdd328346cc
9930a16https://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31/commits/9930a167ef445f77c96ed03bc4044cdd328346cc
https://patch-diff.githubusercontent.com/michelts
micheltshttps://patch-diff.githubusercontent.com/michelts
Nov 30, 2022 https://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31#pullrequestreview-1200179413
View reviewed changes https://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31/files/9930a167ef445f77c96ed03bc4044cdd328346cc
convertapi/client.pyhttps://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31/files/2d4108c49c0e45334df0fcb52cc8cd32e29945a0#diff-7da957cd266ede2fd529bae37ac7e39b3cb86129d3fa7da85f6182c8dca48e0a
micheltshttps://patch-diff.githubusercontent.com/michelts
Nov 30, 2022https://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31#discussion_r1036555672
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#21https://github.com/ConvertAPI/convertapi-library-python/issues/21
Please reload this pagehttps://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31
micheltshttps://patch-diff.githubusercontent.com/michelts
Dec 1, 2022https://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31#discussion_r1036569883
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31
micheltshttps://patch-diff.githubusercontent.com/michelts
November 30, 2022 21:07https://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31#commits-pushed-27b517f
https://patch-diff.githubusercontent.com/michelts
Do not raise AsyncConversionInProgress for regular requestshttps://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31/commits/27b517fe06c3d3f206932744ae1bdce2c58038ac
27b517fhttps://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31/commits/27b517fe06c3d3f206932744ae1bdce2c58038ac
https://patch-diff.githubusercontent.com/michelts
Remove unnecessary importhttps://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31/commits/cccb50b73e32b229c8157358a1b635d8746eab46
cccb50bhttps://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31/commits/cccb50b73e32b229c8157358a1b635d8746eab46
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FConvertAPI%2Fconvertapi-library-python%2Fpull%2F31
Please reload this pagehttps://patch-diff.githubusercontent.com/ConvertAPI/convertapi-library-python/pull/31
https://patch-diff.githubusercontent.com/michelts
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.