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:
George
2024-08-09 21:26:05 +02:00
committed by George Panchuk
parent 00bcc68a38
commit 3a67b37144
10 changed files with 3 additions and 29 deletions

View File

@@ -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 -------------------------------------------------

View File

@@ -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"

View File

@@ -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`"
)

View File

@@ -1 +0,0 @@
from qdrant_client.http.api import *

View File

@@ -1 +0,0 @@
from qdrant_client.http.api.collections_api import *

View File

@@ -1 +0,0 @@
from qdrant_client.http.api.points_api import *

View File

@@ -1 +0,0 @@
from qdrant_client.http.exceptions import *

View File

@@ -1 +0,0 @@
from qdrant_client.http.models.models import *

View File

@@ -1 +0,0 @@
from qdrant_client.http.models.models import *

View File

@@ -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)