mirror of
https://github.com/qdrant/qdrant-client.git
synced 2026-07-23 11:11:01 -05:00
chore: remove qdrant_openapi_client directory (#731)
* chore: remove qdrant_openapi_client directory * fix: remove qdrant_openapi_client from pyproject.toml * chore: finish deletion
This commit is contained in:
@@ -33,7 +33,7 @@ extensions = [
|
||||
"sphinx.ext.viewcode",
|
||||
"sphinx.ext.intersphinx",
|
||||
"nbsphinx",
|
||||
"IPython.sphinxext.ipython_console_highlighting"
|
||||
"IPython.sphinxext.ipython_console_highlighting",
|
||||
]
|
||||
|
||||
# prevents sphinx from adding full path to type hints
|
||||
@@ -69,9 +69,8 @@ templates_path = ["_templates"]
|
||||
# directories to ignore when looking for source files.
|
||||
# This pattern also affects html_static_path and html_extra_path.
|
||||
exclude_patterns = [
|
||||
"*qdrant_openapi_client*",
|
||||
"*grpc*",
|
||||
"*tests*" # tests are not part of the documentation
|
||||
"*tests*", # tests are not part of the documentation
|
||||
]
|
||||
# -- Options for HTML output -------------------------------------------------
|
||||
|
||||
|
||||
@@ -4,8 +4,7 @@ version = "1.10.1"
|
||||
description = "Client library for the Qdrant vector search engine"
|
||||
authors = ["Andrey Vasnetsov <andrey@qdrant.tech>"]
|
||||
packages = [
|
||||
{include = "qdrant_client"},
|
||||
{include = "qdrant_openapi_client"}
|
||||
{include = "qdrant_client"}
|
||||
]
|
||||
license = "Apache-2.0"
|
||||
readme = "README.md"
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
import logging
|
||||
|
||||
import qdrant_client.http.api as api
|
||||
import qdrant_client.http.api_client as api_client
|
||||
import qdrant_client.http.exceptions as exceptions
|
||||
|
||||
logging.warning(
|
||||
"Use of deprecated import: use `qdrant_client.http` instead of `qdrant_openapi_client`"
|
||||
)
|
||||
@@ -1 +0,0 @@
|
||||
from qdrant_client.http.api import *
|
||||
@@ -1 +0,0 @@
|
||||
from qdrant_client.http.api.collections_api import *
|
||||
@@ -1 +0,0 @@
|
||||
from qdrant_client.http.api.points_api import *
|
||||
@@ -1 +0,0 @@
|
||||
from qdrant_client.http.exceptions import *
|
||||
@@ -1 +0,0 @@
|
||||
from qdrant_client.http.models.models import *
|
||||
@@ -1 +0,0 @@
|
||||
from qdrant_client.http.models.models import *
|
||||
@@ -1775,15 +1775,6 @@ def test_empty_vector(prefer_grpc):
|
||||
)
|
||||
|
||||
|
||||
def test_legacy_imports():
|
||||
try:
|
||||
from qdrant_openapi_client.api.points_api import SyncPointsApi
|
||||
from qdrant_openapi_client.exceptions import UnexpectedResponse
|
||||
from qdrant_openapi_client.models.models import FieldCondition, Filter
|
||||
except ImportError:
|
||||
assert False # can't import, fail
|
||||
|
||||
|
||||
def test_value_serialization():
|
||||
v = json_to_value(123)
|
||||
print(v)
|
||||
|
||||
Reference in New Issue
Block a user