add notes for a method

This commit is contained in:
streetycat
2023-09-18 08:03:34 +00:00
parent f2a25b1b99
commit cecf809198
+1
View File
@@ -35,6 +35,7 @@ class ComputeNode(ABC):
def is_local(self) -> bool: def is_local(self) -> bool:
pass pass
# the hit weight when select this node in schedule
def weight(self) -> int: def weight(self) -> int:
return 1 return 1