-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PyPDFToDocument: remove deprecated converter_name and CONVERTERS_REGI…
…STRY (#7910)
- Loading branch information
Showing
3 changed files
with
15 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
releasenotes/notes/pypdf-rm-deprecated-params-6c4c51489305bb85.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
upgrade: | ||
- | | ||
The deprecated `converter_name` parameter has been removed from `PyPDFToDocument`. | ||
To specify a custom converter for `PyPDFToDocument`, use the `converter` initialization parameter and | ||
pass an instance of a class that implements the `PyPDFConverter` protocol. | ||
The `PyPDFConverter` protocol defines the methods `convert`, `to_dict` and `from_dict`. | ||
A default implementation of `PyPDFConverter` is provided in the `DefaultConverter` class. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters