We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60e49f4 commit 084aa81Copy full SHA for 084aa81
vulnerabilities/importer.py
@@ -377,13 +377,15 @@ class Importer:
377
# It needs to be unique and immutable
378
importer_name = ""
379
380
- def get_advisory_id(self, aliases: list[str]) -> str:
+ @classmethod
381
+ def get_advisory_id(cls, aliases: list[str]) -> str:
382
"""
383
Return the Advisory ID for the given aliases.
384
385
raise NotImplementedError
386
- def get_cve_id(self, aliases: list[str]) -> str:
387
388
+ def get_cve_id(cls, aliases: list[str]) -> str:
389
390
Return the CVE ID for the given aliases.
391
0 commit comments