Skip to content

Commit 9b8308a

Browse files
authored
Add results_url attribute on the MatchToMatchCode pipeline class (#1746)
Signed-off-by: tdruez <[email protected]>
1 parent cb6f96c commit 9b8308a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scanpipe/pipelines/match_to_matchcode.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
# Visit https://github.com/aboutcode-org/scancode.io for support and download.
2222

2323
from scanpipe.pipelines import Pipeline
24+
from scanpipe.pipes import flag
2425
from scanpipe.pipes import matchcode
2526

2627

@@ -45,6 +46,7 @@ class MatchToMatchCode(Pipeline):
4546

4647
download_inputs = False
4748
is_addon = True
49+
results_url = "/project/{slug}/resources/?status=" + flag.MATCHED_TO_PURLDB_PACKAGE
4850

4951
@classmethod
5052
def steps(cls):

0 commit comments

Comments
 (0)