mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-17 17:21:02 +02:00
Change input_output to flow_processor
This commit is contained in:
parent
8f89336db3
commit
91d28e9d56
5 changed files with 13 additions and 13 deletions
|
|
@ -6,5 +6,5 @@ from . producer import Producer
|
|||
from . publisher import Publisher
|
||||
from . subscriber import Subscriber
|
||||
from . metrics import ProcessorMetrics, ConsumerMetrics, ProducerMetrics
|
||||
from . input_output import InputOutputProcessor
|
||||
from . flow_processor import FlowProcessor
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ from .. base import AsyncProcessor, Consumer, Producer
|
|||
|
||||
from .. base import ProcessorMetrics, ConsumerMetrics, ProducerMetrics
|
||||
|
||||
class InputOutputProcessor(AsyncProcessor):
|
||||
class FlowProcessor(AsyncProcessor):
|
||||
|
||||
def __init__(self, **params):
|
||||
|
||||
|
|
@ -23,7 +23,7 @@ class InputOutputProcessor(AsyncProcessor):
|
|||
}
|
||||
)
|
||||
|
||||
super(InputOutputProcessor, self).__init__(
|
||||
super(FlowProcessor, self).__init__(
|
||||
**params | {
|
||||
"id": self.id,
|
||||
}
|
||||
|
|
@ -138,7 +138,7 @@ class InputOutputProcessor(AsyncProcessor):
|
|||
print("Handled config update")
|
||||
|
||||
async def start(self):
|
||||
await super(InputOutputProcessor, self).start()
|
||||
await super(FlowProcessor, self).start()
|
||||
|
||||
@staticmethod
|
||||
def add_args(parser, default_subscriber):
|
||||
Loading…
Add table
Add a link
Reference in a new issue