Diogo Sousa
d11da02a2d
omg!: fix obbject repr
2023-09-27 12:14:40 +01:00
teh_coderer
6a9308c3e7
Feature/sdk v4 pydantic v2 ( #5458 )
...
* init
* Update provider_interface.py
* docstring
* pydantic v2
* Update __init__.py
* build package v2 support
* `alises` to `aliases`
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com >
* `alises` to `aliases`
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com >
* `alises` to `aliases`
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com >
* updates
* Update registry.py
* validate_arguments -> validate_call
* update terminal classes
* response_model_by_alias = False
* query_params by alias
* Update major_indices_constituents.py
* add alias to Query in `provider_interface`
* yfinance
* build package, add param defaults and correct `OBBject` results type
* fix cpi validation errors
* Update risk_premium.py
* fix `forex_pairs` active query param annotation, set default when only 1 provider
* fix and refactor intrinio `options_chains`
* Update poetry.lock
* fix benzinga news, build package, add intrinio fred_historical fetcher
* Update extension_map.json
* ruff
* Update unit_test_generator.py
* updates
* add `default=None` on Optional fields
* `parse_obj` -> `model_validate`
* add alias to dup fields on providers with `__alias_dict__`, fix `test_generate_model_docstring`
* Update package_builder.py
* fix validation errors, fix tests
* tests http
* `fred_historical` record
* Update test_intrinio_fetchers.py
* Update test_intrinio_fetchers.py
* Update test_intrinio_fetchers.py
* Update available_indices.py
* Update stock_historical.py
* build package
* build package without optional
* change `SystemSettings` -> `MockSystemSettings` in `test_system_settings.py`
* `openbb_figure.py`/`backend.py` terminal changes , update deps/lock files
* `linearmodels>4.26` auto installs `setuptools-scm` which cause error messages
* clean up
* `dev_install.py` for local development
* ruff
* dup `# noqa`
* build
* Update bitquery_model.py
* records
* rec
* f
* worky?
* update `integration_test_generator.py` and `unit_test_generator.py`
* renamed test to tests in file
* fix import due to change in file name
---------
Co-authored-by: Pratyush Shukla <ps4534@nyu.edu >
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com >
2023-09-27 09:40:07 +01:00
Igor Radovanovic
1e41378770
Merge pull request #5469 from OpenBB-finance/feature/integration-tests
...
Feature/integration tests
2023-09-26 14:58:10 +02:00
Pratyush Shukla
e4a5c4cef0
static
2023-09-26 18:23:22 +05:30
Pratyush Shukla
638fc5f064
Merge branch 'feature/openbb-sdk-v4' into feature/integration-tests
2023-09-26 17:50:03 +05:30
Igor Radovanovic
d9de893723
Working tests
2023-09-26 14:13:13 +02:00
Pratyush Shukla
84f97525bb
fix yfinance futures historical issue with setting date as index
2023-09-26 17:20:20 +05:30
Diogo Sousa
93617986af
fix missing fstring
2023-09-26 12:33:17 +01:00
Henrique Joaquim
2f4b5ca334
adjustments on to_df ( #5479 )
2023-09-26 12:25:51 +01:00
hjoaquim
71c962b8c0
adding the marker to the templates
2023-09-26 12:19:02 +01:00
Henrique Joaquim
cc1ed750aa
Feature/integration marker ( #5478 )
...
* nox file to account for all dirs inside sdk (core+provider)
* adding integration marker
2023-09-26 12:16:34 +01:00
hjoaquim
d7bda4ddea
Merge branch 'feature/openbb-sdk-v4' into feature/integration-tests
2023-09-26 09:09:59 +01:00
Pratyush Shukla
65b32f2a50
yfianance FuturesHistorical fix date issue
2023-09-26 00:07:27 +05:30
Igor Radovanovic
a2e425bdd2
Working tests
2023-09-25 20:10:26 +02:00
Igor Radovanovic
4dce4236ec
Fix edge cases
2023-09-25 19:25:22 +02:00
Igor Radovanovic
7102429d3b
Changes to tests
2023-09-25 19:08:50 +02:00
Igor Radovanovic
b952799629
Updates
2023-09-25 18:24:27 +02:00
Igor Radovanovic
eef90234d9
Date
2023-09-25 18:18:25 +02:00
Igor Radovanovic
84625f0744
Updated tests
2023-09-25 18:18:25 +02:00
hjoaquim
148771cbf2
only write the test if it doesn't exist yet
2023-09-25 17:03:23 +01:00
hjoaquim
1bfd131fad
integration tests for all extensions
2023-09-25 16:59:53 +01:00
hjoaquim
6dab67e83c
adjustments to get test params
2023-09-25 16:58:39 +01:00
Igor Radovanovic
6f43b6b549
Ruff config
2023-09-25 16:47:37 +02:00
Igor Radovanovic
977ac6a278
Fix imports and generate integration tests
2023-09-25 16:47:37 +02:00
Diogo Sousa
d516315c62
fix projections command
2023-09-25 15:11:28 +01:00
hjoaquim
3012f5e214
tests for endpoints that use http post method
2023-09-25 14:43:02 +01:00
Diogo Sousa
7d933e3f77
fix stocks.fa.transcript and rebuild
2023-09-25 14:31:25 +01:00
hjoaquim
4fbb39a29f
example tests for stocks
2023-09-25 13:04:38 +01:00
hjoaquim
b7d201a0e0
integration tests generator for the api
2023-09-25 13:04:28 +01:00
montezdesousa
67cc3bb3c8
return None instead of nan, nan breaks API ( #5475 )
2023-09-25 12:46:26 +01:00
Igor Radovanovic
4f473d0faf
Integration test generator and example integration tests for stocks
2023-09-25 13:01:03 +02:00
hjoaquim
19f3ec9bad
Merge branch 'feature/openbb-sdk-v4' into feature/integration-tests
2023-09-25 09:13:05 +01:00
Pratyush Shukla
58232f34cc
fix field types
2023-09-22 19:28:16 +05:30
Pratyush Shukla
24f8baaed7
set Optional alpha vantage provider fields
2023-09-22 18:28:32 +05:30
Igor Radovanovic
62e5ef2454
Ideas
2023-09-22 13:28:22 +02:00
montezdesousa
b641bb05ca
Release/4.0.0a2 ( #5463 )
...
* patch package version
* poetry lock provider
* update toml files to a2
* update sdk readme and toml
* poetry lock core
* bulk lock extensions/providers
* rebuild with new versions
* poetry lock openbb
* move version back to dev
2023-09-22 12:21:36 +01:00
Diogo Sousa
3237368b3b
fix test package builder
2023-09-22 11:20:38 +01:00
Igor Radovanovic
d98dac465a
Module map
2023-09-22 12:18:57 +02:00
Diogo Sousa
a82574ff45
black
2023-09-22 10:55:31 +01:00
montezdesousa
d0862a9ea7
Include extensions in package __repr__ ( #5462 )
...
* include extensions in package repr
* rename menus to routers
* move docstring
* doc typo
* rename CLASS to ROUTER
2023-09-22 10:08:09 +01:00
Danglewood
95d7392cb0
Hotfix/fix yfinance sdk4 ( #5455 )
2023-09-22 10:27:09 +05:30
Diogo Sousa
2d2592df45
readme typo
2023-09-21 16:32:28 +01:00
Diogo Sousa
55cf6eeaba
revert toml version changes to match pypi
2023-09-21 16:09:59 +01:00
Diogo Sousa
147724301d
avoid readme confusion with v3
2023-09-21 16:07:28 +01:00
Diogo Sousa
818355060f
fix quandl readme
2023-09-21 14:56:20 +01:00
Diogo Sousa
e5e22a87ca
grab version from constants
2023-09-21 14:46:58 +01:00
Danglewood
de310ea7f4
Hotfix/fix-quandl-regression ( #5461 )
...
* fix quandl regression
* Update cot_search.py
* return`List[QuandlCotSearchData]` in Fetcher
---------
Co-authored-by: Pratyush Shukla <ps4534@nyu.edu >
2023-09-21 15:21:04 +05:30
Diogo Sousa
0fefe7b644
other typo
2023-09-21 10:35:54 +01:00
Diogo Sousa
f774a9767d
typo
2023-09-21 10:35:04 +01:00
Diogo Sousa
0fc3185139
make extension test less verbose
2023-09-21 10:34:12 +01:00