Source

graphalchemy / graphalchemy / models / apps.py

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

from spine import Pathways
from appspace import Namespace

__all__ = ['appconf']


class Appconf(Pathways):

    class model(Namespace):

        class element(Namespace):
            node = 'graphalchemy.models.elements.Node'

        class collection(Namespace):
            node = 'graphalchemy.models.collections.Nodes'

        class collector(Namespace):
            node = 'graphalchemy.models.collectors.Nodes'

        class finder(Namespace):
            link = 'graphalchemy.models.finders.links'
            node = 'graphalchemy.models.finders.nodes'

        class writer(Namespace):
            node = 'graphalchemy.models.writers.Nodes'

        class reader(Namespace):
            node = 'graphalchemy.models.readers.Nodes'

        class worker(Namespace):
            node = 'graphalchemy.models.workers.Nodes'


appconf = Appconf.create()