Connecting to Redis
Data Science & AI Workbench enables you to easily connect to a Redis in-memory database.
Before you can do so, however, you’ll need to pip install the Python package required to connect to Redis servers:
Any packages you install from the command line are available during the current session only. If you want them to persist, add them to the project’s anaconda-project.yml
file. For more information, see Project configurations.
You can then import the library and use code such as this to connect to Redis from within a notebook session:
Was this page helpful?