diff --git a/dojo/api_v2/serializers.py b/dojo/api_v2/serializers.py index 2680e8f1adf..3b533db8f77 100644 --- a/dojo/api_v2/serializers.py +++ b/dojo/api_v2/serializers.py @@ -3,6 +3,7 @@ import os import re from datetime import datetime +import collections import six import tagulous @@ -281,7 +282,7 @@ def _pop_tags(self, validated_data): return (to_be_tagged, validated_data) -class RequestResponseDict(list): +class RequestResponseDict(collections.UserList): def __init__(self, *args, **kwargs): pretty_print = kwargs.pop("pretty_print", True) list.__init__(self, *args, **kwargs) diff --git a/requirements-lint.txt b/requirements-lint.txt index 17efde5683a..904511689c4 100644 --- a/requirements-lint.txt +++ b/requirements-lint.txt @@ -1 +1 @@ -ruff==0.7.2 \ No newline at end of file +ruff==0.7.3 \ No newline at end of file