#!/usr/bin/env python
# -*- coding: utf_8 -*-

<<<<<<< HEAD
from application.app import signalManager
=======
from application.signal_manager import signalManager
>>>>>>> 735d39eb4d0c3134b62bf4fe1b7a2ca0ea8da1ca
{%- for api in config %}
from .{{ api['name'] }} import {{ api["name"] }}Manager
{%- endfor %}

def initConnect():
{%- for api in config %}
    {%- for key, value in api.get("view").items() %}
    signalManager.action{{ key | letterUpper }}{{ api.get("name") | letterUpper }}.connect({{ api.get("name") }}Manager.{{ key }})
    {%- endfor %}
{%- endfor %}
<<<<<<< HEAD

initConnect()
=======
>>>>>>> 735d39eb4d0c3134b62bf4fe1b7a2ca0ea8da1ca
