Fix Constants type suggestion

This commit is contained in:
Mykola Grymalyuk
2023-02-09 17:59:53 -07:00
parent 66a5f5a9ad
commit e83e260db7
12 changed files with 39 additions and 29 deletions

View File

@@ -27,9 +27,9 @@ from data import (
class detect_root_patch:
def __init__(self, model: str, versions: constants.Constants()):
def __init__(self, model: str, global_constants: constants.Constants):
self.model = model
self.constants: constants.Constants() = versions
self.constants: constants.Constants = global_constants
self.computer = self.constants.computer
# GPU Patch Detection