mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-09-26 19:41:29 +08:00
Import escape function directly from markupsafe (#9858)
Adds a direct dependency on markupsafe, instead of relying on the implicit dependency via Flask. This is in preparation of Flask 3.0 support, which will drop compat for importing escape indirectly.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
click == 8.1.*
|
||||
Flask == 2.3.*
|
||||
imutils == 0.5.*
|
||||
markupsafe == 2.1.*
|
||||
matplotlib == 3.7.*
|
||||
mypy == 1.6.1
|
||||
numpy == 1.23.*
|
||||
|
@@ -24,11 +24,11 @@ from flask import (
|
||||
Flask,
|
||||
Response,
|
||||
current_app,
|
||||
escape,
|
||||
jsonify,
|
||||
make_response,
|
||||
request,
|
||||
)
|
||||
from markupsafe import escape
|
||||
from peewee import DoesNotExist, fn, operator
|
||||
from playhouse.shortcuts import model_to_dict
|
||||
from playhouse.sqliteq import SqliteQueueDatabase
|
||||
|
Reference in New Issue
Block a user