Skip to content

Commit

Permalink
fix: type Class that was breaking python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
FedericoTartarini committed Mar 18, 2024
1 parent ee537a1 commit 17a6b8c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pythermalcomfort/jos3_functions/parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
It sorts the parameters alphabetically by key and formats each line with the parameter's name, meaning, and unit.
The resulting documentation string can be displayed or printed for user reference.
"""
from typing import List

import textwrap
from dataclasses import dataclass
from typing import ClassVar
Expand All @@ -34,7 +36,7 @@ class Default:
posture: str = "standing"
bmr_equation: str = "harris-benedict"
bsa_equation: str = "dubois"
local_bsa: ClassVar[list[float]] = np.array( # body surface area [m2]
local_bsa: ClassVar[List[float]] = np.array( # body surface area [m2]
[
0.110,
0.029,
Expand Down

0 comments on commit 17a6b8c

Please sign in to comment.