mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-04-21 16:50:02 +02:00
chore: type hints, mypy issues
This commit is contained in:
parent
28410a97f5
commit
0ea997384c
@ -41,11 +41,11 @@ def load_state(func: Callable[..., Any]) -> Callable[..., Any]:
|
||||
... self._name = value
|
||||
"""
|
||||
|
||||
func._load_state = True
|
||||
func._load_state = True # type: ignore
|
||||
return func
|
||||
|
||||
|
||||
def has_load_state_decorator(prop: property):
|
||||
def has_load_state_decorator(prop: property) -> bool:
|
||||
"""Determines if the property's setter method is decorated with the `@load_state`
|
||||
decorator.
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user