We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f04849 commit a767205Copy full SHA for a767205
src/labthings/find.py
@@ -68,7 +68,7 @@ def registered_components(labthing_instance=None):
68
return labthing_instance.components
69
70
71
-def find_component(component_name, labthing_instance=None):
+def find_component(component_name: str, labthing_instance=None):
72
"""Find a particular LabThings Component registered to a LabThing instance
73
74
:param component_name: Fully qualified name of the component
@@ -88,7 +88,7 @@ def find_component(component_name, labthing_instance=None):
88
return None
89
90
91
-def find_extension(extension_name, labthing_instance=None):
+def find_extension(extension_name: str, labthing_instance=None):
92
"""Find a particular LabThings Extension registered to a LabThing instance
93
94
:param extension_name: Fully qualified name of the extension
0 commit comments