summaryrefslogtreecommitdiff
path: root/redis/client.py
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Adding an option to the SHUTDOWN command so NOSAVE can be passed in.Daniel Williams2018-10-191-2/+5
| |/ /
* | | Merge pull request #1064 from andymccurdy/migrateAndy McCurdy2018-11-131-0/+35
|\ \ \ | | | | | | | | add migrate command
| * | | Token.get_token for literalsmigrateAndy McCurdy2018-11-121-4/+4
| | | |
| * | | add migrate commandAndy McCurdy2018-11-121-0/+35
| | | |
* | | | Merge pull request #1057 from RoeyPrat/roey-client_pauseAndy McCurdy2018-11-131-1/+24
|\ \ \ \ | | | | | | | | | | CLIENT PAUSE and type argument in client_list
| * | | | pep8 fixesAndy McCurdy2018-11-131-3/+4
| | | | |
| * | | | Normalizes type to lowercase in client_list()Itamar Haber2018-11-131-1/+1
| | | | | | | | | | | | | | | I know @RoeyPrat has a lot on his plate atm so taking some liberty here.
| * | | | Implements type argument in client_listRoey Prat2018-11-071-4/+13
| | | | |
| * | | | Implements CLIENT PAUSERoey Prat2018-11-071-0/+13
| | | | |
* | | | | Merge pull request #1019 from krishan-carbon/patch-1Andy McCurdy2018-11-131-1/+15
|\ \ \ \ \ | | | | | | | | | | | | Allow pings in PubSub
| * | | | | .Krishan Patel2018-10-281-0/+1
| | | | | |
| * | | | | .Krishan Patel2018-10-281-2/+2
| | | | | |
| * | | | | Added testKrishan Patel2018-08-131-1/+1
| | | | | |
| * | | | | Allow pings in PubSubKrishan Patel2018-08-131-0/+13
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | According to https://redis.io/topics/pubsub, “The commands that are allowed in the context of a subscribed client are SUBSCRIBE, PSUBSCRIBE, UNSUBSCRIBE, PUNSUBSCRIBE, PING and QUIT.” According to https://redis.io/commands/ping, “If the client is subscribed to a channel or a pattern, it will instead return a multi-bulk with a "pong" in the first position and an empty bulk in the second position, unless an argument is provided in which case it returns a copy of the argument.”
* | | | | Adds the memory_usage and memory_purge commandsItamar Haber2018-11-091-0/+20
| |_|/ / |/| | | | | | | | | | | Signed-off-by: Itamar Haber <itamar@redislabs.com>
* | | | Renames sync to asynchronousItamar Haber2018-11-081-8/+8
| | | | | | | | | | | | | | | | Signed-off-by: Itamar Haber <itamar@redislabs.com>
* | | | Adds `sync` flag to flushdb and flushallItamar Haber2018-11-081-6/+22
| | | | | | | | | | | | | | | | | | | | | | | | Uses sync as async is a keyword. Defaults to Redis pre v4 behavior. Signed-off-by: Itamar Haber <itamar@redislabs.com>
* | | | added better overflow control and lifecycle mgmt to bitfieldsAndy McCurdy2018-11-071-14/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - bitfields now accept a `default_overflow` argument that sets the default overflow behavior for incrby operations - exposed an overflow() method that sets the overflow behavior for future incrby operations. this can be used in place of the overfly argument to incrby if someone prefers - clean up bitfield instance upon execution, resetting the overflow behavior back to the default provided and clearing the list of operations
* | | | support for the bitfield command thanks to Charles LeiferAndy McCurdy2018-11-061-0/+84
| |/ / |/| |
* | | Merge branch 'pr/916' into drop26Andy McCurdy2018-11-061-24/+20
|\ \ \
| * | | Use timedelta.total_seconds(); available since Python 2.7Jon Dufresne2018-11-031-10/+7
| | | |
| * | | Use unicode literals throughout projectJon Dufresne2018-11-031-7/+7
| | | | | | | | | | | | | | | | Remove workaround for handling unicode with older Pythons.
| * | | Prefer dict comprehension over dict(<generator>)Jon Dufresne2018-11-031-1/+1
| | | |
| * | | Pass generators to dict() instead of coercing to a listJon Dufresne2018-11-031-5/+5
| | | |
| * | | Use set literals instead of set([...])Jon Dufresne2018-11-031-1/+1
| | | |
| * | | Remove from __future__ import with_statementJon Dufresne2018-11-031-1/+0
| | | | | | | | | | | | | | | | All supported Python versions support the with statement.
* | | | add response callback for the UNLINK commandAndy McCurdy2018-11-061-5/+5
| | | |
* | | | Merge pull request #933 from yozel/masterAndy McCurdy2018-11-061-0/+4
|\ \ \ \ | | | | | | | | | | Add support for UNLINK command
| * | | | Add support for UNLINK commandYasin Ozel2017-12-011-0/+4
| | |/ / | |/| |
* | | | Merge pull request #1036 from itamarhaber/v5-client-subcommandsAndy McCurdy2018-11-051-0/+18
|\ \ \ \ | | | | | | | | | | Adds v5 new client subcommands
| * \ \ \ Merge branch 'master' into v5-client-subcommandsAndy McCurdy2018-11-051-49/+529
| |\ \ \ \
| * | | | | Remove reason arg from client_unblock. Use boolean 'error' arg instead.Roey Prat2018-11-041-8/+7
| | | | | |
| * | | | | Adds unblock reason supportItamar Haber2018-10-051-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Itamar Haber <itamar@redislabs.com>
| * | | | | Adds CLIENT UNBLOCKItamar Haber2018-10-051-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Itamar Haber <itamar@redislabs.com>
| * | | | | Adds support for CLIENT IDItamar Haber2018-10-051-0/+5
| | |/ / / | |/| | | | | | | | | | | | | Signed-off-by: Itamar Haber <itamar@redislabs.com>
* | | | | wrap xgroup_create's MKSTREAM option in a Token.get_token()Andy McCurdy2018-11-051-1/+1
| |/ / / |/| | |
* | | | rename empty_errow -> empty_response as the value is the actual responseerror_defaultsAndy McCurdy2018-11-051-7/+7
| | | |
* | | | hook for graceful command failure, even in pipelinesAndy McCurdy2018-11-041-9/+22
| | | | | | | | | | | | | | | | allow commands that expect 1 or more keys to fail gracefully when 0 keys are provided
* | | | Merge pull request #1051 from itamarhaber/swapdbAndy McCurdy2018-11-031-1/+5
|\ \ \ \ | |_|/ / |/| | | Adds SWAPDB
| * | | Adds SWAPDBItamar Haber2018-11-031-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | No tests were added - consistent with basic operations such as FLUSHDB Signed-off-by: Itamar Haber <itamar@redislabs.com>
* | | | Merge branch 'master' into documents-strictredis-rediss-supportAndy McCurdy2018-11-021-35/+490
|\ \ \ \
| * \ \ \ Merge pull request #1018 from mzalimeni/info-support-colon-keysAndy McCurdy2018-11-021-1/+2
| |\ \ \ \ | | | | | | | | | | | | Fix parsing for INFO keys that include ':'
| | * | | | Fix parsing for INFO keys that include ':'Michael Zalimeni2018-08-081-1/+2
| | | |/ / | | |/| |
| * | | | Merge pull request #1035 from qingping209/handle-geodist-none-rspAndy McCurdy2018-11-021-2/+2
| |\ \ \ \ | | |_|/ / | |/| | | handle the case where geodist return -1
| | * | | geodist may return none or float, response handler callback shouldqingping2092018-09-301-2/+2
| | |/ / | | | | | | | | | | | | be float_or_none
| * | | Merge branch 'master' of github.com:andymccurdy/redis-pyAndy McCurdy2018-11-011-2/+2
| |\ \ \
| | * | | Prefer https:// for URLs when availableJon Dufresne2018-11-011-1/+1
| | | | |
| | * | | Merge pull request #1039 from jeffwidman/patch-2Andy McCurdy2018-11-011-1/+1
| | |\ \ \ | | | | | | | | | | | | "while 1" --> "while True"
| | | * | | "while 1" --> "while True"Jeff Widman2018-10-111-1/+1
| | | |/ / | | | | | | | | | | | | | | | This is python, not C
| * | | | added MKSTREAM option to xgroup_createAndy McCurdy2018-11-011-2/+5
| |/ / /