From cae3a87358b0b5d9f5a71707371850bde649a532 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Tue, 28 Feb 2023 13:35:08 -0500 Subject: [PATCH] WTF: Return back metadata_extractors and metadata_indexers It was originally removed in 616fb1b444c50a38f5ec5ff54b9850085cb540db as a part of "remove all metadata stuff" step but really this does not need any metadata module (so no dependencies) and IMHO well worth being in the WTF. Demand for such information is stated in https://github.com/datalad/datalad-metalad/issues/340 --- datalad/local/wtf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/datalad/local/wtf.py b/datalad/local/wtf.py index d5717cfcf9..17e18b183d 100644 --- a/datalad/local/wtf.py +++ b/datalad/local/wtf.py @@ -346,6 +346,8 @@ def describe_keyring_backend(be): 'configuration': None, 'location': None, 'extensions': _describe_extensions, + 'metadata_extractors': lambda: _describe_metadata_elements('datalad.metadata.extractors'), + 'metadata_indexers': lambda: _describe_metadata_elements('datalad.metadata.indexers'), 'dependencies': _describe_dependencies, 'dataset': None, 'credentials': _describe_credentials,