fsspec / fsspec/projspec

Allow walk to take an integer value

Open
#69 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue
Dominant language
Python
Stars
24
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Currently walk is either True (walk the whole tree) or False (only consider the top level). It would be good to enable specifying the depth exactly.

As a possible addition, using fsspec's depth-first walk would allow skipping ignored directory names ealier.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the implementation and tests for the walk option, then review how the current True and False values select tree depth. Check fsspec's depth-first walk behavior, especially ignored directory names, and define tests showing that an integer selects exactly that depth and that the existing boolean behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.