File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11from typing import TypeVar
22
3- import schemas
43from pydantic import BaseModel
54
5+ from vitals .biomarkers import schemas
6+
67Biomarkers = TypeVar ("Biomarkers" , bound = BaseModel )
78Units = schemas .PhenoageUnits | schemas .Score2Units
89
Original file line number Diff line number Diff line change 11import json
22from pathlib import Path
33
4- import helpers
4+ from vitals . biomarkers import helpers
55
66
77def update (input_file : Path ) -> dict :
Original file line number Diff line number Diff line change 11import numpy as np
2- from biomarkers import helpers , schemas
32from pydantic import BaseModel
43
4+ from vitals .biomarkers import helpers , schemas
5+
56
67class LinearModel (BaseModel ):
78 """
Original file line number Diff line number Diff line change 66"""
77
88import numpy as np
9- from biomarkers import helpers , schemas
109from pydantic import BaseModel
1110
11+ from vitals .biomarkers import helpers , schemas
12+
1213
1314class ModelCoefficients (BaseModel ):
1415 """
You can’t perform that action at this time.
0 commit comments