Skip to content

Commit

Permalink
fix(api)(rag): upgrade werkzeug for security (#125)
Browse files Browse the repository at this point in the history
Upgrade Werkzueg for fix the security advisory.
  • Loading branch information
mawandm authored Jun 18, 2024
1 parent 4a46ed7 commit f91dc9a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion nesis/api/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ smbprotocol==1.12.0
flask==3.0.0
boto3==1.34.75

Werkzeug~=3.0.1
Werkzeug>=3.0.3
dropbox~=11.36.2

# Document datasources
Expand Down
2 changes: 1 addition & 1 deletion nesis/rag/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ gevent==23.9.1
PyPDF2==3.0.1

chromadb==0.4.24
Werkzeug==3.0.1
Werkzeug>=3.0.3
pandas==2.2.1

injector==0.21.0
Expand Down
4 changes: 0 additions & 4 deletions nesis/rag/tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
import os

from nesis.api.core.models.entities import (
Rule,
Prediction,
Model,
Setting,
Role,
User,
Expand Down Expand Up @@ -78,8 +76,6 @@ def get_header(token=None):


def clear_database(session):
session.query(Rule).delete()
session.query(Model).delete()
session.query(Prediction).delete()
session.query(Setting).delete()
session.query(User).delete()
Expand Down

0 comments on commit f91dc9a

Please sign in to comment.