python-stdnet
python-stdnet copied to clipboard
Object-data mapper and advanced query manager for non relational databases
There are small typos in: - docs/source/examples/related.rst - docs/source/examples/serialise.rst - examples/permissions.py - stdnet/backends/redisb/__init__.py - stdnet/odm/fields.py - stdnet/odm/mapper.py - stdnet/odm/search.py - stdnet/odm/session.py - stdnet/utils/test.py Fixes: - Should read `shortcut` rather than...
Bump python versions in Travis. TBH, with travis switching to a pay model no idea if this is viable.
Hi there. I was trying to run a simple example from the docs to see if stdnet was usefull for a project but I keep getting a `TypeError: () takes...
With the master (d362bff9) branch seems passed at https://travis-ci.org/lsbardel/python-stdnet/jobs/16918109 But for now, testing with pulsar is failed even (0.8.0, 0.8.1, 0.8.2, 0.8.3, 0.8.4, 0.9.0) released and the rev (8e682b6d7) This...
One of the main reasons for me to use Redis is as a cache; so it is very important that I can insert keys with specify expires (using Redis; not...
## Test-case ``` from stdnet.odm import StdModel, CharField, Router class Bar(StdModel): foo = CharField(primary_key=True, unique=True) if __name__ == '__main__': models = Router('redis://localhost:6379?db=1') models.register(Bar) with models.session().begin() as transaction: transaction.add(models.bar.new(foo="Hello world")) transaction.add(models.bar.new(foo="Goodbye...
The only implementation of backend for Redis doesn't has second parameter, callback, but interface has. Usage also drops the callback. So I assume the implementation is correct.
Hi guys, I am getting the following error when i try to add a model instance to the session. Error: TypeError: raise_first_error() takes exactly 3 arguments (2 given) Raised when:...