We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10cdf0d commit e9db5dfCopy full SHA for e9db5df
nodescraper/plugins/inband/rocm/rocmdata.py
@@ -24,7 +24,7 @@
24
#
25
###############################################################################
26
import re
27
-from typing import List, Optional
+from typing import List
28
29
from pydantic import field_validator
30
@@ -33,9 +33,9 @@
33
34
class RocmDataModel(DataModel):
35
rocm_version: str
36
- rocminfo: Optional[List[str]] = None
37
- rocm_latest_versioned_path: Optional[str] = None
38
- rocm_all_paths: Optional[List[str]] = None
+ rocminfo: List[str] = []
+ rocm_latest_versioned_path: str = ""
+ rocm_all_paths: List[str] = []
39
40
@field_validator("rocm_version")
41
@classmethod
0 commit comments