Skip to content

Commit 0d815ce

Browse files
Update type hinting
1 parent 1c72e0c commit 0d815ce

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

backend/src/acidwatch_api/models/phpitz.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ async def run(self) -> RunResult:
7474
return (concentrations_dict, TextResult(data=result))
7575

7676
@staticmethod
77-
def parse_phpitz_simple(text: str) -> dict:
77+
def parse_phpitz_simple(text: str) -> dict[str, dict[str, float]]:
7878
result = {}
7979

8080
lines = text.split("\n")
@@ -102,5 +102,4 @@ def parse_phpitz_simple(text: str) -> dict:
102102
),
103103
"fugacity_coef": float(parts[4]),
104104
}
105-
106105
return result

0 commit comments

Comments
 (0)