aboutcode-org / aboutcode-org/vulnerablecode

'Q' object is needed only for complex queries

未关闭
#878 0 条评论 0 个 reaction 已指派 1 人 已被 @johnmhoran 认领 在 GitHub 查看
ui
主要语言
Python
星标
702
派生
328
平均合并
3 天 8 小时
30 天内合并 PR
3

描述

From @tdruez 's comments in https://github.com/nexB/vulnerablecode/issues/875 .

![image](https://user-images.githubusercontent.com/11096678/186773537-f580c29d-767a-4a34-a1a8-1a46c704f036.png)

`Q` object is not needed here, it is only required for complex query such as applying OR between filters such as https://github.com/nexB/vulnerablecode/pull/813/files#diff-3e8fc96d993d0bd8585642f68239732a30a19b7ec100a36ee5d21e209625ff81R202.
This comment applies to all the place you have a single Q in your filter().

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。