Telemetry list methods should return a generator

Bug #1464863 reported by Terry Howe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack SDK
Fix Released
High
Unassigned

Bug Description

Telemetry list methods should return a generator.

Tags: resource
Revision history for this message
Brian Curtin (brian.curtin) wrote :

Yep, it's not until we get to implementing a list call that you get to pluralizing the names. Should be singular for each resource.

Changed in python-openstacksdk:
status: New → Confirmed
importance: Undecided → High
milestone: none → 0.6
assignee: nobody → Brian Curtin (brian.curtin)
Revision history for this message
Brian Curtin (brian.curtin) wrote :

Looking into it, Statistics is a bit of an oddity but seems somewhat similar to Compute v2 Limits, so the plural on Statistics should probably stay. However, its list method has to be changed - it builds up a list and returns it. It either needs to return a generator, or possibly not support the list call at all.

Changed in python-openstacksdk:
milestone: 0.6 → 1.0
assignee: Brian Curtin (brian.curtin) → nobody
Revision history for this message
Terry Howe (thowe-g) wrote : Re: Telemetry statistics should be singular

I just took capabilities off this ticket. It is singular.

summary: - Telemetry statistics and capabilities should they be singular
+ Telemetry statistics should be singular
description: updated
Terry Howe (thowe-g)
summary: - Telemetry statistics should be singular
+ Telemetry list methods should return a generator
description: updated
tags: added: resource
Revision history for this message
Brian Curtin (brian.curtin) wrote :

This was fixed at some point.

Changed in python-openstacksdk:
status: Confirmed → 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.