Skip to content

Commit b67f932

Browse files
committed
Fix a typo in the importer tutorial docs
Signed-off-by: ziad hany <ziadhany2016@gmail.com>
1 parent f2d0c97 commit b67f932

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/source/tutorial_add_importer_pipeline.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ TL;DR
88
-------
99

1010
#. Create a new file ``{name}_importer.py`` inside **vulnerabilities/pipelines/**.
11-
#. Create a new importer pipeline by inheriting **VulnerableCodeBaseImporterPipeline**
11+
#. Create a new importer pipeline by inheriting **VulnerableCodeBaseImporterPipelineV2**
1212
defined in **vulnerabilities.pipelines**. By convention the importer pipeline
1313
class should end with **ImporterPipeline**.
1414
#. Specify the license of upstream data being imported.
@@ -215,7 +215,7 @@ version management from `univers <https://github.com/aboutcode-org/univers>`_.
215215
from vulnerabilities.severity_systems import SCORING_SYSTEMS
216216
217217
218-
class ExampleImporterPipeline(VulnerableCodeBaseImporterPipeline):
218+
class ExampleImporterPipeline(VulnerableCodeBaseImporterPipelineV2):
219219
"""Collect advisories Example."""
220220
221221
pipeline_id = "example_importer"

0 commit comments

Comments
 (0)