Skip to content

Commit a008971

Browse files
fix: shared args between calls (#111)
Co-authored-by: Nils <[email protected]>
1 parent 296edd6 commit a008971

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

routingpy/client_default.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
# the License.
1616
#
1717

18+
import copy
1819
import json
1920
import random
2021
import time
@@ -156,7 +157,7 @@ def _request(
156157

157158
authed_url = self._generate_auth_url(url, get_params)
158159

159-
final_requests_kwargs = self.kwargs
160+
final_requests_kwargs = copy.copy(self.kwargs)
160161

161162
# Determine GET/POST.
162163
requests_method = self._session.get

0 commit comments

Comments
 (0)