Skip to content

Commit

Permalink
fixes python documentation (#14172)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedlone127 authored Feb 19, 2024
1 parent b148e79 commit 3cff1f8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python/sparknlp/annotator/tf_ner_dl_graph_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def setInputCols(self, *value):
Parameters
----------
*value : str
*value : List[str]
Input columns for the annotator
"""
if type(value[0]) == str or type(value[0]) == list:
Expand Down
2 changes: 1 addition & 1 deletion python/sparknlp/base/finisher.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def setInputCols(self, *value):
Parameters
----------
*value : str
*value : List[str]
Input columns for the annotator
"""
if len(value) == 1 and type(value[0]) == list:
Expand Down
2 changes: 1 addition & 1 deletion python/sparknlp/base/multi_document_assembler.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def setInputCols(self, *value):
Parameters
----------
*value : str
*value : List[str]
Input columns for the annotator
"""
if len(value) == 1 and type(value[0]) == list:
Expand Down

0 comments on commit 3cff1f8

Please sign in to comment.