Skip to content

Commit e4a2b5c

Browse files
committed
Add ExperimentalWarning to light_curve.embed model base class
1 parent c4167a5 commit e4a2b5c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

light-curve/light_curve/embed/model.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import numpy as np
99
from numpy.typing import ArrayLike
1010

11+
from ..light_curve_py.warnings import warn_experimental
1112
from .reduction import InputTensors, Reduction, reduction_from_str
1213

1314

@@ -64,6 +65,9 @@ def __init__(
6465
reduction: str | list[str] | Reduction,
6566
time_red_kwargs: dict[str, object] | None = None,
6667
) -> None:
68+
warn_experimental(
69+
f"{self.__class__.__module__}.{self.__class__.__name__} is experimental and may change in future versions"
70+
)
6771
self.session = session
6872

6973
if time_red_kwargs is None:

0 commit comments

Comments
 (0)