feat: log

This commit is contained in:
superobk
2024-04-30 17:59:37 +08:00
parent 884a835cae
commit 54ddb8ee4a
9 changed files with 81 additions and 31 deletions

View File

@ -59,7 +59,7 @@ class BlackboxFactory:
def __call__(self, *args, **kwargs):
return self.processing(*args, **kwargs)
def call_blackbox(self, blackbox_name: str) -> Blackbox:
def get_blackbox(self, blackbox_name: str) -> Blackbox:
model = self.models.get(blackbox_name)
if model is None:
raise ValueError("Invalid Blackbox Type...")