5153c08698
remove with_statement(for 2.5) from __future__
2016-08-23 18:12:46 +02:00
77f8876fca
cleanup pylint errors and py2/3 issues
2016-06-08 15:32:46 +02:00
86bffd67b3
API: raise if caller supplies both dict and kwargs
...
I (incorrectly) wrote something like the following:
api.find({'query': {...}}, keys=['id'], range=[0, n])
and the query was silently ignored, giving totally different
results to what I wanted. fixes #2822
2015-08-02 15:57:48 +02:00
j
f50b02dd64
fix ox.api in python3
2014-10-04 16:05:00 +02:00
j
b70dfecccc
fix ox.api
2014-10-04 13:37:33 +02:00
j
d4d09b56b6
use six to support python 2 and 3
2014-09-30 21:04:46 +02:00
j
575549ae33
only add api methods to API instance
2014-01-03 00:54:49 +05:30
rolux
6f68729b6f
API: don't fail on missing 'doc' property
2013-11-23 15:17:59 +01:00
j
828223ad82
dont break ox.API subclasses
2013-11-03 16:39:57 +01:00
j
714729fee7
return new class for each ox.API call
2013-11-02 17:40:01 +01:00
j
ec04c29bcd
accept and support compressed response from api, POST with gzip encoded body is not supported in django/wsgi
2012-08-22 00:54:04 +02:00
j
981a0ee2ec
default mime type
2011-10-21 18:44:45 +02:00
j
da22dc0bf1
api results should be unicode
2011-10-13 20:07:01 +02:00
j
2c141fdbcf
add api, refine parse_movie_path
2011-10-13 19:28:18 +02:00