@@ -90,7 +90,7 @@ def supported_ecosystem(cls):
9090
9191def parse_advisory (interesting_edges , purl ) -> Iterable [VendorData ]:
9292 """
93- Parses the GraphQL response and yields VendorData instances.
93+ Parse the GraphQL response and yield VendorData instances.
9494
9595 Parameters:
9696 interesting_edges (list): List of edges containing security advisory.
@@ -123,7 +123,7 @@ def extract_interesting_edge(edges, purl):
123123
124124def generate_graphql_payload_from_purl (purl , end_cursor = "" ):
125125 """
126- Generates a GraphQL payload for querying security vulnerabilities related to a PURL.
126+ Generate a GraphQL payload for querying security vulnerabilities related to a PURL.
127127
128128 Parameters:
129129 purl (PackageURL): The PURL to search for vulnerabilities.
@@ -198,7 +198,7 @@ def generate_graphql_payload_from_purl(purl, end_cursor=""):
198198
199199def generate_graphql_payload_from_cve (cve : str ):
200200 """
201- Generates a GraphQL payload for querying security advisories related to a CVE.
201+ Generate a GraphQL payload for querying security advisories related to a CVE.
202202
203203 Parameters:
204204 - cve (str): CVE identifier string to search for.
@@ -237,7 +237,7 @@ def generate_graphql_payload_from_cve(cve: str):
237237
238238def get_purl_type (github_ecosystem ):
239239 """
240- Returns the corresponding purl type for a given GitHub ecosystem string.
240+ Return the corresponding purl type for a given GitHub ecosystem string.
241241
242242 Parameters:
243243 github_ecosystem (str): The GitHub ecosystem string.
@@ -254,7 +254,7 @@ def get_purl_type(github_ecosystem):
254254
255255def group_advisory_by_package (advisories_dict , cve ):
256256 """
257- Extracts security advisory information from a dictionary and groups them by package.
257+ Extract security advisory information from a dictionary and groups them by package.
258258
259259 Parameters:
260260 advisories_dict (dict): Dictionary containing security advisory. The dictionary
0 commit comments