airgun.views.syncplan

Module Contents

Classes

SyncPlansView

Base view for Satellite pages

SyncPlanCreateView

Base view for Satellite pages

SyncPlanEditView

Base view for Satellite pages

class airgun.views.syncplan.SyncPlansView(parent, logger=None, **kwargs)

Base view for Satellite pages

title
new
table
property is_displayed

Overrides the Widget.is_displayed(). The difference is that if the view does not have the root locator, it assumes it is displayed.

Returns

bool

class airgun.views.syncplan.SyncPlanCreateView(parent, logger=None, **kwargs)

Base view for Satellite pages

breadcrumb
name
description
interval
cron_expression
date_time
submit
property is_displayed

Overrides the Widget.is_displayed(). The difference is that if the view does not have the root locator, it assumes it is displayed.

Returns

bool

class airgun.views.syncplan.SyncPlanEditView(parent, logger=None, **kwargs)

Base view for Satellite pages

class details(parent, logger=None, **kwargs)

Regular primary level Tab.

Usage:

@View.nested
class mytab(SatTab):
    TAB_NAME = 'My Tab'
@View.nested
class subscriptions(SatTab):
    # no need to specify 'TAB_NAME', it will be set to 'Subscriptions'
    # automatically
    pass

Note that TAB_NAME is optional and if it’s absent - capitalized class name is used instead, which is useful for simple tab names like ‘Subscriptions’

name
description
date_time
next_sync
recurring_logic
enabled
interval
cron_expression
products_count
class products(parent, logger=None, **kwargs)

Regular primary level Tab.

Usage:

@View.nested
class mytab(SatTab):
    TAB_NAME = 'My Tab'
@View.nested
class subscriptions(SatTab):
    # no need to specify 'TAB_NAME', it will be set to 'Subscriptions'
    # automatically
    pass

Note that TAB_NAME is optional and if it’s absent - capitalized class name is used instead, which is useful for simple tab names like ‘Subscriptions’

resources
breadcrumb
actions
dialog
property is_displayed

Overrides the Widget.is_displayed(). The difference is that if the view does not have the root locator, it assumes it is displayed.

Returns

bool