-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
| def get_cwes(self, summary: str) -> List[CWEList]: |
The function returns cwe.string values, which are plain strings, so the effective return type is List[str].
def get_cwes(self, summary: str) -> List[CWEList]:
result = self.run_agent(f"**Vulnerability Description:**\n{summary}")
return [cwe.string for cwe in result.output.cwes]Metadata
Metadata
Assignees
Labels
No labels