def METHOD_NAME(cls, tidy3d_obj: Tidy3dBaseModel) -> JaxObject:
    """Convert :class:`.Tidy3dBaseModel` instance to :class:`.JaxObject`."""
    obj_dict = tidy3d_obj.dict(exclude={"type"})
    return cls.parse_obj(obj_dict)