Skip to content

Commit d6ebdb7

Browse files
committed
task_wait() no longer allows unrecognized kw args; fixes #80
1 parent b6f4e4d commit d6ebdb7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

custom_components/pyscript/trigger.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ async def wait_until(
9898
event_trigger=None,
9999
timeout=None,
100100
state_hold=None,
101-
**kwargs,
102101
):
103102
"""Wait for zero or more triggers, until an optional timeout."""
104103
if state_trigger is None and time_trigger is None and event_trigger is None:

docs/new_features.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,5 @@ The bug fixes since 0.32 in master include:
6060
- Jupyter autocomplete now works on multiline code blocks.
6161
- Improved error message reporting for syntax errors inside f-strings.
6262
- Fixed incorrect global context update on calling module that, in turn, does a callback (#58)
63+
- `task.wait_until` no longer silently ignores unrecognized keyword arguments (#80)
64+
- `task.wait_until` incorrectly ignored the keyword optional state_check_now argument (#81)

0 commit comments

Comments
 (0)