mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-18 17:51:02 +02:00
More refactoring
This commit is contained in:
parent
4c22f23f3a
commit
51000e39ff
5 changed files with 11 additions and 21 deletions
|
|
@ -105,7 +105,7 @@ class FlowProcessor(AsyncProcessor):
|
|||
consumer = self.subscribe(
|
||||
flow = flow_obj,
|
||||
queue = defn[name],
|
||||
subscriber = self.subscriber,
|
||||
subscriber = self.id,
|
||||
schema = schema,
|
||||
handler = handler,
|
||||
metrics = consumer_metrics,
|
||||
|
|
|
|||
|
|
@ -63,9 +63,9 @@ class RequestResponseService(FlowProcessor):
|
|||
print("Done.", flush=True)
|
||||
|
||||
@staticmethod
|
||||
def add_args(parser, default_subscriber):
|
||||
def add_args(parser):
|
||||
|
||||
FlowProcessor.add_args(parser, default_subscriber)
|
||||
FlowProcessor.add_args(parser)
|
||||
|
||||
def run():
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue