Skip to content

Commit a094929

Browse files
committed
Update generic component docs
1 parent 7d5dcba commit a094929

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/viam/components/generic/generic.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,13 @@ class Generic(ComponentBase):
1919
2020
class ComplexComponent(Generic):
2121
22-
async def do_command(self, command: Dict[str, Any]) -> Dict[str, Any]:
22+
async def do_command(
23+
self,
24+
command: Mapping[str, ValueTypes],
25+
*,
26+
timeout: Optional[float] = None,
27+
**kwargs
28+
) -> Mapping[str, ValueTypes]:
2329
result = {key: False for key in command.keys()}
2430
for (name, args) in command.items():
2531
if name == 'on':

0 commit comments

Comments
 (0)