Unverified Commit f090fbf9 authored by davelopez's avatar davelopez
Browse files

Serialize purged flag for DCEObjects

parent 4b17f1b5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -6119,6 +6119,8 @@ export interface components {
             * @constant
             */
            model_class: "HistoryDatasetAssociation";
            /** Purged */
            purged: boolean;
            /**
             * State
             * @description The current state of this dataset.
+1 −0
Original line number Diff line number Diff line
@@ -186,6 +186,7 @@ def dictify_element_reference(
        else:
            object_details["state"] = element_object.state
            object_details["hda_ldda"] = "hda"
            object_details["purged"] = element_object.purged
            if isinstance(element_object, model.HistoryDatasetAssociation):
                object_details["history_id"] = element_object.history_id
                object_details["tags"] = element_object.make_tag_string_list()
+1 −0
Original line number Diff line number Diff line
@@ -950,6 +950,7 @@ class HDAObject(Model, WithModelClass):
    tags: List[str]
    copied_from_ldda_id: Optional[EncodedDatabaseIdField] = None
    accessible: Optional[bool] = None
    purged: bool
    model_config = ConfigDict(extra="allow")