Explorar el Código

KNOB: add a type annotation for the return value -> None

Diego Queiroz hace 2 años
padre
commit
97a7dedcd6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      nicegui/elements/knob.py

+ 1 - 1
nicegui/elements/knob.py

@@ -16,7 +16,7 @@ class Knob(Element):
         icon_name: Union[str, None] = None,
         icon_color: str = 'black',
         icon_size: str = '1rem',
-    ):
+    ) -> None:
         """Knob
 
         This element is based on Quasar's `QKnob <https://quasar.dev/vue-components/knob>`_ component.