NewCollectionVersion

class pydelfini.delfini_core.models.new_collection_version.NewCollectionVersion(description, frozen_release=False, item_ids=Unset, metadata=Unset)[source]

Bases: object

Collection version details

Parameters:
description

The description of the version

Type:

str

frozen_release

If true, the system will store the current state of all link targets and dataviews in the default datastore

Default: False.

Type:

Union[Unset, bool]

item_ids

The items to include in this collection version

Type:

Union[Unset, List[str]]

metadata

Arbitrary user-defined metadata, key-value pairs

Type:

Union[Unset, NewCollectionVersionMetadata]

Attributes

description

frozen_release

item_ids

metadata

classmethod from_dict(src_dict)[source]

Create an instance of NewCollectionVersion from a dict

Parameters:

src_dict (Dict[str, Any])

Return type:

T

to_dict()[source]

Convert to a dict

Return type:

Dict[str, Any]