From f7eb54f6cf182cb09360479eb531bda03dca11cd Mon Sep 17 00:00:00 2001 From: Susanta Biswas Date: Fri, 13 Jun 2025 11:57:38 +0530 Subject: [PATCH] Mysql data converter for Trigger binding --- azure/functions/mysql.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/azure/functions/mysql.py b/azure/functions/mysql.py index cbaf18e7..a5e2c4a3 100644 --- a/azure/functions/mysql.py +++ b/azure/functions/mysql.py @@ -76,3 +76,7 @@ def encode(cls, obj: typing.Any, *, type='json', value=json.dumps([dict(d) for d in data]) ) + +class MySqlTriggerConverter(MySqlConverter, + binding='mysqlTrigger', trigger=True): + pass \ No newline at end of file