src.data_sources.annuity.model_points.model_point.riders.Riders

class src.data_sources.annuity.model_points.model_point.riders.Riders(data: List[Dict])

Data source collection that contains riders for a particular model point.

Inheritance Diagram

Inheritance diagram of Riders

Variables & Properties

items

A list of all the items in this collection, as a set of key-value pairs.

keys

A list of all the keys in this collection.

Methods

__init__(data)

Constructor method.

Details

__init__(data: List[Dict])

Constructor method. Initializes a collection of riders based on data within an annuity model point file, organized by integer index.

Parameters:

data – Data for multiple riders.

property items: List[Tuple[K, V]]

A list of all the items in this collection, as a set of key-value pairs.

Returns:

List of key-value pairs.

property keys: List[K]

A list of all the keys in this collection.

Returns:

List of keys.