Skip to content

Commit

Permalink
disable type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
CSY-ModelCloud committed Jan 7, 2025
1 parent 2a920c1 commit bba156a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion device_smi/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def __repr__(self):
return self.__str__()


def _run(args, line_start: Optional[str] = None, seperator: str=None) -> str | list[str]:
def _run(args, line_start: Optional[str] = None, seperator: str=None): # -> str | list[str] disable type hint, because solaris test is using python 3.7 which doesn't support | usage
result = subprocess.run(
args,
stdout=subprocess.PIPE,
Expand Down

0 comments on commit bba156a

Please sign in to comment.