Skip to content

Commit 39787ac

Browse files
committed
Update schema, lint
1 parent ad32a51 commit 39787ac

4 files changed

Lines changed: 20 additions & 5 deletions

File tree

client/src/api/schema/schema.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12108,6 +12108,11 @@ export interface components {
1210812108
* @description Data of an export record associated with a history that was archived.
1210912109
*/
1211012110
ExportRecordData: {
12111+
/**
12112+
* Ignore Errors
12113+
* @description Last resort. If True, skip serialization errors caused by missing provenance (e.g. orphan implicit collection job associations, null job param refs from older histories that pre-date collections) instead of failing. Exported data may be incomplete or corrupt.
12114+
*/
12115+
ignore_errors?: boolean | null;
1211112116
/**
1211212117
* Include deleted
1211312118
* @description Include file contents for deleted datasets (if include_files is True).
@@ -25909,6 +25914,11 @@ export interface components {
2590925914
* @description Override xref for 'description domain' when generating BioCompute object.
2591025915
*/
2591125916
bco_override_xref?: components["schemas"]["XrefItem"][] | null;
25917+
/**
25918+
* Ignore Errors
25919+
* @description Last resort. If True, skip serialization errors caused by missing provenance (e.g. orphan implicit collection job associations, null job param refs from older histories that pre-date collections) instead of failing. Exported data may be incomplete or corrupt.
25920+
*/
25921+
ignore_errors?: boolean | null;
2591225922
/**
2591325923
* Include deleted
2591425924
* @description Include file contents for deleted datasets (if include_files is True).
@@ -25940,6 +25950,11 @@ export interface components {
2594025950
};
2594125951
/** WriteStoreToPayload */
2594225952
WriteStoreToPayload: {
25953+
/**
25954+
* Ignore Errors
25955+
* @description Last resort. If True, skip serialization errors caused by missing provenance (e.g. orphan implicit collection job associations, null job param refs from older histories that pre-date collections) instead of failing. Exported data may be incomplete or corrupt.
25956+
*/
25957+
ignore_errors?: boolean | null;
2594325958
/**
2594425959
* Include deleted
2594525960
* @description Include file contents for deleted datasets (if include_files is True).

lib/galaxy/model/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ def __init__(
461461
serialize_dataset_objects: Optional[bool] = None,
462462
serialize_files_handler: Optional[SerializeFilesHandler] = None,
463463
strip_metadata_files: Optional[bool] = None,
464-
ignore_errors: bool = False,
464+
ignore_errors: Optional[bool] = False,
465465
) -> None:
466466
self.for_edit = for_edit
467467
if serialize_dataset_objects is None:

lib/galaxy/model/store/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1968,7 +1968,7 @@ def __init__(
19681968
strip_metadata_files: bool = True,
19691969
serialize_jobs: bool = True,
19701970
user_context=None,
1971-
ignore_errors: bool = False,
1971+
ignore_errors: Optional[bool] = False,
19721972
) -> None:
19731973
"""
19741974
:param export_directory: path to export directory. Will be created if it does not exist.
@@ -3048,7 +3048,7 @@ def get_export_store_factory(
30483048
export_files=None,
30493049
bco_export_options: Optional[BcoExportOptions] = None,
30503050
user_context=None,
3051-
ignore_errors: bool = False,
3051+
ignore_errors: Optional[bool] = False,
30523052
) -> Callable[[StrPath], FileSourceModelExportStore]:
30533053
export_store_class: type[FileSourceModelExportStore]
30543054
export_store_class_kwds = {

lib/galaxy/schema/schema.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1926,8 +1926,8 @@ class WriteStoreToPayload(StoreExportPayload):
19261926
title="Target URI",
19271927
description="Galaxy Files URI to write mode store content to.",
19281928
)
1929-
ignore_errors: bool = Field(
1930-
default=False,
1929+
ignore_errors: Optional[bool] = Field(
1930+
default=None,
19311931
description=(
19321932
"Last resort. If True, skip serialization errors caused by missing "
19331933
"provenance (e.g. orphan implicit collection job associations, null "

0 commit comments

Comments
 (0)