cfme.intelligence.reports.saved module

class cfme.intelligence.reports.saved.AllSavedReportsView(parent, logger=None, **kwargs)[source]

Bases: cfme.intelligence.reports.CloudIntelReportsView

is_displayed
paginator

A class that implements the version picking functionality.

Basic usage is a descriptor in which you place instances of VersionPick in a view. Whenever is this instance accessed from an instance, it automatically picks the correct variant based on product_version defined in the widgetastic.browser.Browser.

You can also use this separately using the pick() method.

Example:

class MyView(View):
    something_version_dependent = VersionPick({
        '1.0.0': Foo('bar'),
        '2.5.0': Bar('baz'),
    })

This sample will resolve the correct (Foo or Bar) kind of item and returns it.

Parameters:version_dict – Dictionary of version_introduced: item
table

This class handles instantiating and caching of the widgets on view.

It stores the class and the parameters it should be instantiated with. Once it is accessed from the instance of the class where it was defined on, it passes the instance to the widget class followed by args and then kwargs.

It also acts as a counter, so you can then order the widgets by their “creation” stamp.

title

This class handles instantiating and caching of the widgets on view.

It stores the class and the parameters it should be instantiated with. Once it is accessed from the instance of the class where it was defined on, it passes the instance to the widget class followed by args and then kwargs.

It also acts as a counter, so you can then order the widgets by their “creation” stamp.

class cfme.intelligence.reports.saved.SavedReport(name, run_at_datetime, queued_datetime_in_title, appliance=None)[source]

Bases: cfme.utils.appliance.Navigatable

delete(cancel=False)[source]
class cfme.intelligence.reports.saved.SavedReportDetailsView(parent, logger=None, **kwargs)[source]

Bases: cfme.intelligence.reports.reports.CustomSavedReportDetailsView

is_displayed
class cfme.intelligence.reports.saved.SavedReportView(parent, logger=None, **kwargs)[source]

Bases: cfme.intelligence.reports.saved.AllSavedReportsView

is_displayed
class cfme.intelligence.reports.saved.ScheduleDetails(obj, navigate_obj)[source]

Bases: cfme.utils.appliance.implementations.ui.CFMENavigateStep

VIEW

alias of SavedReportDetailsView

prerequisite

This is a helper descriptor for navigation destinations which are linked to the same class.

For instance, imagine you have an object that has a ‘ViewAll’, destination that needs to be visited before you can click on ‘New’. In this instance, you would need to make the ‘New’ destination use ‘ViewAll’ as a prerequisite. As this would need no other special input, we can use NavigateToSibling as a helper. This will set prerequisite to be a callable that will navigate to the prerequisite step.

step()[source]