Project

General

Profile

Actions

Idea #8838

open

[SDKs] PySDK Collection class lets you iterate files and subcollections separately

Added by Brett Smith over 8 years ago. Updated 9 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
SDKs
Target version:
Start date:
Due date:
Story points:
-
Release:
Release relationship:
Auto

Description

I might be overlooking something, but right now it looks like the best way to distinguish files and collections when you iterate over a Collection is to use isinstance. This feels creaky and a little un-Pythonic.

It would be nice if there was an API to iterate over these separately. One way might be to have a walk method that works like os.walk.

Actions #1

Updated by Brett Smith over 8 years ago

  • Target version set to Arvados Future Sprints
Actions #2

Updated by Ward Vandewege over 3 years ago

  • Target version deleted (Arvados Future Sprints)
Actions #3

Updated by Peter Amstutz almost 2 years ago

  • Release set to 60
Actions #4

Updated by Peter Amstutz 9 months ago

  • Target version set to Future
Actions

Also available in: Atom PDF