Re: [Neo4j] Neomodel for neo4j 4.x

2020-08-19 Thread 'Nigel Small' via Neo4j
Hi Monica Unfortunately, we don't support or maintain neomodel in-house. I'm not sure it even has a current maintainer right now, either, but you're probably best off asking on the project's GitHub issues list. If you're after a general purpose OGM for Python, though, I do offer this in py2neo as

Re: [Neo4j] Re: Warning message, too much data after closed for HttpChannelOverHttp

2017-12-18 Thread 'Nigel Small' via Neo4j
Hi Ray Do you have a snippet of code that can reproduce the warning? Thanks Nigel On Mon, 18 Dec 2017, 20:53 , wrote: > I changed py2neo Graph handle creation using bolt protocol and still saw > this Warning message. So, the Waring is *not* caused by py2neo > transactions. Another developer us

Re: [Neo4j] Neo4j timeout error happens occasionally with transaction size 4000

2017-09-06 Thread 'Nigel Small' via Neo4j
Have you tried with a smaller batch size? Nigel On 2 September 2017 at 01:38, wrote: > Our Python 3 program using version 3.1.2 py2neo on Neo4j Community Edition > version 3.0.3. with transaction size about 4000, i.e. we do a transaction > commit after we put 4,000 Cypher statements to a transa

Re: [Neo4j] Re: py2neo and object model

2017-02-21 Thread 'Nigel Small' via Neo4j
Hey Antonina I'm guessing that you're looking at documentation from an earlier version of py2neo. The OGM module has been rewritten in v3 to take advantage of labels (the old one used manual indexes instead) and can now be found at *py2neo.ogm*. You can read up on it here -> http://py2neo.org/v3/o

Re: [Neo4j] Rest API doesn't support empty arrays

2016-10-19 Thread 'Nigel Small' via Neo4j
Hi As Alan mentions, this is a side-effect of both Neo4j's type system and the JSON format used by the HTTP server. The type system at store level has no concept of an untyped array and JSON has no way to transmit type information independent of value, so it's impossible for the server to determin

Re: [Neo4j] 'beginning implicit transaction' cannot be done... exception

2016-08-04 Thread 'Nigel Small' via Neo4j
Hi Matias It's hard to tell without seeing some code. What concurrency are you referring to? I do think we need to fix that error though - it's very unhelpful to a typical application developer. Coincidentally, we're currently working on this part of the code so I'll make sure we improve the erro

Re: [Neo4j] Nested Transactions Bolt

2016-06-02 Thread 'Nigel Small' via Neo4j
You won't be able to get that far. Beginning a transaction is only permitted on a session if a transaction is not already open there. If you try to do so, an exception will be thrown. On 2 June 2016 at 22:23, Michael Johnson wrote: > > So if I get a session and then call beginTransaction() on th

Re: [Neo4j] Object orient programming fashion through py2neo

2016-05-15 Thread 'Nigel Small' via Neo4j
Hi Py2neo has a load of documentation at py2neo.org and there is a bit of sample code available within that. I'd suggest that you try to refine the description of what you're trying to achieve though to be more specific. Nigel On 13 May 2016 at 05:35, Ashwanth D wrote: > I am using py2neo to e

Re: [Neo4j] py2neo merge_one missing

2016-05-15 Thread 'Nigel Small' via Neo4j
Hi Phil I can only assume that you are using the docs for py2neo v2 with py2neo v3. The *merge_one* method no longer exists in v3 as you should be able to use *merge* in all cases instead. http://py2neo.org/v3/database.html#py2neo.database.Graph.merge Cheers Nige On 15 May 2016 at 17:14, Phil H

Re: [Neo4j] Neo4J New Bolt Driver for Python

2016-05-07 Thread 'Nigel Small' via Neo4j
The official driver is only a Cypher driver for Bolt-enabled servers. If you need to use HTTP or any of the other functions you mentioned, you'll need the broader community driver. Nigel On 3 May 2016 at 13:31, Sriram Mohan wrote: > I am new to Neo4J and playing around with Neo4J3.0 and the bol

Re: [Neo4j] Retrieve NodePointer.properties that was not inserted into DB yet

2016-04-11 Thread 'Nigel Small' via Neo4j
Hi Lucas You should probably be using the `Node` object rather than the `NodePointer` object. The latter only exists to support a few pieces of older functionality and will not have access to properties or labels. Nigel On 30 March 2016 at 11:45, Lucas Lourenço wrote: > I'm using py2neo to ins