Skip to content

Commit aba5cb3

Browse files
update: Add TerminalComponentModeler backwards compatibilty warning
1 parent 057fe1b commit aba5cb3

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

dev.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/astral-sh/uv:debian AS tidy3d-python-client-dev
1+
FROM ghcr.io/astral-sh/uv:0.8-debian AS tidy3d-python-client-dev
22

33
ENV DEBIAN_FRONTEND=noninteractive
44

docs/notebooks

Submodule notebooks updated 84 files

tidy3d/plugins/smatrix/component_modelers/terminal.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,14 @@ def _warn_rf_license(cls, values):
5757
)
5858
return values
5959

60+
@pd.root_validator(pre=False)
61+
def _warn_deprecation_2_10(cls, values):
62+
log.warning(
63+
"ℹ️ ⚠️ Backwards compatibility will be broken for the TerminalComponentModeler class in tidy3d version 2.10. Migration documentation will be provided, and existing functionality can be accessed in a different way.",
64+
log_once=True,
65+
)
66+
return values
67+
6068
@equal_aspect
6169
@add_ax_if_none
6270
def plot_sim(

0 commit comments

Comments
 (0)