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 managers(Namespace):

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

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

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

        class writer(Namespace):
            link = 'graphalchemy.managers.writers.Links'
            node = 'graphalchemy.managers.writers.Nodes'

        class reader(Namespace):
            link = 'graphalchemy.managers.readers.Links'
            node = 'graphalchemy.managers.readers.Nodes'


appconf = Appconf.create()