Добавил модули

This commit is contained in:
2023-12-05 00:10:42 +03:00
parent 249a9e8a63
commit 1d36512756
18 changed files with 507 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
from modules.pipelines.pipes.pipe_base import *
class Custom(PipeBase):
def __init__(self, name, input_data_type, output_data_type, callback):
super().__init__(name, input_data_type, output_data_type)
self.callback = callback
def do(self, data):
return self.callback(data)