From cd3880a259cc85248b5a24fd8d22dbe7c51f2e01 Mon Sep 17 00:00:00 2001 From: TheArtur128 <88573504+TheArtur128@users.noreply.github.com> Date: Tue, 31 Oct 2023 23:50:57 +0700 Subject: [PATCH] update(`objects`): for Python 3.11 --- act/objects.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/act/objects.py b/act/objects.py index 17e5814..458d5b3 100644 --- a/act/objects.py +++ b/act/objects.py @@ -14,7 +14,7 @@ from act.aggregates import Access from act.annotations import ( - K, V, Pm, R, O, Union, CommentAnnotation, Annotation, TypeT, ActionT + K, V, Pm, R, O, F, Union, CommentAnnotation, Annotation, TypeT, ActionT ) from act.atomization import fun from act.contexting import ( @@ -516,7 +516,7 @@ def _for_setting(value: V) -> _filled[V] | _to_fill[V]: @val -class constructor[O, F, V, R]: +class constructor: _Actions = ( temp(value_of=Callable[O, V]) | temp(combine=Callable[[V, V], V])