Skip to content

Commit 3633ad4

Browse files
committed
Add missing docstring to request_post() in vulnerablecode pipe
Signed-off-by: Soham <sohamrw098@gmail.com>
1 parent 903477c commit 3633ad4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

scanpipe/pipes/vulnerablecode.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ def request_post(
118118
data,
119119
timeout=None,
120120
):
121+
"""Wrap the HTTP POST request calls on the API."""
121122
try:
122123
response = session.post(url, json=data, timeout=timeout)
123124
response.raise_for_status()

0 commit comments

Comments
 (0)