Skip to content

Commit

Permalink
fix type annotation for file (#871)
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Lindeman <[email protected]>
  • Loading branch information
HenryL27 authored Oct 3, 2024
1 parent 3a554ca commit 4093134
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/aryn-sdk/aryn_sdk/partition/partition.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@


def partition_file(
file: BinaryIO,
file: Union[BinaryIO, str, PathLike],
aryn_api_key: Optional[str] = None,
aryn_config: Optional[ArynConfig] = None,
threshold: Optional[Union[float, Literal["auto"]]] = None,
Expand All @@ -39,7 +39,7 @@ def partition_file(
Sends file to the Aryn Partitioning Service and returns a dict of its document structure and text
Args:
file: open pdf file to partition
file: pdf file to partition
aryn_api_key: aryn api key, provided as a string
aryn_config: ArynConfig object, used for finding an api key.
If aryn_api_key is set it will override this.
Expand Down

0 comments on commit 4093134

Please sign in to comment.