Skip to content

Commit

Permalink
fix linting error referring to duplicate arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
Coniferish committed Oct 4, 2023
1 parent d66b7a3 commit 58f2a2f
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions unstructured/partition/xlsx.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ def partition_xlsx(
metadata_last_modified: Optional[str] = None,
include_header: bool = False,
find_subtable: bool = True,
languages: List[str] = ["auto"],
**kwargs,
) -> List[Element]:
"""Partitions Microsoft Excel Documents in .xlsx format into its document elements.
Expand All @@ -60,15 +59,13 @@ def partition_xlsx(
include_metadata
Determines whether or not metadata is included in the output.
languages
The list of languages present in the document.
User defined value for metadata.languages if provided. Otherwise language is detected
using naive Bayesian filter via `langdetect`. Multiple languages indicates text could be
in either language.
metadata_last_modified
The day of the last modification
include_header
Determines whether or not header info info is included in text and medatada.text_as_html
languages
User defined value for metadata.languages if provided. Otherwise language is detected
using naive Bayesian filter via `langdetect`. Multiple languages indicates text could be
in either language.
"""
exactly_one(filename=filename, file=file)

Expand Down

0 comments on commit 58f2a2f

Please sign in to comment.