File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/unstructured_client/utils Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ def suggest_defining_url_if_401(
7676
7777 @functools .wraps (func )
7878 def wrapper (* args : _P .args , ** kwargs : _P .kwargs ) -> operations .PartitionResponse :
79- from unstructured_client .models import errors
79+ from unstructured_client .models import errors # pylint: disable=C0415
8080
8181 try :
8282 return func (* args , ** kwargs )
@@ -97,5 +97,5 @@ def log_retries(retry_count, sleep):
9797 """Function for logging retries to give users visibility into requests."""
9898 logging .basicConfig (level = logging .INFO , stream = sys .stdout )
9999 logging .info (
100- f "Retry attempt { retry_count } . Sleeping { round ( sleep , 1 ) } seconds before retry."
100+ "Retry attempt %s . Sleeping %s seconds before retry." , retry_count , sleep
101101 )
You can’t perform that action at this time.
0 commit comments