Skip to content

Commit

Permalink
Fix Lint errors and type casting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
dilverse committed Oct 25, 2024
1 parent 1d0a017 commit 734b9c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions minio/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
from datetime import datetime, timedelta
from io import BytesIO
from random import random
from typing import BinaryIO, Iterator, TextIO, Tuple, Union, cast
from typing import Any, BinaryIO, Iterator, TextIO, Tuple, Union, cast
from urllib.parse import urlunsplit
from xml.etree import ElementTree as ET

Expand Down Expand Up @@ -1268,7 +1268,7 @@ def prompt_object(
request_headers: DictType | None = None,
ssec: SseCustomerKey | None = None,
version_id: str | None = None,
**kwargs: DictType | None,
**kwargs: Any | None,
) -> BaseHTTPResponse:
"""
Prompt an object using natural language.
Expand Down Expand Up @@ -1318,7 +1318,7 @@ def prompt_object(
bucket_name,
object_name,
headers=cast(DictType, headers),
query_params=extra_query_params,
query_params=cast(DictType, extra_query_params),
body=body.encode(),
preload_content=False,
)
Expand Down

0 comments on commit 734b9c3

Please sign in to comment.