mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-06-12 07:57:11 +02:00
feat: creating components module, adding docstrings
This commit is contained in:
@ -1,16 +0,0 @@
|
||||
from .data_service import DataService
|
||||
|
||||
|
||||
class NumberSlider(DataService):
|
||||
def __init__(
|
||||
self,
|
||||
value: float | int = 0,
|
||||
min: int = 0,
|
||||
max: int = 100,
|
||||
step_size: float = 1.0,
|
||||
) -> None:
|
||||
self.min = min
|
||||
self.max = max
|
||||
self.value = value
|
||||
self.step_size = step_size
|
||||
super().__init__()
|
Reference in New Issue
Block a user