We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6cc5bd3 commit 801f871Copy full SHA for 801f871
vulnerabilities/utils.py
@@ -585,12 +585,11 @@ def normalize_list(lst):
585
return sorted(lst) if lst else []
586
587
588
-def compute_content_id(advisory_data, include_metadata=False):
+def compute_content_id(advisory_data):
589
"""
590
Compute a unique content_id for an advisory by normalizing its data and hashing it.
591
592
:param advisory_data: An AdvisoryData object
593
- :param include_metadata: Boolean indicating whether to include `created_by` and `url`
594
:return: SHA-256 hash digest as content_id
595
596
0 commit comments