Cdeset

class pydelfini.delfini_core.models.cdeset.Cdeset(description, display_name, is_default, name, num_cdes, state)[source]

Bases: object

Cdeset model

Parameters:
description
Type:

str

display_name

User-facing name (may contain spaces). Falls back to name when no display name has been set.

Type:

str

is_default

Whether this CDE set is pre-selected as the standard for newly created collections. At most one set is the default.

Type:

bool

name
Type:

str

num_cdes
Type:

int

state

Lifecycle state of a CDE set: - active: listed everywhere and recommended for use (the default) - deprecated: still usable, but no longer recommended - system: hidden from the public CDE listing, but still available

as a data element source (e.g. for metadata fields)

Type:

CdesetState

Attributes

description

display_name

is_default

name

num_cdes

state

classmethod from_dict(src_dict)[source]

Create an instance of Cdeset from a dict

Parameters:

src_dict (Dict[str, Any])

Return type:

T

to_dict()[source]

Convert to a dict

Return type:

Dict[str, Any]