mirror of
https://github.com/BoardWare-Genius/jarvis-models.git
synced 2025-12-14 17:13:25 +00:00
feat: runtime
This commit is contained in:
@ -18,14 +18,14 @@ class Blackbox(ABC):
|
||||
Output same as above.
|
||||
"""
|
||||
@abstractmethod
|
||||
async def processing(self, data: any) -> any:
|
||||
async def processing(self, *args, **kwargs) -> any:
|
||||
pass
|
||||
|
||||
"""
|
||||
valid method should return True if the data is valid and False if the data is invalid
|
||||
"""
|
||||
@abstractmethod
|
||||
def valid(self, data: any) -> bool:
|
||||
def valid(self, *args, **kwargs) -> bool:
|
||||
pass
|
||||
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user