Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "redisearch"
version = "2.1.1"
version = "2.1.2"
description = "RedisSearch Python Client"
authors = ["RedisLabs <oss@redislabs.com>"]
license = "BSD-3-Clause"
Expand All @@ -16,7 +16,7 @@ classifiers = [
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'License :: OSI Approved :: BSD License',
'Development Status :: 5 - Production/Stable'
'Development Status :: 7 - Inactive'

]
keywords = ["Redis Search Extension"]
Expand Down
5 changes: 5 additions & 0 deletions redisearch/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from warnings import warn
from .result import Result
from .document import Document
from .client import Client, NumericField, TextField, GeoField, TagField, IndexDefinition
Expand All @@ -6,3 +7,7 @@
from .auto_complete import AutoCompleter, Suggestion


warn("As of redis-py 4.0.0 this library is deprecated. "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warn("Please upgrade to redis-py (https://pypi.org/project/redis/)"
"This library is deprecated, and all features have been merged into redis-py. "
, DeprecationWarning, stacklevel=2)

"It's features have been merged into redis-py. "
"Please either install it from pypi or the repo."
, DeprecationWarning, stacklevel=2)