sheami / tests /test_gridfs_file_download.py
vikramvasudevan's picture
Upload folder using huggingface_hub
469de1d verified
import asyncio
from modules.db import SheamiDB
async def test():
db = SheamiDB()
pdf_bytes = await db.get_final_report_pdf(report_id="68a5bbacdcf474efa9e616ed")
print(pdf_bytes) # Or handle result accordingly
if __name__ == "__main__":
asyncio.run(test())