Skip to content

Commit e9db5df

Browse files
Jaspal SinghJaspal Singh
authored andcommitted
initial rocm cmds
1 parent 10cdf0d commit e9db5df

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

nodescraper/plugins/inband/rocm/rocmdata.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#
2525
###############################################################################
2626
import re
27-
from typing import List, Optional
27+
from typing import List
2828

2929
from pydantic import field_validator
3030

@@ -33,9 +33,9 @@
3333

3434
class RocmDataModel(DataModel):
3535
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
36+
rocminfo: List[str] = []
37+
rocm_latest_versioned_path: str = ""
38+
rocm_all_paths: List[str] = []
3939

4040
@field_validator("rocm_version")
4141
@classmethod

0 commit comments

Comments
 (0)