We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21c797b commit 6d2c183Copy full SHA for 6d2c183
databricks/sdk/_base_client.py
@@ -270,6 +270,9 @@ def _perform(self,
270
if error is not None:
271
# If the request body is a seekable stream, rewind it so that it is ready
272
# to be read again in case of a retry.
273
+ #
274
+ # TODO: This should be moved into a "before-retry" hook to avoid one
275
+ # unnecessary seek on the last failed retry before aborting.
276
if self._is_seekable_stream(data):
277
data.seek(initial_data_position)
278
raise error from None
0 commit comments