Skip to content

Commit 25668af

Browse files
committed
chore(provider): integrate Banxico provider
1 parent 49a888c commit 25668af

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

openbb_platform/dev_install.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
openbb-core = { path = "./core", develop = true }
2323
openbb-platform-api = { path = "./extensions/platform_api", develop = true }
2424
25+
openbb-banxico = { path = "./providers/banxico", develop = true }
2526
openbb-benzinga = { path = "./providers/benzinga", develop = true }
2627
openbb-bls = { path = "./providers/bls", develop = true }
2728
openbb-cftc = { path = "./providers/cftc", develop = true }

openbb_platform/providers/banxico/openbb_banxico/py.typed

Whitespace-only changes.

openbb_platform/providers/banxico/tests/record/http/test_banxico_fetchers/test_currency_historical_fetcher_urllib3_v2.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,7 @@ interactions:
4040
Date:
4141
- Thu, 06 Aug 2026 23:49:06 GMT
4242
Set-Cookie:
43-
- Hex11701280=!TkovSbFSnhh10e4JOqwrA+Fx/+vMlPSpwZyprL7Y/TAK45KPHNHAnRXZEFpVP3miRLSfIFROq40OeYY=;
44-
expires=Fri, 07-Aug-2026 07:49:07 GMT; path=/; Httponly
45-
- TS012f422b=01ab44a5a8919a690bf4bf7ba5303ea03c904e91a38a590afb8114f04df3a4436306a33640e7cfa113354ec978d4cafc5f7fd8b3b08d3d5763ec791883630f7179e2470e61;
46-
Path=/
47-
- TS604574e3027=083fd6a492ab20008b0164fc3e8796b07fce5a19e2eb89da63d81b5c4932dc91bab6b0be8f486e44083fb45f0d113000c9182c58c96af40a6a27d7120d83d2c7d109f9566e6f45140a359042ea781fc51ff623b278ec344d6ddd20867d3d33d3;
48-
Path=/
43+
- MOCK_COOKIE
4944
Transfer-Encoding:
5045
- chunked
5146
status:

openbb_platform/providers/banxico/tests/test_banxico_fetchers.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@
1717
def vcr_config():
1818
"""VCR configuration that prevents the Banxico token entering a cassette."""
1919
return {
20-
"filter_headers": [("Bmx-Token", "MOCK_TOKEN")],
20+
"filter_headers": [
21+
("Bmx-Token", "MOCK_TOKEN"),
22+
("Set-Cookie", "MOCK_COOKIE"),
23+
],
2124
}
2225

2326

openbb_platform/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ python = ">=3.10,<4"
1616
openbb-core = "^1.6.13"
1717
openbb-platform-api = "^1.3.6"
1818

19+
openbb-banxico = "^0.1.0"
1920
openbb-benzinga = "^1.6.1"
2021
openbb-bls = "^1.3.1"
2122
openbb-cftc = "^1.4.2"

0 commit comments

Comments
 (0)