Skip to content

Commit

Permalink
fix(authenticated_http/storage_push_file): fix and add type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
Psycojoker committed Jun 19, 2024
1 parent 29f2b31 commit 978910d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aleph/sdk/client/authenticated_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ async def ipfs_push_file(self, file_content: bytes) -> str:
resp.raise_for_status()
return (await resp.json()).get("hash")

async def storage_push_file(self, file_content) -> str:
async def storage_push_file(self, file_content: bytes) -> Optional[str]:
"""
Push a file to the storage service.
"""
Expand Down

0 comments on commit 978910d

Please sign in to comment.