We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d13c561 commit af3f3caCopy full SHA for af3f3ca
flexmeasures/data/schemas/utils.py
@@ -85,7 +85,7 @@ def convert_to_quantity(value: str, to_unit: str) -> ur.Quantity:
85
f"Cannot convert value '{value}' to a valid quantity. {e}"
86
)
87
88
-
+
89
def extract_sensors_from_flex_config(plot: dict) -> list[Sensor]:
90
"""
91
Extracts a consolidated list of sensors from an asset based on
@@ -118,8 +118,8 @@ def extract_sensors_from_flex_config(plot: dict) -> list[Sensor]:
118
119
return all_sensors
120
121
122
- def snake_to_kebab(key: str) -> str:
+def snake_to_kebab(key: str) -> str:
123
"""Convert snake_case to kebab-case."""
124
return key.replace("_", "-")
125
0 commit comments