Skip to content

Update create_time field to be required in history content items #20357

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions client/src/api/schema/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11513,9 +11513,10 @@ export interface components {
copied_from_ldda_id?: string | null;
/**
* Create Time
* Format: date-time
* @description The time and date this item was created.
*/
create_time: string | null;
create_time: string;
/**
* Created from basename
* @description The basename of the output that produced this dataset.
Expand Down Expand Up @@ -11746,9 +11747,10 @@ export interface components {
copied_from_ldda_id?: string | null;
/**
* Create Time
* Format: date-time
* @description The time and date this item was created.
*/
create_time: string | null;
create_time: string;
/**
* Deleted
* @description Whether this item is marked as deleted.
Expand Down Expand Up @@ -11865,9 +11867,10 @@ export interface components {
copied_from_ldda_id?: string | null;
/**
* Create Time
* Format: date-time
* @description The time and date this item was created.
*/
create_time: string | null;
create_time: string;
/**
* Dataset ID
* @description The encoded ID of the dataset associated with this item.
Expand Down Expand Up @@ -12112,9 +12115,10 @@ export interface components {
contents_url: string;
/**
* Create Time
* Format: date-time
* @description The time and date this item was created.
*/
create_time: string | null;
create_time: string;
/**
* Deleted
* @description Whether this item is marked as deleted.
Expand Down Expand Up @@ -12255,9 +12259,10 @@ export interface components {
contents_url: string;
/**
* Create Time
* Format: date-time
* @description The time and date this item was created.
*/
create_time: string | null;
create_time: string;
/**
* Deleted
* @description Whether this item is marked as deleted.
Expand Down
2 changes: 1 addition & 1 deletion lib/galaxy/schema/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ class HistoryItemCommon(HistoryItemBase):
title="Type",
description="The type of this item.",
)
create_time: Optional[datetime] = CreateTimeField
create_time: datetime = CreateTimeField
update_time: Optional[datetime] = UpdateTimeField
url: RelativeUrlField
tags: TagCollection
Expand Down
Loading