mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-01-30 23:08:59 -06:00
Defines the public interface better
This commit is contained in:
@@ -90,3 +90,11 @@ def get_date_parser() -> DateParserPluginBase:
|
|||||||
|
|
||||||
# 3. Instantiate the discovered class with the config
|
# 3. Instantiate the discovered class with the config
|
||||||
return parser_class(config=config)
|
return parser_class(config=config)
|
||||||
|
|
||||||
|
|
||||||
|
__all__ = [
|
||||||
|
"DateParserConfig",
|
||||||
|
"DateParserPluginBase",
|
||||||
|
"RegexDateParserPlugin",
|
||||||
|
"get_date_parser",
|
||||||
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user