mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-26 11:12:50 +00:00
key execs, income statement
This commit is contained in:
@@ -21,6 +21,8 @@ class YFinanceIncomeStatementQueryParams(IncomeStatementQueryParams):
|
||||
Source: https://finance.yahoo.com/
|
||||
"""
|
||||
|
||||
__validator_dict__ = {"check_single_value": ("symbol",)}
|
||||
|
||||
period: Optional[Literal["annual", "quarter"]] = Field(default="annual")
|
||||
|
||||
|
||||
@@ -37,7 +39,6 @@ class YFinanceIncomeStatementData(IncomeStatementData):
|
||||
"basic_earnings_per_share": "basic_eps",
|
||||
"diluted_earnings_per_share": "diluted_eps",
|
||||
}
|
||||
__validator_dict__ = {"check_single_value": ("symbol",)}
|
||||
|
||||
@field_validator("period_ending", mode="before", check_fields=False)
|
||||
def date_validate(cls, v): # pylint: disable=E0213
|
||||
|
||||
@@ -28,7 +28,6 @@ class YFinanceKeyExecutivesData(KeyExecutivesData):
|
||||
"exercised_value": "exercisedValue",
|
||||
"unexercised_value": "unexercisedValue",
|
||||
}
|
||||
__validator_dict__ = {"check_single_value": ("symbol",)}
|
||||
|
||||
exercised_value: Optional[int] = Field(
|
||||
default=None,
|
||||
|
||||
Reference in New Issue
Block a user