Functions.Templates/Templates/EventGridBlobTrigger-Python/__init__.py (6 lines of code) (raw):
import logging
from azure.functions import InputStream
def main(myblob: InputStream):
logging.info(f"Python blob trigger function processed blob \n"
f"Name: {myblob.name}\n"
f"Blob Size: {myblob.length} bytes")