Skip to content

Commit

Permalink
Removed multiple return types.
Browse files Browse the repository at this point in the history
  • Loading branch information
MihaMi27 committed Nov 30, 2024
1 parent b1cc9cf commit a553bee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sport_activities_features/training_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def prepare_normalized_power_data(self,tcx: TCXExercise, window_size:float = 30,

return power_data

def normalized_power(self, power_data: list, window_size: int) -> float|None:
def normalized_power(self, power_data: list, window_size: int) -> float:
"""Method for calculating normalized power (NP).\n
Args:
power_data (list):
Expand Down

0 comments on commit a553bee

Please sign in to comment.