Consider having a `_typing.py` or a way to restructure common type aliases
Open
@selmanozleyen is already working on this.
Since Dec 16, 2025.
- Dominant language
- Python
- Stars
- 598
- Forks
- 121
- Avg merge
- 3d 11h
- Merged PRs (30d)
- 3
Description
refering to: https://github.com/scverse/squidpy/pull/1076#discussion_r2622482439
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 https://github.com/scverse/squidpy/pull/1076#discussion_r2622482439
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.