migrate processing to a pipeline approach where each listing is processed in a pipeline in parallel and status reported back to track progress
This commit is contained in:
parent
4fa09e31c8
commit
91a0436f7f
6 changed files with 347 additions and 26 deletions
|
|
@ -17,7 +17,7 @@ class Slack(Surface):
|
|||
|
||||
@lru_cache(maxsize=None)
|
||||
def get_notifier(surfaces: list[Surface] | None = None) -> apprise.Apprise:
|
||||
surfaces = surfaces or [Slack()]
|
||||
surfaces = surfaces or list[Surface]([Slack()])
|
||||
obj = apprise.Apprise()
|
||||
for surface in surfaces:
|
||||
if conn := surface.connection_string():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue