Skip to content

Commit

Permalink
Fix type hint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mhthies committed Sep 15, 2024
1 parent 652bab7 commit de35654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shc/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ async def _update(self, value: FadeStep, origin: List[Any]) -> None:
await self._publish_and_wait(value.apply_to(current_value), origin)


class ConvertSubscription(Subscribable[T], Generic[T]):
class ConvertSubscription(Subscribable[T], Generic[S, T]):
"""
An adapter, wrapping a subscribable object of value type S and converting it to a subscribable object of value type
T, using the default converter or a given converter function.
Expand Down

0 comments on commit de35654

Please sign in to comment.