2022-05-04 09:39:28 +00:00
|
|
|
import bopytex.default_config as DEFAULT
|
|
|
|
from bopytex.service import orcherstrator
|
|
|
|
|
|
|
|
|
|
|
|
def bopytex(**options):
|
|
|
|
|
|
|
|
config = options.copy()
|
|
|
|
config["jinja2"] = {}
|
|
|
|
config["jinja2"]["environment"] = DEFAULT.jinja2_env
|
|
|
|
|
|
|
|
orcherstre = orcherstrator(
|
2022-05-04 16:00:54 +00:00
|
|
|
config, planner=DEFAULT.planner, dispatcher=DEFAULT.dispatcher
|
2022-05-04 09:39:28 +00:00
|
|
|
)
|
|
|
|
for message in orcherstre:
|
2022-05-04 16:00:54 +00:00
|
|
|
yield message
|