refering to: #1076 (comment)
Maybe this? Or use the one from squidpy.read._utils instead of os.PathLike | str if that doesn’t lead to circular imports
def from_yaml(cls, config_path: os.PathLike | str | None = None) -> DatasetRegistry:
Originally posted by @flying-sheep in #1076 (comment)