Skip to content

Commit 61e64af

Browse files
committed
linting
1 parent 98910d3 commit 61e64af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/unstructured_client/utils/_human_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
)

0 commit comments

Comments
 (0)