Bug #10097

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

Added by Lucas Di Pentima over 2 years ago. Updated over 1 year ago.

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

0%

Estimated time:
Story points:
-

History

#1 Updated by Lucas Di Pentima over 2 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.

#2 Updated by Tom Morris over 1 year ago

  • Target version set to Arvados Future Sprints

Also available in: Atom PDF