Skip to content

Commit

Permalink
Forward storage blob list delimiter parameter to client.walk_blobs (A…
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreArpin authored and viparek committed Jun 10, 2021
1 parent bc6f6d2 commit 1627b8a
Show file tree
Hide file tree
Showing 3 changed files with 194 additions and 107 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ def list_blobs(client, delimiter=None, include=None, marker=None, num_results=No
from ..track2_util import list_generator

if delimiter:
generator = client.walk_blobs(name_starts_with=prefix, include=include, results_per_page=num_results, **kwargs)
generator = client.walk_blobs(
name_starts_with=prefix, include=include, results_per_page=num_results, delimiter=delimiter, **kwargs)
else:
generator = client.list_blobs(name_starts_with=prefix, include=include, results_per_page=num_results, **kwargs)

Expand Down
Loading

0 comments on commit 1627b8a

Please sign in to comment.