Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

WIP: migrate to asyncio and httpx#998

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
L0ric0 wants to merge9 commits intopython-gitlab:mainfromL0ric0:master

Conversation

L0ric0
Copy link

@L0ric0L0ric0 commentedJan 22, 2020
edited
Loading

starting to migrate to async while staying compatible to the syncronous versions.

TODO:

  • rewrite GitlabListinit to be async compatible
  • find all functions that need a async_ version

which funktions are suposed to be called by the user? if possible i would like to keep all internal funktions async and run the functions that have to be sync withrun_until_complete()

would it be better to have a centrel event_loop instead of getting it withget_event_loop every time and if so where would i put it?

fix#945

darkdragon-001 reacted with thumbs up emoji
@L0ric0
Copy link
Author

at the moment the httpx module dose not supportauth in thehttpx.Request object and doesn't supply aclient.prepare_request method so that thehttp_request method in__init__.py doesn't work. Does somebody know of an alternative?

@max-wittig
Copy link
Member

Thanks for all the efforts on this. Maybe we should wait until the 1.0 release of https in April?

A 1.0 release is expected to be issued sometime on or before April 2020.`

@L0ric0
Copy link
Author

yeah probably hopefully they fix the two issues that are blocking this pr

max-wittig reacted with heart emoji

@darkdragon-001
Copy link

Can you check ifhttpx version 1.0.0.beta0 fixes the remaining issues?

@JohnVillalovos
Copy link
Member

No activity in almost two years from the author. Closing.

darkdragon-001 reacted with confused emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@max-wittigmax-wittigAwaiting requested review from max-wittig

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

migrate to asyncio
4 participants
@L0ric0@max-wittig@darkdragon-001@JohnVillalovos

[8]ページ先頭

©2009-2025 Movatter.jp