Skip to content

Commit 24dab15

Browse files
committed
Modified Stock.py file.
1 parent b4d13ea commit 24dab15

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/stock_valuation_app/models/stock.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class CompanyProfile(BaseModel):
1111

1212

1313
class Rating(BaseModel):
14-
#symbol: str
14+
symbol: str
1515
date: str
1616
rating: str
1717
score: int = Field(..., alias="ratingScore")
@@ -31,7 +31,7 @@ class Rating(BaseModel):
3131

3232

3333
class Ratios(BaseModel):
34-
#symbol: str
34+
symbol: str
3535
year: str = Field(..., alias="calendarYear")
3636
de_ratio: float = Field(..., alias="debtEquityRatio")
3737
fcf_ps: float = Field(..., alias="freeCashFlowPerShare")
@@ -45,7 +45,7 @@ class Ratios(BaseModel):
4545

4646

4747
class KeyMetrics(BaseModel):
48-
#symbol: str
48+
symbol: str
4949
year: str = Field(..., alias="calendarYear")
5050
rev_per_share: float = Field(..., alias="revenuePerShare")
5151
net_income_per_share: float = Field(..., alias="netIncomePerShare")
@@ -59,7 +59,7 @@ class KeyMetrics(BaseModel):
5959

6060

6161
class Growth(BaseModel):
62-
#symbol: str
62+
symbol: str
6363
year: str = Field(..., alias="calendarYear")
6464
rev_growth: float = Field(..., alias="revenueGrowth")
6565
net_inc_growth: float = Field(..., alias="netIncomeGrowth")

0 commit comments

Comments
 (0)