-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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] Charting Modularity #6477
Conversation
…ce/OpenBBTerminal into feature/charting-modularity
Does this change entail that openbb-etf will by default rely on the charting extension? |
That's an oversight on me that were enthusiastic developing this and wasn't really considering dependencies tbh. The """OpenBB ETF Extension."""
try:
from openbb_charting import Charting # type: ignore
from openbb_etf import etf_views
except ImportError:
pass With this change anything else is needed, the |
So I was trying to checkout this branch and I wasn't able to import because of an AttributeError raised by PackageBuilder.
|
Maybe try in a fresh env? Works perfectly on my end. |
The charting functions are not to be used by themselves; as we were also not using them when it was implemented on the This is simply a different way of organizing the code, everything should still be the same UX-wise. |
I think this will provide more clarity to users as these appear like something intended for use. |
I'm good with that! We can expand/improve this if/when we agree it's the way to go! |
@hjoaquim I like this! |
Why? (1-3 sentences or a bullet point list):
What? (1-3 sentences or a bullet point list):
pandas
accessors mechanics (already in place for extending theOBBject
class).Impact (1-2 sentences or a bullet point list):
Testing Done:
Reviewer Notes (optional):
charting_router.py