mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-06-05 05:00:40 +02:00
fixes type
This commit is contained in:
parent
768be76cc8
commit
5f7cc7f671
@ -132,7 +132,7 @@ def parse_keyed_attribute(attr_string: str) -> tuple[str, str | float | int | No
|
||||
```
|
||||
"""
|
||||
|
||||
key = None
|
||||
key: str | float | int | None = None
|
||||
attr_name = attr_string
|
||||
if "[" in attr_string and attr_string.endswith("]"):
|
||||
attr_name, key_part = attr_string.split("[", 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user