mirror of
https://github.com/qdrant/qdrant-client.git
synced 2026-07-29 22:21:10 -05:00
* new: deprecate upload records, update tests, prohibit migration of collections with custom shards * Update qdrant_client/qdrant_client.py * Update qdrant_client/async_qdrant_client.py * new: replace autogenerated int ids with uuids (#448) * fix: remove redundant kwargs * fix: regen async * fix: remove redundant import --------- Co-authored-by: Andrey Vasnetsov <andrey@vasnetsov.com>
26 lines
588 B
Python
26 lines
588 B
Python
import pytest
|
|
|
|
from qdrant_client import QdrantClient
|
|
from tests.congruence_tests.test_common import (
|
|
delete_fixture_collection,
|
|
init_local,
|
|
init_remote,
|
|
initialize_fixture_collection,
|
|
)
|
|
|
|
|
|
@pytest.fixture
|
|
def local_client() -> QdrantClient:
|
|
client: QdrantClient = init_local()
|
|
initialize_fixture_collection(client)
|
|
yield client
|
|
delete_fixture_collection(client)
|
|
|
|
|
|
@pytest.fixture
|
|
def remote_client() -> QdrantClient:
|
|
client: QdrantClient = init_remote()
|
|
initialize_fixture_collection(client)
|
|
yield client
|
|
delete_fixture_collection(client)
|