Project

General

Profile

Actions

Bug #10097

open

Python RichCollectionbase's find_or_create() method callers may assume that found object is of "create_type" type

Added by Lucas Di Pentima over 7 years ago. Updated almost 3 years ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
SDKs
Target version:
-
Start date:
09/19/2016
Due date:
% Done:

0%

Estimated time:
Story points:
-
Actions #1

Updated by Lucas Di Pentima over 7 years ago

  • Subject changed from Python RichCollectionbase's find_or_create() method callers may assume that found object is of create_type type to Python RichCollectionbase's find_or_create() method callers may assume that found object is of "create_type" type

On sdk/python/arvados/collection.py, find_or_create method does not check if found object is of type create_type before returning it. Although the docstring states that this is the intended behaviour, RichCollectionBase's mkdirs() assumes that this argument determines the found type too.

Actions #2

Updated by Tom Morris over 6 years ago

  • Target version set to Arvados Future Sprints
Actions #3

Updated by Ward Vandewege almost 3 years ago

  • Target version deleted (Arvados Future Sprints)
Actions

Also available in: Atom PDF