Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Dec 23, 2021
1 parent 583d0bd commit ff639dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion neuro-sdk/src/neuro_sdk/_gcs_bucket_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ async def _upload_chunk(*, final: bool = False) -> None:
data_range = f"{uploaded_bytes}-{uploaded_bytes+size-1}"
async with self._request(
"PUT",
url=session_url,
url=str(session_url),
data=BytesIO(buffer),
headers={"Content-Range": (f"bytes {data_range}/{total}")},
):
Expand Down
2 changes: 1 addition & 1 deletion neuro-sdk/src/neuro_sdk/_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def active_items(cls) -> Set["JobStatus"]:
def finished_items(cls) -> Set["JobStatus"]:
return {item for item in cls.items() if item.is_finished}

__format__ = str.__format__
__format__ = str.__format__ # type: ignore[assignment]
__str__ = str.__str__


Expand Down

0 comments on commit ff639dd

Please sign in to comment.