DataType 类
数据段的数据类型(输入或输出)。
- 继承
-
builtins.objectDataType
构造函数
DataType(workspace, id, name, description, is_directory, parent_datatype_ids)
参数
方法
| create_data_type |
创建新的 DataType。 |
| list_data_types |
列出给定工作区中现有的 DataType。 |
| update |
更新此 DataType 的说明或父 DataType。 |
create_data_type
创建新的 DataType。
static create_data_type(workspace, name, description, is_directory, parent_datatypes=None)
参数
返回
创建的 DataType。
返回类型
list_data_types
列出给定工作区中现有的 DataType。
static list_data_types(workspace)
参数
返回
DataType 的列表。
返回类型
update
更新此 DataType 的说明或父 DataType。
update(new_description=None, new_parent_datatypes=None)
参数
属性
description
id
is_directory
name
parent_datatype_ids
反馈
提交和查看相关反馈