Support multiply type element in list type

Bug #1657312 reported by Lin Yang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Valence
New
Medium
Unassigned

Bug Description

Current the List type only support one single element type, like string or integer, otherwise, it raise ValueError. But for some cases, one list may have several different type element. So improve it to support multiply type element.

https://github.com/openstack/valence/blob/a8909293b5a6bdde9a745103d129ff757a62b978/valence/common/types.py#L111

Lin Yang (lin-a-yang)
Changed in openstack-valence:
importance: Undecided → Medium
description: updated
description: updated
space (fengzhr)
Changed in openstack-valence:
assignee: nobody → space (fengzhr)
space (fengzhr)
Changed in openstack-valence:
assignee: space (fengzhr) → nobody
Revision history for this message
space (fengzhr) wrote :

 I've thought about this question and maybe it's not a bug. The List type is just designed for one single element type.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.