ContactSimulationIssue
类型: 类
领域: 仿真交接
推荐导入: from cadflow import ContactSimulationIssue
签名
class ContactSimulationIssue(severity: 'str', code: 'str', path: 'str', message: 'str') -> None
功能说明
ContactSimulationIssue 是 CadFlow 仿真交接领域的公共类。
原始 API 说明
ContactSimulationIssue(severity: 'str', code: 'str', path: 'str', message: 'str')
其他公共导入路径
from cadflow.simulation import ContactSimulationIssue
参数
| 名称 | 类型 | 必需 | 默认值 | 源码说明 |
|---|---|---|---|---|
severity | 'str' | 是 | - | 源码 Docstring 未单独说明。 |
code | 'str' | 是 | - | 源码 Docstring 未单独说明。 |
path | 'str' | 是 | - | 源码 Docstring 未单独说明。 |
message | 'str' | 是 | - | 源码 Docstring 未单独说明。 |
返回值
类型: None
源码 Docstring 未声明更多返回语义。
异常
源码 Docstring 未声明更窄的异常契约。类型、数值、所有权、路径或后端状态无效时,仍可能抛出相应公共异常。
数据字段
| 名称 | 类型 | 默认值 |
|---|---|---|
severity | 'str' | required |
code | 'str' | required |
path | 'str' | required |
message | 'str' | required |
公共成员
| 成员 | 类型 | 签名 | 说明 |
|---|---|---|---|
to_dict | method | (self) -> 'dict[str, str]' | 见成员签名。 |
行为与约束
- 实例是不可变 dataclass 值;更新式工作流会返回替代值。
导入检查
from cadflow import ContactSimulationIssue