From d1c2e8e0bbab21392bbb65a3e2ad4e5bfa23a96f Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Sat, 24 Feb 2024 23:22:32 +0000 Subject: [PATCH] our_types/JSON: replace Decimal with correct float --- enjo_lib/our_types.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/enjo_lib/our_types.py b/enjo_lib/our_types.py index 8c60a97..780983a 100644 --- a/enjo_lib/our_types.py +++ b/enjo_lib/our_types.py @@ -4,9 +4,6 @@ from collections.abc import ( Mapping, Sequence, ) -from decimal import ( - Decimal, -) from typing import ( TypeAlias, NewType, @@ -22,7 +19,7 @@ JSON: TypeAlias = Union[ Sequence["JSON"], str, int, - Decimal, + float, bool, ]