We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c401d29 commit 0683c5cCopy full SHA for 0683c5c
tidy3d/web/api/container.py
@@ -14,6 +14,7 @@
14
from ..core.task_info import TaskInfo, RunInfo
15
from ..core.constants import TaskId, TaskName
16
from ...components.base import Tidy3dBaseModel
17
+from ...components.types import annotate_type
18
from ...log import log, get_logging_console
19
20
from ...exceptions import DataError
@@ -418,7 +419,7 @@ class Batch(WebContainer):
418
419
* `Inverse taper edge coupler <../../notebooks/EdgeCoupler.html>`_
420
"""
421
- simulations: Dict[TaskName, SimulationType] = pd.Field(
422
+ simulations: Dict[TaskName, annotate_type(SimulationType)] = pd.Field(
423
...,
424
title="Simulations",
425
description="Mapping of task names to Simulations to run as a batch.",
0 commit comments