mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-04-22 09:10:01 +02:00
fixing linting issue
This commit is contained in:
parent
167636de00
commit
218d9f93c3
@ -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):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user