Skip to content

Commit 978910d

Browse files
committed
fix(authenticated_http/storage_push_file): fix and add type annotation
1 parent 29f2b31 commit 978910d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aleph/sdk/client/authenticated_http.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ async def ipfs_push_file(self, file_content: bytes) -> str:
131131
resp.raise_for_status()
132132
return (await resp.json()).get("hash")
133133

134-
async def storage_push_file(self, file_content) -> str:
134+
async def storage_push_file(self, file_content: bytes) -> Optional[str]:
135135
"""
136136
Push a file to the storage service.
137137
"""

0 commit comments

Comments
 (0)