
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: -LAN- <laipz8200@outlook.com>
9 lines
209 B
Python
9 lines
209 B
Python
from flask_orjson import OrjsonProvider
|
|
|
|
from dify_app import DifyApp
|
|
|
|
|
|
def init_app(app: DifyApp):
|
|
"""Initialize Flask-Orjson extension for faster JSON serialization"""
|
|
app.json = OrjsonProvider(app)
|