Added s3 storage

This commit is contained in:
Mawoka
2023-04-18 19:22:26 +02:00
parent 345dd4583d
commit a0b02ec9c3
9 changed files with 1026 additions and 653 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ class DetaStorage:
"""
:param file_name: The name of the file to be downloaded
:return: Either bytes f successfull download or None if failed
:return: Either bytes if successful download or None if failed
"""
async with ClientSession(headers=self.headers) as session, session.get(
f"{self.deta_url}/files/download?name={file_name}"