|
|
|
|
|
|
|
|
# |
|
|
# |
|
|
from abc import ABC |
|
|
from abc import ABC |
|
|
import pandas as pd |
|
|
import pandas as pd |
|
|
import akshare as ak |
|
|
|
|
|
from agent.component.base import ComponentBase, ComponentParamBase |
|
|
from agent.component.base import ComponentBase, ComponentParamBase |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
component_name = "AkShare" |
|
|
component_name = "AkShare" |
|
|
|
|
|
|
|
|
def _run(self, history, **kwargs): |
|
|
def _run(self, history, **kwargs): |
|
|
|
|
|
import akshare as ak |
|
|
ans = self.get_input() |
|
|
ans = self.get_input() |
|
|
ans = ",".join(ans["content"]) if "content" in ans else "" |
|
|
ans = ",".join(ans["content"]) if "content" in ans else "" |
|
|
if not ans: |
|
|
if not ans: |