Skip to content

Commit 98910d3

Browse files
committed
blacken _human_utils
1 parent a5a6cdc commit 98910d3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/unstructured_client/utils/_human_utils.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def suggest_defining_url_if_401(
7777
@functools.wraps(func)
7878
def wrapper(*args: _P.args, **kwargs: _P.kwargs) -> operations.PartitionResponse:
7979
from unstructured_client.models import errors
80-
80+
8181
try:
8282
return func(*args, **kwargs)
8383
except errors.SDKError as error:
@@ -89,11 +89,13 @@ def wrapper(*args: _P.args, **kwargs: _P.kwargs) -> operations.PartitionResponse
8989
)
9090

9191
return func(*args, **kwargs)
92-
92+
9393
return wrapper
9494

9595

9696
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)
99-
logging.info(f"Retry attempt {retry_count}. Sleeping {round(sleep, 1)} seconds before retry.")
99+
logging.info(
100+
f"Retry attempt {retry_count}. Sleeping {round(sleep, 1)} seconds before retry."
101+
)

0 commit comments

Comments
 (0)