lint exception for hid-related ValueError

This commit is contained in:
Ahmed Awan
2023-03-08 11:01:02 -05:00
parent 3c3bbf6d0e
commit 832e6f287d
+5 -1
View File
@@ -538,7 +538,11 @@ class HistoryContentsFilters(
# Type check whether hid is int
if not qv_hid.isdigit():
raise glx_exceptions.RequestParameterInvalidException(
"unparsable value for filter", column="related", operation="eq", value=qv_hid, ValueError="invalid type in filter"
"unparsable value for filter",
column="related",
operation="eq",
value=qv_hid,
ValueError="invalid type in filter",
)
# Make new q and qv excluding related filter