Skip to content

Commit f9829a8

Browse files
cdce8pbdraco
andauthored
Allow None for discovery setter (#405)
Co-authored-by: J. Nick Koston <nick@koston.org>
1 parent ec6dc42 commit f9829a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flux_led/base_device.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def discovery(self) -> FluxLEDDiscovery | None:
276276
return self._discovery
277277

278278
@discovery.setter
279-
def discovery(self, value: FluxLEDDiscovery) -> None:
279+
def discovery(self, value: FluxLEDDiscovery | None) -> None:
280280
"""Set the discovery data."""
281281
self._discovery = value
282282

0 commit comments

Comments
 (0)