From 5e8718c883dc8ceebf29630c90615fa6a6405f25 Mon Sep 17 00:00:00 2001 From: Marcel Coetzee Date: Mon, 10 Jun 2024 00:50:35 +0200 Subject: [PATCH] Return self in enter context manager method Signed-off-by: Marcel Coetzee --- dlt/destinations/impl/lancedb/lancedb_client.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlt/destinations/impl/lancedb/lancedb_client.py b/dlt/destinations/impl/lancedb/lancedb_client.py index d7e5aefc4a..51a3e8689c 100644 --- a/dlt/destinations/impl/lancedb/lancedb_client.py +++ b/dlt/destinations/impl/lancedb/lancedb_client.py @@ -561,8 +561,7 @@ def __exit__( def __enter__(self) -> "LanceDBClient": - pass - + return self def complete_load(self, load_id: str) -> None: properties = {