You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/extractors.md
+33Lines changed: 33 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -521,9 +521,42 @@ See {doc}`writing_extractor_plugins` for instructions on how to write a new extr
521
521
522
522
## API Reference
523
523
524
+
### Extractor Registry Properties
525
+
526
+
The {py:class}`nexusLIMS.extractors.registry.ExtractorRegistry` class provides convenient properties for querying registered extractors:
527
+
528
+
**`extractors` Property**
529
+
: Returns a dictionary mapping file extensions to lists of extractor classes, sorted by priority (descending). This property automatically triggers plugin discovery if not already performed.
530
+
531
+
```python
532
+
from nexusLIMS.extractors.registry import get_registry
: Returns a deduplicated, alphabetically-sorted list of all registered extractor class names. Includes both extension-specific and wildcard extractors. This property also triggers auto-discovery if needed.
0 commit comments