Skip to content

Commit

Permalink
Pre-commit 2
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaeling committed Mar 6, 2024
1 parent 3b160da commit 10c8baa
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion kuksa-client/kuksa_client/grpc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ def from_grpc_error(cls, error: RpcError):
def to_dict(self) -> Dict[str, Any]:
return {'error': self.error, 'errors': self.errors}


@dataclasses.dataclass
class ValueRestriction:
min: Optional[Any] = None
Expand Down Expand Up @@ -958,7 +959,11 @@ def set(self, updates: Collection[EntryUpdate], **rpc_kwargs) -> None:
self._process_set_response(resp)

@check_connected
def subscribe(self, entries: Iterable[SubscribeEntry], frequency: Optional[int], **rpc_kwargs) -> Iterator[List[EntryUpdate]]:
def subscribe(self,
entries: Iterable[SubscribeEntry],
frequency: Optional[int],
**rpc_kwargs
) -> Iterator[List[EntryUpdate]]:
"""
Parameters:
rpc_kwargs
Expand Down

0 comments on commit 10c8baa

Please sign in to comment.