Importing AClientOptions
and using it as-is is usually wrong
#929
Labels
bug
Something isn't working
AClientOptions
and using it as-is is usually wrong
#929
Bug report
Describe the bug
When I import
AClientOptions
as the default options to pass toacreate_client()
then I get an asynchronous client with a synchronous storage client back and run into errors like this:To Reproduce
AClientOptions()
:Expected behavior
The AClientOptions should use only asynchronous clients so that they can be used as-is to build an asynchronous client.
System information
Additional context
I want to pass in
AClientOptions()
rather than relying on the default options of the library because I sometimes want to pass in options and sometimes don't and I do this with a shared function so the shared code always passes in options toacreate_client
.The text was updated successfully, but these errors were encountered: