Search…
⌘K
Ask AI
⌘I
Discord
Blog
Twitter
Console
Overview
Redis
Vector
QStash
Workflow
Search
Box
Realtime
Developer API
Redis
SDKs
Python
Commands
String
GET
Return the value of the specified key or
None
if the key doesn't exist.
1 min read
Copy as Markdown
Arguments
#
key
str
required
#
The key to get.
Response
#
DECRBY
GETDEL
Example
redis.set(
"key"
,
"value"
)
assert
redis.get(
"key"
)
==
"value"