[FEATURE] Async support
See original GitHub issueIs the async feature stable to use? I tried following code but get error “AttributeError: ‘AWS4Auth’ object has no attribute ‘encode’”
async_search = AsyncOpenSearch(
hosts = [{'host': host, 'port': 443}],
http_auth = awsauth,
use_ssl = True,
verify_certs = True,
transport_class=AsyncTransport,
)
async_search.search(sth...)
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:15 (6 by maintainers)
Top Results From Across the Web
Async functions | Can I use... Support tables for HTML5, CSS3 ...
Async functions make it possible to treat functions returning Promise objects as if they were synchronous. Usage % of. all users, all tracked,...
Read more >async function - JavaScript - MDN Web Docs - Mozilla
The async function declaration declares an async function where the await keyword is permitted within the function body. The async and await ...
Read more >Async support in .NET - New Relic Documentation
How to activate asynchronous mode with New Relic's .NET agent, plus a summary of new, disabled, or unavailable features when async mode is...
Read more >Asynchronous Programming with Async and Await - Visual Basic
This topic provides an overview of when and how to use async programming and includes links to support topics that contain details and...
Read more >Asynchronous programming: futures, async, await | Dart
When you call an asynchronous function, it returns an uncompleted future. That future is waiting for the function's asynchronous operation to finish or...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Based on the previous comments, I modified it a bit and ended up with:
If you agree, I can proceed to open a PR so we get this moving toward a merge
I had this working workaround thanks to samuelcolvin/aioaws
the
AIOHttpConnection
usesaiohttp.ClientSession
so I created a new class forAIOHttpConnection
class and a newaiohttp.ClientSession
to sign the requests, enjoy 😉