Source

graphalchemy / graphalchemy / backends / apps.py

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

from callchain import Pathways
from appspace import Namespace

__all__ = ['appconf']


class Appconf(Pathways):

    class neo4jem(Namespace):
        close = 'graphalchemy.backends.neo4jem.close'
        connection = 'graphalchemy.backends.neo4jem.embedded'
        raw = 'graphalchemy.backends.neo4jem.Raw'
        transaction = 'graphalchemy.backends.neo4jem.transaction'

        class read(Namespace):
            link = 'graphalchemy.backends.neo4jem.LinkRead'
            node = 'graphalchemy.backends.neo4jem.NodeRead'

        class write(Namespace):
            link = 'graphalchemy.backends.neo4jem.LinkWrite'
            node = 'graphalchemy.backends.neo4jem.NodeWrite'


appconf = Appconf.build()