Hi Mark. Thank you for this. It works.
How can I download the pdf from firebase storage to anvil onto my local machine?
This was my assumption but it didn’t work.
doc_ref = fs.doc(fs.db, 'collection_name','someuid')
doc_uid,doc_data = fs.get_doc(doc_ref)
ref = storage.ref(doc_data['pdf_name'])
url = storage.get_download_url(ref)
download(url)