Skip to content

Update type hint for name_or_path to support Path#1836

Open
Andrew-S-Rosen wants to merge 5 commits into
facebookresearch:mainfrom
Andrew-S-Rosen:patch-4
Open

Update type hint for name_or_path to support Path#1836
Andrew-S-Rosen wants to merge 5 commits into
facebookresearch:mainfrom
Andrew-S-Rosen:patch-4

Conversation

@Andrew-S-Rosen
Copy link
Copy Markdown
Contributor

The type hint for name_or_path has been updated from str to str | Path

@meta-cla meta-cla Bot added the cla signed label Feb 28, 2026
@mshuaibii
Copy link
Copy Markdown
Contributor

Thanks @Andrew-S-Rosen - can you just install the pre-commit hooks we have and run that so linting can get taken care of

pip install pre-commit
 pre-commit run --files path/to/modified_file.py

@mshuaibii mshuaibii added documentation Improvements or additions to documentation no-op labels Mar 2, 2026
@Andrew-S-Rosen
Copy link
Copy Markdown
Contributor Author

@mshuaibii --- yup! I had naively assumed pre-commit CI was running here. Should be fixed now.

@mshuaibii mshuaibii enabled auto-merge March 2, 2026 17:06
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 8, 2026

This PR has been marked as stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale label May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla signed documentation Improvements or additions to documentation no-op stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants