Skip to content

Commit d5322eb

Browse files
explicitly declare CloudFetchQueue as ABC
Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
1 parent db22f6e commit d5322eb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/databricks/sql/cloud_fetch_queue.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
that handle EXTERNAL_LINKS disposition with ARROW format.
66
"""
77

8-
from typing import Any, Dict, List, Optional, Union, TYPE_CHECKING
8+
from abc import ABC
9+
from typing import Any, List, Optional, Union, TYPE_CHECKING
910

1011
if TYPE_CHECKING:
1112
from databricks.sql.backend.sea_backend import SeaDatabricksClient
@@ -127,7 +128,7 @@ def convert_arrow_based_set_to_arrow_table(arrow_batches, lz4_compressed, schema
127128
return arrow_table, n_rows
128129

129130

130-
class CloudFetchQueue(ResultSetQueue):
131+
class CloudFetchQueue(ResultSetQueue, ABC):
131132
"""Base class for cloud fetch queues that handle EXTERNAL_LINKS disposition with ARROW format."""
132133

133134
def __init__(

0 commit comments

Comments
 (0)