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 about 2 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
SDKs
Target version:
Story points:
-
Release:
Release relationship:
Auto
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 #4

Updated by Peter Amstutz about 1 year ago

  • Release set to 60
Actions #5

Updated by Peter Amstutz about 2 months ago

  • Target version set to Future
Actions

Also available in: Atom PDF