Open silverv opened 1 year ago
It should do something like this:
for meta_path in sys.meta_path.copy(): if isinstance(meta_path, DsdlMetaFinder): sys.meta_path.remove(meta_path)
It should be available in the __init__.py file in the pycyphal.dsdl module
__init__.py
Also, install_import_hook needs to be renamed into add_import_hook and the old name should be deprecated. The docs need to make it clear that the function does not modify the existing import hooks.
install_import_hook
add_import_hook
It should do something like this:
It should be available in the
__init__.py
file in the pycyphal.dsdl module