Fix the use of the plugin_manager argument (#1555)

This commit is contained in:
Alina Bürge
2025-08-18 13:00:39 -07:00
committed by GitHub
parent fd5b8132ae
commit a9a8b39dba
+1 -1
View File
@@ -357,7 +357,7 @@ def ocr( # noqa: D417
create_options_kwargs = {
k: v
for k, v in locals().items()
if k not in {'input_file', 'output_file', 'kwargs'}
if k not in {'input_file', 'output_file', 'kwargs', 'plugin_manager'}
}
create_options_kwargs.update(kwargs)