-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/companies house #4721
Feature/companies house #4721
Conversation
…es and inspect their details and download any filings including accounts
…rdio/OpenBBTerminal into feature/companies_house
Could the failures in my tests be due to the fact the new service requires a key? |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## develop #4721 +/- ##
===========================================
- Coverage 58.29% 58.00% -0.29%
===========================================
Files 588 591 +3
Lines 53666 53903 +237
===========================================
- Hits 31283 31266 -17
- Misses 22383 22637 +254
☔ View full report in Codecov by Sentry. |
This looks awesome! Small missing detail in the i18n file. No description on the charges:
|
thanks James, just trying to get things closed out as I haven't had much time lately. Hopefully not too much more to do cheers |
for the life of me I can't see what the issue is with the print_help test. Both Actual and Expected look identical. I suspect it might be something to do with hidden chars (life feed?) and have recreated the text file and still keep getting the same issue. Any ideas @jmaslek ? |
* Addition of UK Companies House data. Allows you to search for companies and inspect their details and download any filings including accounts * reformatting of code * reformatting * reformat code * reformat * fix codespell issue * updated for changes in way key are handled * small reformatting * added timeout for requests * formatting * ruff order fixes * black reformatting * merge issue - removed function call_openbb * black format change * Added new Companies House functionality to SDK * formattng * more Formatting (black) * Ruff fix * change return type for function * forced type conversion * return type fix * correct error return type * fix return type * deleted companieshouse tests as they require API key * Extra validation added for when data not exist from remote calls * Added extra commands to en.yml * spelling mistake correction * fat finger trouble corrected * Save documents with identifying names and allow documents to be viewed directly within OpenBB * ruff updates * black changes * ruff change * Addition of currently loaded company information in menu * add entry in the API keys guide for Companies Hosue * adds images to api keys guide * adds section in SDK API Keys Guide for Companies House * test file for companieshouse_model * changed test data due to ruff line size limit * resolve merge issues * resolve merge issue * doc strings examples * added docstrings for companieshouse_model * allow download_filking_document methid in view class to be called from SDK * added docstring for download_filing_document SDK method * correct Companies house key literal * replace starnge . with , * add check_api_key decorator to each methopd in controller * implement next and previous for looping through filings * ruff changes * correct tests * companing filings now allows you specify category * ruff line length issue resolved * retrieves all filings and added charges command * bug fix * Added limit parameter to filings command, def :100 * fix ruff issue * added get_charges to sdk and to test class * resolved ruff line length issue * add some view tests * add some controller tests * applying fix not merged to develop yet, column_keep_types=['Company Number'] * fix i18n description * update test_print_help * actually update test_print_help.txt * Update en.yml - no colon * rerorder imports - ruff failurre * simple text change * ruff fix * help text change trying to fix pytest issue --------- Co-authored-by: Danglewood <[email protected]> Co-authored-by: James Maslek <[email protected]>
Description
] Screenshot of the feature or the bug before/after fix, if applicable. - [ Wanted the ability to investigate companies including their filed accounts] Relevant motivation and context. - [Required Companies House API Key ] List any dependencies that are required for this change.
How has this been tested?
Used several different names for search functionality, e.g. search Shell Oil
Used the company number returned to load that company, e.g. load 06791769
Used following commands to review company data: officers, signifcontrol, filings
Used data returned from filings command to download actual document, e.g. filingdocument MzM3NTQzMzc0NGFkaXF6a2N4
Can also look at individual company officers, etc by passing in company number parameter, e.g.
Checklist:
feature/feature-name
orhotfix/hotfix-name
.Others