Skip to content

Commit

Permalink
Client Constructor (#20310)
Browse files Browse the repository at this point in the history
* Removed some stuff

* Looking at constructors

* Updated request

* Added client close

* working client creation

Co-authored-by: simorenoh <simonmorenohe@gmail.com>
  • Loading branch information
annatisch and simorenoh authored Aug 20, 2021
1 parent 61ba8d1 commit 15dcceb
Show file tree
Hide file tree
Showing 10 changed files with 395 additions and 4,518 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

from .. import exceptions
from .. import http_constants
from .. import _retry_utility
from . import _retry_utility
from .._synchronized_request import _request_body_from_data


Expand Down Expand Up @@ -174,7 +174,7 @@ async def AsynchronousRequest(
request.headers[http_constants.HttpHeaders.ContentLength] = 0

# Pass _Request function with it's parameters to retry_utility's Execute method that wraps the call with retries
return await _retry_utility.Execute(
return await _retry_utility.ExecuteAsync(
client,
global_endpoint_manager,
_Request,
Expand Down
Loading

0 comments on commit 15dcceb

Please sign in to comment.