Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow paths when creating 'DirectoryTree'. #2095

Merged
merged 2 commits into from
Mar 21, 2023
Merged

Conversation

rodrigogiraoserrao
Copy link
Contributor

This will close #1438.

This felt like a no-brainer given that we can support pathlib.Path (which makes a lot of sense) without needing to modify the inner workings by letting everything stay a string.
It would've taken longer to ask if it made sense to implement this than to just wait for this PR to get accepted/closed.

@rodrigogiraoserrao rodrigogiraoserrao requested review from willmcgugan and davep and removed request for willmcgugan March 21, 2023 14:20
@rodrigogiraoserrao rodrigogiraoserrao merged commit 2969273 into main Mar 21, 2023
@rodrigogiraoserrao rodrigogiraoserrao deleted the fix-1438 branch March 21, 2023 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider updating DirectoryTree so that it takes Path as well as a str as the path to browse
2 participants