Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(10)  |  Call(10)  |  Derive(0)  |  Import(0)

src/o/c/ocean-HEAD/scripts/ocean_init_graph.py   ocean(Download)
    enter = raw_input()
 
    my_batch = neo4j.ReadBatch(graph_db)
    my_batch.append_cypher('match (n) return count(n);')
    nodes_count = my_batch.submit()
    my_batch.submit()
 
    my_batch = neo4j.ReadBatch(graph_db)
    my_batch.append_cypher('match (n) return count(n);')
    result = my_batch.submit()

src/o/c/ocean-HEAD/scripts/ocean_small_exemplary_init.py   ocean(Download)
    )
 
    read_batch = neo4j.ReadBatch(graph_db)
    write_batch = neo4j.WriteBatch(graph_db)
 

src/o/c/ocean-HEAD/scripts/ocean_small_exemplary_data.py   ocean(Download)
    enter = raw_input()
 
    read_batch = neo4j.ReadBatch(graph_db)
    read_batch.append_cypher('MATCH n RETURN count(n)')
    print 'Nodes in graph initially ', read_batch.submit()

src/o/c/ocean-HEAD/graph_workers/neo4j_wrapper.py   ocean(Download)
    TODO: Why is py2neo returning different things ?????
    """
    my_batch = neo4j.ReadBatch(graph_db)
    my_batch.append_cypher(cypher_query, params)
    result = my_batch.submit()
def count_same_news(graph_db, news_website, news_title):
    my_batch = neo4j.ReadBatch(graph_db)
    cypher_query = "START root=node(0) \n MATCH root-[r:`<<TYPE>>`]->"+\
        "n-[r2:`<<INSTANCE>>`]->w" + "\n WHERE n.model_name = "+\
        "\"Content\" \n"+\
def get_type_metanode(graph_db, model_name):
    """
        @returns Metanode representing given "model_name"
    """
    my_batch = neo4j.ReadBatch(graph_db)

src/k/a/kaiso-0.17.1/kaiso/persistence.py   kaiso(Download)
            raise ValueError("{}.{} is not unique".format(cls, attr_name))
 
        batch = neo4j.ReadBatch(self._conn)
 
        declaring_class = get_declaring_class(cls, attr_name)

src/k/a/kaiso-HEAD/kaiso/persistence.py   kaiso(Download)
            raise ValueError("{}.{} is not unique".format(cls, attr_name))
 
        batch = neo4j.ReadBatch(self._conn)
 
        declaring_class = get_declaring_class(cls, attr_name)

src/o/c/ocean-HEAD/tests/lionfish_correctness_unit_tests.py   ocean(Download)
            'http://{0}:{1}/db/data/'.format(get_configuration("neo4j","host"), get_configuration("neo4j","port"))
        )
        self._v_read_batch = neo4j.ReadBatch(graph_db)
        self._v_write_batch = neo4j.WriteBatch(graph_db)