src.data_sources.model_points.model_point.ModelPointBase¶
- class src.data_sources.model_points.model_point.ModelPointBase(data: Series)¶
Data sourcefor a single generic, non-product-specific model point. Contains attributes common across all model points.Inheritance Diagram

Variables & Properties
Unique identifier for this model point.
Policy issue date.
Human-readable product name.
Product type enum that denotes what kind of product this model point is.
Methods
__init__(data)Constructor method.
Details
- __init__(data: Series)¶
Constructor method. Copies data from input Series into the cache.
- Parameters:
data – Input Series.
- cache: DataFrame¶
Internal cache, populated at runtime.
- property id: str¶
Unique identifier for this model point. This could be a Policy Number, integer, GUID, or any other unique code.
- Returns:
Model point ID.
- property issue_date: date¶
Policy issue date.
- Returns:
Issue date.
- property product_name: str¶
Human-readable product name.
- Returns:
Friendly product name.
- property product_type: ProductType¶
Product type enum that denotes what kind of product this model point is. For example, Variable Annuity or Universal Life.
- Returns:
Product type.