From 69b3bc5609262c732c44e889199633bd933b381d Mon Sep 17 00:00:00 2001 From: Steinthor Palsson Date: Tue, 14 Nov 2023 15:34:15 -0500 Subject: [PATCH] Update naming convention path --- dlt/destinations/impl/weaviate/__init__.py | 2 +- tests/load/weaviate/test_weaviate_client.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlt/destinations/impl/weaviate/__init__.py b/dlt/destinations/impl/weaviate/__init__.py index fa37d149d2..143e0260d2 100644 --- a/dlt/destinations/impl/weaviate/__init__.py +++ b/dlt/destinations/impl/weaviate/__init__.py @@ -14,6 +14,6 @@ def capabilities() -> DestinationCapabilitiesContext: caps.max_text_data_type_length = 8 * 1024 * 1024 caps.is_max_text_data_type_length_in_bytes = False caps.supports_ddl_transactions = False - caps.naming_convention = "dlt.destinations.weaviate.naming" + caps.naming_convention = "dlt.destinations.impl.weaviate.naming" return caps diff --git a/tests/load/weaviate/test_weaviate_client.py b/tests/load/weaviate/test_weaviate_client.py index 49bfd72637..ca9d853d98 100644 --- a/tests/load/weaviate/test_weaviate_client.py +++ b/tests/load/weaviate/test_weaviate_client.py @@ -45,7 +45,7 @@ def ci_client() -> Iterator[WeaviateClient]: def make_client(naming_convention: str) -> Iterator[WeaviateClient]: schema = Schema('test_schema', { - 'names': f"dlt.destinations.weaviate.{naming_convention}", + 'names': f"dlt.destinations.impl.weaviate.{naming_convention}", 'json': None }) _client = get_client_instance(schema)