Skip to content

Commit 030cec9

Browse files
committed
Refactor expressions interpreter
1 parent 2162a32 commit 030cec9

File tree

3 files changed

+481
-421
lines changed

3 files changed

+481
-421
lines changed

monic/expressions/context.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@
44
# Copyright (c) 2024 Cognica, Inc.
55
#
66

7-
import typing as t
87
from dataclasses import dataclass
98

109

1110
@dataclass
1211
class ExpressionsContext:
1312
# The timeout for evaluating the expression in seconds.
14-
timeout: t.Optional[float] = 10.0
13+
timeout: float | None = 10.0

0 commit comments

Comments
 (0)