read_registry_files¶

read_registry_files(path_to_registry)[source]¶

Reads registry files using importlib_resources.

Parameters:

path_to_registry (str or Path) – Path to registry files from tiatoolbox root.

Returns:

Contents of yaml file.

Return type:

dict