Summary:
change frontend return style from "1. summary" to "1. link: summary:"
Details:
· delete previous style
· add new style
· pass the external test and delete test case
Screenshot:
Others:
There is still a path problem in importing the backend modules. I couldn't call the get_5_summary_from_5_articles function to present outputs without importing those modules.
So I used external test case to make sure the update output style is working (presented in test.py from the 1st commit, then deleted it from the 2nd commit).
If the importing problem is solved, I think it will give the return we want.
Wondering why couldn't call the get_5_summary_from_5_articles. Did you try something like the following?
api_returns = Phraends_Flask.get_5_summary_from_5_articles(ticker)
Summary: change frontend return style from "1. summary" to "1. link: summary:"
Details: · delete previous style · add new style · pass the external test and delete test case
Screenshot:
Others: There is still a path problem in importing the backend modules. I couldn't call the
get_5_summary_from_5_articles
function to present outputs without importing those modules. So I used external test case to make sure the update output style is working (presented intest.py
from the 1st commit, then deleted it from the 2nd commit). If the importing problem is solved, I think it will give the return we want.