mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-02 15:32:04 +00:00
remove unused helper
This commit is contained in:
@@ -32,15 +32,6 @@ def get_querystring(items: dict, exclude: List[str]) -> str:
|
||||
return "&".join([f"{k}={v}" for k, v in params.items()])
|
||||
|
||||
|
||||
def extract_data(schema, data: list):
|
||||
new_data: Dict[str, list] = {x: [] for x in schema.__fields__}
|
||||
for item in data:
|
||||
for key, value in item.items():
|
||||
if key in new_data:
|
||||
new_data[key].append(value)
|
||||
return schema(**new_data)
|
||||
|
||||
|
||||
def process(
|
||||
row: ProviderDataType, key: str, processors: Optional[Dict[str, Callable]] = None
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user