Skip to content

Commit ef633d4

Browse files
adminadmin
authored andcommitted
Add null engine in engines_without_partition_by and remove accidendal Tkinter import
1 parent 1f2b7ca commit ef633d4

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/py-moose-lib/moose_lib/dmv2/olap_table.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def model_post_init(self, __context):
204204

205205
# Only S3QueueEngine, BufferEngine, and DistributedEngine don't support PARTITION BY
206206
# S3Engine DOES support PARTITION BY
207-
engines_without_partition_by = (S3QueueEngine, BufferEngine, DistributedEngine)
207+
engines_without_partition_by = (NullEngine, S3QueueEngine, BufferEngine, DistributedEngine)
208208
if isinstance(self.engine, engines_without_partition_by):
209209
engine_name = type(self.engine).__name__
210210

packages/py-moose-lib/moose_lib/internal.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
"""
99
import json
1010
from importlib import import_module
11-
from tkinter import N
1211
from typing import TYPE_CHECKING, Any, Dict, List, Literal, Optional, Union
1312

1413
from pydantic import AliasGenerator, BaseModel, ConfigDict, Field

0 commit comments

Comments
 (0)