mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-28 02:58:18 +08:00
Serialize archived column in summary view
This commit is contained in:
@@ -559,6 +559,7 @@ class HistorySerializer(sharable.SharableModelSerializer, deletable.PurgableSeri
|
||||
"name",
|
||||
"deleted",
|
||||
"purged",
|
||||
"archived",
|
||||
"count",
|
||||
"url",
|
||||
# TODO: why these?
|
||||
|
||||
@@ -1038,6 +1038,11 @@ class HistorySummary(HistoryBase):
|
||||
title="Purged",
|
||||
description="Whether this item has been permanently removed.",
|
||||
)
|
||||
archived: bool = Field(
|
||||
...,
|
||||
title="Archived",
|
||||
description="Whether this item has been archived and is no longer active.",
|
||||
)
|
||||
url: RelativeUrl = RelativeUrlField
|
||||
published: bool = Field(
|
||||
...,
|
||||
|
||||
Reference in New Issue
Block a user