CB Context ( antares.model.context.CBContext )

Antares context module.

class antares.model.context.CBContext

Bases: antares.model.context.Context

Represents a CB (Alert Combo) context object which is a sub-class of Context. It contains all the properties defined under CB context.

Attributes Summary

name Name of CB context.

Methods Summary

assembleVector_replicas(context, propname) The function assembles a vector of all the values of an Property inside a context of the alert replicas associated with the alert combo.

Attributes Documentation

name = 'CB'

Name of CB context.

Type:string

Methods Documentation

assembleVector_replicas(context, propname)

The function assembles a vector of all the values of an Property inside a context of the alert replicas associated with the alert combo.

Parameters:
  • context (string) – the name of the context
  • propname (string) – the name of the Property
Returns:

a list of values

Return type:

list