Spaces:
Sleeping
Sleeping
Add vendor and cwe fields to prediction response for data drift monitoring
Browse files- src/api/schemas.py +1 -0
src/api/schemas.py
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
from pydantic import BaseModel
|
|
|
|
| 2 |
|
| 3 |
# Just the ID is sufficient, as the API itself handles fetching the data from the NVD
|
| 4 |
class CVERequest(BaseModel):
|
|
|
|
| 1 |
from pydantic import BaseModel
|
| 2 |
+
# Definition of data contracts
|
| 3 |
|
| 4 |
# Just the ID is sufficient, as the API itself handles fetching the data from the NVD
|
| 5 |
class CVERequest(BaseModel):
|