2022-07-12 07:39:56 +02:00
|
|
|
from typing import Iterator
|
|
|
|
|
2021-08-27 23:45:24 +02:00
|
|
|
import mobilizon_reshare.config.notifiers
|
2021-08-16 10:49:52 +02:00
|
|
|
import mobilizon_reshare.config.publishers
|
2021-08-27 23:45:24 +02:00
|
|
|
from mobilizon_reshare.config.config import get_settings
|
2021-08-16 10:49:52 +02:00
|
|
|
|
|
|
|
|
2022-07-12 07:39:56 +02:00
|
|
|
def get_active_publishers() -> Iterator[str]:
|
2021-08-16 10:49:52 +02:00
|
|
|
return mobilizon_reshare.config.publishers.get_active_publishers(get_settings())
|
2021-08-27 23:45:24 +02:00
|
|
|
|
|
|
|
|
2022-07-12 07:39:56 +02:00
|
|
|
def get_active_notifiers() -> Iterator[str]:
|
2021-08-27 23:45:24 +02:00
|
|
|
return mobilizon_reshare.config.notifiers.get_active_notifiers(get_settings())
|