You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description="Base directory where data and batch will be downloaded.",
98
-
)
99
-
100
-
solver_version: str=pd.Field(
101
-
None,
102
-
title="Solver Version",
103
-
description_str="Custom solver version to use. "
104
-
"If not supplied, uses default for the current front end version.",
105
-
)
106
-
107
-
# TODO properly refactor, plugins should not have web methods.
108
-
batch_cached: Batch=pd.Field(
109
-
None,
110
-
title="Batch (Cached)",
111
-
description="DEPRECATED: Optional field to specify ``batch``. Only used as a workaround internally "
112
-
"so that ``batch`` is written when ``.to_file()`` and then the proper batch is loaded "
113
-
"from ``.from_file()``. We recommend leaving unset as setting this field along with "
114
-
"fields that were not used to create the task will cause errors.",
115
-
)
116
-
117
-
@pd.root_validator(pre=False)
118
-
def_warn_deprecation_2_10(cls, values):
119
-
log.warning(
120
-
"ℹ️ ⚠️ Backwards compatibility will be broken for all the ComponentModeler classes in tidy3d version 2.10. Migration documentation will be provided, and existing functionality can be accessed in a different way.",
121
-
log_once=True,
122
-
)
123
-
returnvalues
124
-
73
+
125
74
@pd.validator("simulation", always=True)
126
75
def_sim_has_no_sources(cls, val):
127
76
"""Make sure simulation has no sources as they interfere with tool."""
0 commit comments