Closed DerZc closed 1 year ago
The first problem has recently been fixed, for the moment please use the dev branch
pip install https://github.com/cozodb/pycozo/archive/dev.zip
For your second problem, you should put both rules in the same run script, and there is no need to use the transaction. Multi-statement transactions are rarely needed.
I got it! Thank you for such a quick reply! I will try it!
Hi,
I want to try cozodb with python, but meet some errors. I try to connect to a server with
client = Client('http', options={'host': 'http://127.0.0.1:9070'})
, but I got the error messageAttributeError: 'dict' object has no attribute 'host'
triggered by https://github.com/cozodb/pycozo/blob/main/pycozo/client.py#L37, then I construct a class to pass this error, but I got another errorAttributeError: 'Client' object has no attribute 'embedded'
triggered by https://github.com/cozodb/pycozo/blob/main/pycozo/client.py#L222I tried the embedded mode with example
But got this error message
You need to have one rule named '?'
,this is my python program:
Could you please tell me how to solve this? Thank you very much!