diff --git a/modin/core/storage_formats/base/query_compiler.py b/modin/core/storage_formats/base/query_compiler.py index daf50349b00..76d3902a6e3 100644 --- a/modin/core/storage_formats/base/query_compiler.py +++ b/modin/core/storage_formats/base/query_compiler.py @@ -22,7 +22,7 @@ import abc import warnings from functools import cached_property -from typing import TYPE_CHECKING, Hashable, List, Optional +from typing import TYPE_CHECKING, Hashable, List, Literal, Optional import numpy as np import pandas diff --git a/modin/core/storage_formats/pandas/query_compiler.py b/modin/core/storage_formats/pandas/query_compiler.py index eb4ff88d1f1..05cc02044e8 100644 --- a/modin/core/storage_formats/pandas/query_compiler.py +++ b/modin/core/storage_formats/pandas/query_compiler.py @@ -25,7 +25,7 @@ import re import warnings from collections.abc import Iterable -from typing import TYPE_CHECKING, Hashable, List, Optional +from typing import TYPE_CHECKING, Hashable, List, Literal, Optional import numpy as np import pandas