跳到主要内容

PhysicalConnectionResponseBatch

类型:
领域: 物理连接
推荐导入: from cadflow import PhysicalConnectionResponseBatch

签名

class PhysicalConnectionResponseBatch(backend: 'str', responses: 'tuple[PhysicalConnectionResponse, ...]', length_unit: 'str', force_unit: 'str', time_unit: 'str') -> None

功能说明

PhysicalConnectionResponseBatch 是 CadFlow 物理连接领域的公共类。

原始 API 说明

PhysicalConnectionResponseBatch(backend: 'str', responses: 'tuple[PhysicalConnectionResponse, ...]', length_unit: 'str', force_unit: 'str', time_unit: 'str')

其他公共导入路径

  • from cadflow.physical import PhysicalConnectionResponseBatch

参数

名称类型必需默认值源码说明
backend'str'-源码 Docstring 未单独说明。
responses'tuple[PhysicalConnectionResponse, ...]'-源码 Docstring 未单独说明。
length_unit'str'-源码 Docstring 未单独说明。
force_unit'str'-源码 Docstring 未单独说明。
time_unit'str'-源码 Docstring 未单独说明。

返回值

类型: None

源码 Docstring 未声明更多返回语义。

异常

源码 Docstring 未声明更窄的异常契约。类型、数值、所有权、路径或后端状态无效时,仍可能抛出相应公共异常。

数据字段

名称类型默认值
backend'str'required
responses'tuple[PhysicalConnectionResponse, ...]'required
length_unit'str'required
force_unit'str'required
time_unit'str'required

公共成员

成员类型签名说明
to_dictmethod(self) -> 'dict[str, Any]'见成员签名。

行为与约束

  • 实例是不可变 dataclass 值;更新式工作流会返回替代值。

导入检查

from cadflow import PhysicalConnectionResponseBatch

相关内容