Source

graphalchemy / graphalchemy / direct / apps.py

Full commit
# -*- coding: utf-8 -*-
'''graph managers appconf'''

from spine import Pathways
from appspace import Namespace

__all__ = ['appconf']


class Appconf(Pathways):

    class direct(Namespace):

        class element(Namespace):
            link = 'graphalchemy.direct.elements.Link'
            node = 'graphalchemy.direct.elements.Node'

        class collection(Namespace):
            link = 'graphalchemy.direct.collections.Links'
            node = 'graphalchemy.direct.collections.Nodes'

        class collector(Namespace):
            link = 'graphalchemy.direct.collectors.Links'
            node = 'graphalchemy.direct.collectors.Nodes'

        class worker(Namespace):
            link = 'graphalchemy.direct.workers.Links'
            node = 'graphalchemy.direct.workers.Nodes'


appconf = Appconf.create()