ItemColumn

class pydelfini.delfini_core.models.item_column.ItemColumn(name, data_element_ref=Unset, label=Unset, represents_pv=Unset, type=Unset)[source]

Bases: object

ItemColumn model

Parameters:
name
Type:

str

data_element_ref

A URL referencing a specific data element (and optional version) within a PDD, CDE set, or other data element source.

Type:

Union[Unset, str]

label
Type:

Union[Unset, str]

represents_pv

When provided, this indicates that this column represents one of the permissible values from the referenced data element. The desired permissible value must be placed in this field, and the column type must be either ‘Categorical’ or ‘Boolean’.

Type:

Union[Unset, int, str]

type
Type:

Union[Unset, ColumnSchemaType]

Attributes

name

data_element_ref

label

represents_pv

type

classmethod from_dict(src_dict)[source]

Create an instance of ItemColumn from a dict

Parameters:

src_dict (Dict[str, Any])

Return type:

T

to_dict()[source]

Convert to a dict

Return type:

Dict[str, Any]