Correct extract_adapters type hint

This commit is contained in:
coolneng 2021-11-13 18:46:37 +01:00
parent 4f2dfc68d3
commit e59683b925
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
from argparse import ArgumentParser from argparse import ArgumentParser
from glob import glob from glob import glob
from typing import Dict, List, Tuple from typing import List, Tuple
from pandas import DataFrame, read_html, Series from pandas import DataFrame, read_html, Series
@ -10,7 +10,7 @@ def find_html_files(path) -> List:
return file_list return file_list
def extract_adapters(files) -> Tuple[Series, Dict]: def extract_adapters(files) -> Tuple[Series, List]:
all_adapters = DataFrame() all_adapters = DataFrame()
for entry in files: for entry in files:
tables = read_html(entry) tables = read_html(entry)