@@ -19,8 +19,8 @@ def source_from_path(
1919 """
2020 Load a document from a path, as a string or a `Path` object.
2121
22- :param input_path: Path of file to open
23- :param fix_pdf: Whether to attempt fixing PDF files before sending.
22+ :params input_path: Path of file to open
23+ :params fix_pdf: Whether to attempt fixing PDF files before sending.
2424 Setting this to `True` can modify the data sent to Mindee.
2525 """
2626 input_doc = PathInput (input_path )
@@ -33,8 +33,8 @@ def source_from_file(input_file: BinaryIO, fix_pdf: bool = False) -> FileInput:
3333 """
3434 Load a document from a normal Python file object/handle.
3535
36- :param input_file: Input file handle
37- :param fix_pdf: Whether to attempt fixing PDF files before sending.
36+ :params input_file: Input file handle
37+ :params fix_pdf: Whether to attempt fixing PDF files before sending.
3838 Setting this to `True` can modify the data sent to Mindee.
3939 """
4040 input_doc = FileInput (input_file )
@@ -49,9 +49,9 @@ def source_from_b64string(
4949 """
5050 Load a document from a base64 encoded string.
5151
52- :param input_string: Input to parse as base64 string
53- :param filename: The name of the file (without the path)
54- :param fix_pdf: Whether to attempt fixing PDF files before sending.
52+ :params input_string: Input to parse as base64 string
53+ :params filename: The name of the file (without the path)
54+ :params fix_pdf: Whether to attempt fixing PDF files before sending.
5555 Setting this to `True` can modify the data sent to Mindee.
5656 """
5757 input_doc = Base64Input (input_string , filename )
@@ -66,9 +66,9 @@ def source_from_bytes(
6666 """
6767 Load a document from raw bytes.
6868
69- :param input_bytes: Raw byte input
70- :param filename: The name of the file (without the path)
71- :param fix_pdf: Whether to attempt fixing PDF files before sending.
69+ :params input_bytes: Raw byte input
70+ :params filename: The name of the file (without the path)
71+ :params fix_pdf: Whether to attempt fixing PDF files before sending.
7272 Setting this to `True` can modify the data sent to Mindee.
7373 """
7474 input_doc = BytesInput (input_bytes , filename )
@@ -101,7 +101,7 @@ def source_from_url(
101101 """
102102 Load a document from a URL.
103103
104- :param url: Raw byte input
104+ :params url: Raw byte input
105105 """
106106 return UrlInputSource (
107107 url ,
0 commit comments