def group_push(name, app, weight, **kwargs):
    """
    Add application with its weight into the routing group.

    Warning: application weight must be positive integer.
    """
    ctx = Context(**kwargs)
    ctx.execute_action('group:app:add', **{
        'storage': ctx.repo.create_secure_service('storage'),
        'name': name,
        'app': app,
        'weight': weight,
    })
def group_push ( name , app , weight , ** kwargs ) : ctx = Context ( ** kwargs ) ctx . execute_action ( 'group:app:add' , ** { 'storage' : ctx . repo . create_secure_service ( 'storage' ) , 'name' : name , 'app' : app , 'weight' : weight , } )
Add application with its weight into the routing group.

    Warning: application weight must be positive integer.