Skip to content

Commit 6de1aa0

Browse files
susantabiswasSusanta Biswashallvictoriagavin-aguiar
authored
feat: Mysql data converter for Trigger binding (#289)
* Mysql data converter for Trigger binding * fix lint errors --------- Co-authored-by: Susanta Biswas <susbiswas@microsoft.com> Co-authored-by: hallvictoria <59299039+hallvictoria@users.noreply.github.com> Co-authored-by: Gavin Aguiar <80794152+gavin-aguiar@users.noreply.github.com>
1 parent d4ddb8f commit 6de1aa0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

azure/functions/mysql.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,8 @@ def encode(cls, obj: typing.Any, *,
7676
type='json',
7777
value=json.dumps([dict(d) for d in data])
7878
)
79+
80+
81+
class MySqlTriggerConverter(MySqlConverter,
82+
binding='mysqlTrigger', trigger=True):
83+
pass

0 commit comments

Comments
 (0)