From cbbf4509591ae1c15a49fe62abacc14d4315a86d Mon Sep 17 00:00:00 2001 From: sunfu12 Date: Fri, 14 Jan 2022 13:59:19 +0800 Subject: [PATCH] debug: BaseTzInfo can only be imported from pytz.tzinfo --- src/infi/clickhouse_orm/fields.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/infi/clickhouse_orm/fields.py b/src/infi/clickhouse_orm/fields.py index 6e73e3f..03f7602 100644 --- a/src/infi/clickhouse_orm/fields.py +++ b/src/infi/clickhouse_orm/fields.py @@ -6,7 +6,7 @@ from decimal import Decimal, localcontext from uuid import UUID from logging import getLogger -from pytz import BaseTzInfo +from pytz.tzinfo import BaseTzInfo from .utils import escape, parse_array, comma_join, string_or_func, get_subclass_names from .funcs import F, FunctionOperatorsMixin from ipaddress import IPv4Address, IPv6Address