Skip to content

Commit

Permalink
Reproducible schema template.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Feb 19, 2024
1 parent 95bc50f commit fdfb250
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions client/src/api/schema/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8925,6 +8925,8 @@ export interface components {
/** Name */
name: string;
};
/** ObjectStoreTemplateSummaries */
ObjectStoreTemplateSummaries: components["schemas"]["ObjectStoreTemplateSummary"][];
/** ObjectStoreTemplateSummary */
ObjectStoreTemplateSummary: {
/** Badges */
Expand Down Expand Up @@ -9651,8 +9653,6 @@ export interface components {
RootModel_Dict_str__int__: {
[key: string]: number | undefined;
};
/** RootModel[List[galaxy.objectstore.templates.models.ObjectStoreTemplateSummary]] */
RootModel_List_ObjectStoreTemplateSummary__: components["schemas"]["ObjectStoreTemplateSummary"][];
/** SearchJobsPayload */
SearchJobsPayload: {
/**
Expand Down Expand Up @@ -18792,7 +18792,7 @@ export interface operations {
/** @description A list of the configured object store templates. */
200: {
content: {
"application/json": components["schemas"]["RootModel_List_ObjectStoreTemplateSummary__"];
"application/json": components["schemas"]["ObjectStoreTemplateSummaries"];
};
};
/** @description Validation Error */
Expand Down
4 changes: 3 additions & 1 deletion lib/galaxy/objectstore/templates/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,9 @@ class ObjectStoreTemplate(ObjectStoreTemplateBase):

ObjectStoreTemplateCatalog = RootModel[List[ObjectStoreTemplate]]

ObjectStoreTemplateSummaries = RootModel[List[ObjectStoreTemplateSummary]]

class ObjectStoreTemplateSummaries(RootModel):
root: List[ObjectStoreTemplateSummary]


def template_to_configuration(
Expand Down

0 comments on commit fdfb250

Please sign in to comment.