I'm creating a new function app for a blob event trigger by using the command func new --template BlobTrigger. The generated Python entrypoint for the BlobTrigger looks as follows:
def main(myblob: func.InputStream):
logging.info(f"Python blob trigger function processed blob \n"
f"Name: {myblob.name}\n"
f"Blob Size: {myblob.length} bytes")
The myblob contains the image blob data that was uploaded to the blob storage. I'd need the corresponding metadata to this blob as well. I haven't found any way to get the metadata from the myblob parameter, looking at the available functions and attributes, it doesn't have any to retrieve the metadata from it.
Is there a way to get the metadata from this object or would I have to do a separate call to the Blob storage to retrieve that info?
