Files
OCRmyPDF/tests
James R. Barlow 0ad7f5fc13 feat: add dynamic nested access to plugin options
Completes Phase 5 of the CLI refactoring plan by enabling nested
plugin option access (e.g., options.tesseract.timeout) alongside
the legacy flat access (options.tesseract_timeout).

Changes:
- Add module-level plugin option model registry in _options.py
- Add __getattr__ to OCROptions for dynamic namespace access
- Register plugin models in setup_plugin_infrastructure()
- Add test for nested plugin option access

Plugin option instances are lazily created from flat field values
and cached for subsequent access.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-21 12:21:48 -08:00
..
2025-12-21 12:21:48 -08:00
2024-04-07 00:25:32 -07:00
2023-04-14 02:19:19 -07:00
2025-12-21 12:21:47 -08:00
2025-07-03 11:30:05 -07:00
2022-07-28 01:10:07 -07:00
2025-11-10 16:57:30 -08:00
2025-12-21 12:21:48 -08:00