Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
Add missing await for new internal set_props call
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobmischka committed May 1, 2023
1 parent d5f1bcb commit 48965c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interval_sdk/classes/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ async def set_state(self, value: Any):
try:
parsed = parse_obj_as(self.schema.state, dict_keys_to_snake(value))
if self._handle_state_change:
self.set_props(
await self.set_props(
await self._handle_state_change(
parsed,
parse_obj_as(
Expand Down

0 comments on commit 48965c1

Please sign in to comment.