mirror of
https://github.com/tiqi-group/pydase.git
synced 2026-02-14 14:28:40 +01:00
fixing linting issue
This commit is contained in:
@@ -43,7 +43,8 @@ def convert_to_quantity(
|
|||||||
<Quantity(10.0, 'volt')>
|
<Quantity(10.0, 'volt')>
|
||||||
|
|
||||||
Notes:
|
Notes:
|
||||||
- If unit is not provided and value is a float or int, the resulting Quantity will be unitless.
|
- If unit is not provided and value is a float or int, the resulting Quantity
|
||||||
|
will be unitless.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if isinstance(value, int | float):
|
if isinstance(value, int | float):
|
||||||
|
|||||||
Reference in New Issue
Block a user