We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 043890f commit 0b30b41Copy full SHA for 0b30b41
src/unstructured_client/general.py
@@ -93,7 +93,7 @@ def partition(
93
94
retry_config = None
95
if isinstance(retries, utils.RetryConfig):
96
- retry_config = (retries, ["502", "503", "504"])
+ retry_config = (retries, ["5xx"])
97
98
http_res = self.do_request(
99
hook_ctx=HookContext(
@@ -225,7 +225,7 @@ async def partition_async(
225
226
227
228
229
230
http_res = await self.do_request_async(
231
0 commit comments