Skip to content

Commit

Permalink
Fix issue with selectcols typing
Browse files Browse the repository at this point in the history
  • Loading branch information
caufieldjh committed Aug 26, 2024
1 parent b5368f2 commit 92a4a77
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ontogpt/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,10 @@ def write_extraction(


def parse_input(
input: str, use_pdf: bool = False, return_dict: bool = False, selectcols: List[str] = []
input: str, use_pdf: bool = False, return_dict: bool = False, selectcols: Optional[List[str]] = None
) -> Union[list, Dict[str, str]]:
if selectcols is None:
selectcols = []
"""Parse input argument to use as one or more input texts."""
if use_pdf:
logging.info("Will parse input as PDF.")
Expand Down

0 comments on commit 92a4a77

Please sign in to comment.