[BugFix] Add json_schema_extra With Choices To Provider 'period' Field (#6451)

* add json_schema_extra choices to provider 'period' field

* black

* unused imports

* mypy

* pytest

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
This commit is contained in:
Danglewood
2024-05-26 07:07:51 -07:00
committed by GitHub
parent 5ff4d8907c
commit 5fecd9de96
25 changed files with 1510 additions and 1029 deletions

View File

@@ -83,7 +83,7 @@ def test_equity_fundamental_balance(params, obb):
@parametrize(
"params",
[
({"symbol": "AAPL", "limit": 10, "provider": "fmp"}),
({"symbol": "AAPL", "limit": 10, "provider": "fmp", "period": "annual"}),
],
)
@pytest.mark.integration
@@ -214,7 +214,7 @@ def test_equity_fundamental_cash(params, obb):
@parametrize(
"params",
[
({"symbol": "AAPL", "limit": 10, "provider": "fmp"}),
({"symbol": "AAPL", "limit": 10, "provider": "fmp", "period": "annual"}),
],
)
@pytest.mark.integration