Add item_type to ListOpt

Bug #1500737 reported by Masaki Matsushita
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo.config
Fix Released
Undecided
Masaki Matsushita

Bug Description

I want to add keyword parameter "item_type" to ListOpt.
It can be helpful for users to validate items in lists.

Example:

cfg.ListOpt('foo', default='1,2,3', item_type=types.Integer())

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to oslo.config (master)

Fix proposed to branch: master
Review: https://review.openstack.org/228767

Changed in oslo.config:
assignee: nobody → Masaki Matsushita (mmasaki)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo.config (master)

Reviewed: https://review.openstack.org/228767
Committed: https://git.openstack.org/cgit/openstack/oslo.config/commit/?id=b9019422311f24b02ebf3e3dc0d02ba6a4d551ed
Submitter: Jenkins
Branch: master

commit b9019422311f24b02ebf3e3dc0d02ba6a4d551ed
Author: Masaki Matsushita <email address hidden>
Date: Tue Sep 29 16:32:50 2015 +0900

    Add item_type and bounds to ListOpt

    This change adds keyword parameter "item_type" and
    "bounds" to ListOpt. It can be helpful for users to validate
    items in lists.

    DocImpact
    Closes-Bug: #1500737
    Change-Id: Ib224ac4b654fa9997d4ec044db2f1fde5a48e5f5

Changed in oslo.config:
status: In Progress → Fix Committed
Changed in oslo.config:
milestone: none → 2.5.0
status: Fix Committed → Fix Released
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.