Skip to content

Commit 2e684e7

Browse files
Update CancellableCountingThing.check to new property syntax
This was left behind when performing a rebase
1 parent ff05e2d commit 2e684e7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/test_action_cancel.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@
1111

1212
class CancellableCountingThing(lt.Thing):
1313
counter = lt.ThingProperty[int](initial_value=0, observable=False)
14-
check = lt.ThingProperty(
15-
bool,
16-
False,
14+
check = lt.ThingProperty[bool](
15+
initial_value=False,
1716
observable=False,
1817
description=(
1918
"This variable is used to check that the action can detect a cancel event "

0 commit comments

Comments
 (0)