Skip to content

Commit 801f871

Browse files
committed
Remove unused include_metadata parameter
Signed-off-by: Keshav Priyadarshi <[email protected]>
1 parent 6cc5bd3 commit 801f871

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

vulnerabilities/utils.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -585,12 +585,11 @@ def normalize_list(lst):
585585
return sorted(lst) if lst else []
586586

587587

588-
def compute_content_id(advisory_data, include_metadata=False):
588+
def compute_content_id(advisory_data):
589589
"""
590590
Compute a unique content_id for an advisory by normalizing its data and hashing it.
591591
592592
:param advisory_data: An AdvisoryData object
593-
:param include_metadata: Boolean indicating whether to include `created_by` and `url`
594593
:return: SHA-256 hash digest as content_id
595594
"""
596595

0 commit comments

Comments
 (0)