src.data_sources.annuity.model_points.model_point.annuitants.Annuitants¶
- class src.data_sources.annuity.model_points.model_point.annuitants.Annuitants(data: List[Dict])¶
Data source collectionthat contains one or more annuitants for a particularmodel point.Inheritance Diagram

Variables & Properties
A list of all the items in this collection, as a set of key-value pairs.
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 annuitants based on data within an annuity model point file, organized by
annuitant ID.- Parameters:
data – Data for multiple annuitants.
- 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.