src.data_sources.model_points.model_point.ModelPointBase

class src.data_sources.model_points.model_point.ModelPointBase(data: Series)

Data source for a single generic, non-product-specific model point. Contains attributes common across all model points.

Inheritance Diagram

Inheritance diagram of ModelPointBase

Variables & Properties

id

Unique identifier for this model point.

issue_date

Policy issue date.

product_name

Human-readable product name.

product_type

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.