Warning
This document is for an in-development version of Galaxy. You can alternatively view this page in the latest release if it exists or view the top of the latest release's documentation.
galaxy.schema package
- class galaxy.schema.BootstrapAdminUser(*, id: int = 0, email: str | None = None, username: str | None = None, preferences: Dict[str, str] = {}, bootstrap_admin_user: bool = True)[source]
Bases:
BaseModel
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.ValueFilterQueryParams(*, q: List[str] | str | None = None, qv: List[str] | str | None = None)[source]
Bases:
BaseModel
Allows filtering/querying elements by value like q=<property>-<operator>&qv=<value>
Multiple q/qv queries can be concatenated.
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.PaginationQueryParams(*, offset: Annotated[int | None, Ge(ge=0)] = 0, limit: Annotated[int | None, Ge(ge=1)] = None)[source]
Bases:
BaseModel
Used to paginate a the request results by limiting and offsetting.
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.FilterQueryParams(*, offset: Annotated[int | None, Ge(ge=0)] = 0, limit: Annotated[int | None, Ge(ge=1)] = None, q: List[str] | str | None = None, qv: List[str] | str | None = None, order: str | None = None)[source]
Bases:
ValueFilterQueryParams
,PaginationQueryParams
Contains full filtering options to query elements, paginate and order them.
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.SerializationParams(*, view: str | None = None, keys: List[str] | None = None, default_view: str | None = None)[source]
Bases:
BaseModel
Contains common parameters for customizing model serialization.
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.PdfDocumentType(value)[source]
-
An enumeration.
- invocation_report = 'invocation_report'
- page = 'page'
- class galaxy.schema.APIKeyModel(*, key: str, create_time: datetime)[source]
Bases:
BaseModel
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- galaxy.schema.partial_model(include: List[str] | None = None, exclude: List[str] | None = None) Callable[[Type[T]], Type[T]] [source]
Decorator to make all model fields optional
Submodules
galaxy.schema.fetch_data module
- class galaxy.schema.fetch_data.FetchBaseModel[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.fetch_data.ElementsFromType(value)[source]
-
An enumeration.
- archive = 'archive'
- bagit = 'bagit'
- bagit_archive = 'bagit_archive'
- directory = 'directory'
- class galaxy.schema.fetch_data.BaseFetchDataTarget(*, auto_decompress: bool = False)[source]
Bases:
FetchBaseModel
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.fetch_data.ItemsFromSrc(value)[source]
-
An enumeration.
- url = 'url'
- files = 'files'
- path = 'path'
- ftp_import = 'ftp_import'
- server_dir = 'server_dir'
- class galaxy.schema.fetch_data.Src(value)[source]
-
An enumeration.
- url = 'url'
- pasted = 'pasted'
- files = 'files'
- path = 'path'
- composite = 'composite'
- ftp_import = 'ftp_import'
- server_dir = 'server_dir'
- class galaxy.schema.fetch_data.DestinationType(value)[source]
-
An enumeration.
- library = 'library'
- library_folder = 'library_folder'
- hdcas = 'hdcas'
- hdas = 'hdas'
- class galaxy.schema.fetch_data.HdaDestination(*, type: typing_extensions.Literal[hdas])[source]
Bases:
FetchBaseModel
- type: typing_extensions.Literal[hdas]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.fetch_data.HdcaDestination(*, type: typing_extensions.Literal[hdca])[source]
Bases:
FetchBaseModel
- type: typing_extensions.Literal[hdca]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.fetch_data.LibraryFolderDestination(*, type: typing_extensions.Literal[library_folder], library_folder_id: ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)])[source]
Bases:
FetchBaseModel
- type: typing_extensions.Literal[library_folder]
- library_folder_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.fetch_data.BaseCollectionTarget(*, auto_decompress: bool = False, destination: HdcaDestination, collection_type: str | None = None, tags: List[str] | None = None, name: str | None = None)[source]
Bases:
BaseFetchDataTarget
- destination: HdcaDestination
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.fetch_data.LibraryDestination(*, type: typing_extensions.Literal[library], name: str, description: str | None = None, synopsis: str | None = None)[source]
Bases:
FetchBaseModel
- type: typing_extensions.Literal[library]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.fetch_data.ExtraFiles(*, items_from: str | None = None, src: Src, fuzzy_root: bool | None = True)[source]
Bases:
FetchBaseModel
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.fetch_data.FetchDatasetHash(*, hash_function: typing_extensions.Literal[MD5, SHA - 1, SHA - 256, SHA - 512], hash_value: str)[source]
Bases:
Model
- hash_function: typing_extensions.Literal[MD5, SHA-1, SHA-256, SHA-512]
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.fetch_data.BaseDataElement(*, name: ~typing.Annotated[str | int | float | bool, ~pydantic.functional_validators.AfterValidator(func=~galaxy.schema.types.<lambda>)] | None = None, dbkey: str = '?', info: str | None = None, ext: str = 'auto', space_to_tab: bool = False, to_posix_lines: bool = False, deferred: bool = False, tags: ~typing.List[str] | None = None, created_from_basename: str | None = None, extra_files: ~galaxy.schema.fetch_data.ExtraFiles | None = None, auto_decompress: bool = False, elements_from: ~galaxy.schema.fetch_data.ElementsFromType | None = None, collection_type: str | None = None, MD5: str | None = None, SHA1: str | None = None, SHA256: str | None = None, SHA512: str | None = None, hashes: ~typing.List[~galaxy.schema.fetch_data.FetchDatasetHash] | None = None, description: str | None = None)[source]
Bases:
FetchBaseModel
- name: <lambda>)] | None
- extra_files: ExtraFiles | None
- items_from: ElementsFromType | None
- hashes: List[FetchDatasetHash] | None
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.fetch_data.FileDataElement(*, name: ~typing.Annotated[str | int | float | bool, ~pydantic.functional_validators.AfterValidator(func=~galaxy.schema.types.<lambda>)] | None = None, dbkey: str = '?', info: str | None = None, ext: str = 'auto', space_to_tab: bool = False, to_posix_lines: bool = False, deferred: bool = False, tags: ~typing.List[str] | None = None, created_from_basename: str | None = None, extra_files: ~galaxy.schema.fetch_data.ExtraFiles | None = None, auto_decompress: bool = False, elements_from: ~galaxy.schema.fetch_data.ElementsFromType | None = None, collection_type: str | None = None, MD5: str | None = None, SHA1: str | None = None, SHA256: str | None = None, SHA512: str | None = None, hashes: ~typing.List[~galaxy.schema.fetch_data.FetchDatasetHash] | None = None, description: str | None = None, src: typing_extensions.Literal[files])[source]
Bases:
BaseDataElement
- src: typing_extensions.Literal[files]
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.fetch_data.PastedDataElement(*, name: ~typing.Annotated[str | int | float | bool, ~pydantic.functional_validators.AfterValidator(func=~galaxy.schema.types.<lambda>)] | None = None, dbkey: str = '?', info: str | None = None, ext: str = 'auto', space_to_tab: bool = False, to_posix_lines: bool = False, deferred: bool = False, tags: ~typing.List[str] | None = None, created_from_basename: str | None = None, extra_files: ~galaxy.schema.fetch_data.ExtraFiles | None = None, auto_decompress: bool = False, elements_from: ~galaxy.schema.fetch_data.ElementsFromType | None = None, collection_type: str | None = None, MD5: str | None = None, SHA1: str | None = None, SHA256: str | None = None, SHA512: str | None = None, hashes: ~typing.List[~galaxy.schema.fetch_data.FetchDatasetHash] | None = None, description: str | None = None, src: typing_extensions.Literal[pasted], paste_content: ~typing.Annotated[str | int | float | bool, ~pydantic.functional_validators.AfterValidator(func=~galaxy.schema.types.<lambda>)])[source]
Bases:
BaseDataElement
- src: typing_extensions.Literal[pasted]
- paste_content: <lambda>)]
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.fetch_data.UrlDataElement(*, name: ~typing.Annotated[str | int | float | bool, ~pydantic.functional_validators.AfterValidator(func=~galaxy.schema.types.<lambda>)] | None = None, dbkey: str = '?', info: str | None = None, ext: str = 'auto', space_to_tab: bool = False, to_posix_lines: bool = False, deferred: bool = False, tags: ~typing.List[str] | None = None, created_from_basename: str | None = None, extra_files: ~galaxy.schema.fetch_data.ExtraFiles | None = None, auto_decompress: bool = False, elements_from: ~galaxy.schema.fetch_data.ElementsFromType | None = None, collection_type: str | None = None, MD5: str | None = None, SHA1: str | None = None, SHA256: str | None = None, SHA512: str | None = None, hashes: ~typing.List[~galaxy.schema.fetch_data.FetchDatasetHash] | None = None, description: str | None = None, src: typing_extensions.Literal[url], url: str)[source]
Bases:
BaseDataElement
- src: typing_extensions.Literal[url]
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.fetch_data.ServerDirElement(*, name: ~typing.Annotated[str | int | float | bool, ~pydantic.functional_validators.AfterValidator(func=~galaxy.schema.types.<lambda>)] | None = None, dbkey: str = '?', info: str | None = None, ext: str = 'auto', space_to_tab: bool = False, to_posix_lines: bool = False, deferred: bool = False, tags: ~typing.List[str] | None = None, created_from_basename: str | None = None, extra_files: ~galaxy.schema.fetch_data.ExtraFiles | None = None, auto_decompress: bool = False, elements_from: ~galaxy.schema.fetch_data.ElementsFromType | None = None, collection_type: str | None = None, MD5: str | None = None, SHA1: str | None = None, SHA256: str | None = None, SHA512: str | None = None, hashes: ~typing.List[~galaxy.schema.fetch_data.FetchDatasetHash] | None = None, description: str | None = None, src: typing_extensions.Literal[server_dir], server_dir: str, link_data_only: bool | None = None)[source]
Bases:
BaseDataElement
- src: typing_extensions.Literal[server_dir]
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.fetch_data.FtpImportElement(*, name: ~typing.Annotated[str | int | float | bool, ~pydantic.functional_validators.AfterValidator(func=~galaxy.schema.types.<lambda>)] | None = None, dbkey: str = '?', info: str | None = None, ext: str = 'auto', space_to_tab: bool = False, to_posix_lines: bool = False, deferred: bool = False, tags: ~typing.List[str] | None = None, created_from_basename: str | None = None, extra_files: ~galaxy.schema.fetch_data.ExtraFiles | None = None, auto_decompress: bool = False, elements_from: ~galaxy.schema.fetch_data.ElementsFromType | None = None, collection_type: str | None = None, MD5: str | None = None, SHA1: str | None = None, SHA256: str | None = None, SHA512: str | None = None, hashes: ~typing.List[~galaxy.schema.fetch_data.FetchDatasetHash] | None = None, description: str | None = None, src: typing_extensions.Literal[ftp_import], ftp_path: str)[source]
Bases:
BaseDataElement
- src: typing_extensions.Literal[ftp_import]
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.fetch_data.ItemsFromModel(*, src: ItemsFromSrc, path: str | None = None, ftp_path: str | None = None, server_dir: str | None = None, url: str | None = None)[source]
Bases:
Model
- src: ItemsFromSrc
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.fetch_data.FtpImportTarget(*, auto_decompress: bool = False, destination: HdcaDestination, collection_type: str | None = None, tags: List[str] | None = None, name: str | None = None, src: typing_extensions.Literal[ftp_import], ftp_path: str, elements_from: ElementsFromType | None = None)[source]
Bases:
BaseCollectionTarget
- src: typing_extensions.Literal[ftp_import]
- items_from: ElementsFromType | None
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.fetch_data.PathDataElement(*, name: ~typing.Annotated[str | int | float | bool, ~pydantic.functional_validators.AfterValidator(func=~galaxy.schema.types.<lambda>)] | None = None, dbkey: str = '?', info: str | None = None, ext: str = 'auto', space_to_tab: bool = False, to_posix_lines: bool = False, deferred: bool = False, tags: ~typing.List[str] | None = None, created_from_basename: str | None = None, extra_files: ~galaxy.schema.fetch_data.ExtraFiles | None = None, auto_decompress: bool = False, elements_from: ~galaxy.schema.fetch_data.ElementsFromType | None = None, collection_type: str | None = None, MD5: str | None = None, SHA1: str | None = None, SHA256: str | None = None, SHA512: str | None = None, hashes: ~typing.List[~galaxy.schema.fetch_data.FetchDatasetHash] | None = None, description: str | None = None, src: typing_extensions.Literal[path], path: str, link_data_only: bool | None = None)[source]
Bases:
BaseDataElement
- src: typing_extensions.Literal[path]
- items_from: ElementsFromType | None
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.fetch_data.CompositeDataElement(*, name: ~typing.Annotated[str | int | float | bool, ~pydantic.functional_validators.AfterValidator(func=~galaxy.schema.types.<lambda>)] | None = None, dbkey: str = '?', info: str | None = None, ext: str = 'auto', space_to_tab: bool = False, to_posix_lines: bool = False, deferred: bool = False, tags: ~typing.List[str] | None = None, created_from_basename: str | None = None, extra_files: ~galaxy.schema.fetch_data.ExtraFiles | None = None, auto_decompress: bool = False, elements_from: ~galaxy.schema.fetch_data.ElementsFromType | None = None, collection_type: str | None = None, MD5: str | None = None, SHA1: str | None = None, SHA256: str | None = None, SHA512: str | None = None, hashes: ~typing.List[~galaxy.schema.fetch_data.FetchDatasetHash] | None = None, description: str | None = None, src: typing_extensions.Literal[composite], composite: ~galaxy.schema.fetch_data.CompositeItems, metadata: ~typing.Dict[str, ~typing.Any] | None = None)[source]
Bases:
BaseDataElement
- src: typing_extensions.Literal[composite]
- composite: CompositeItems
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.fetch_data.CompositeItems(*, elements: List[FileDataElement | PastedDataElement | UrlDataElement | PathDataElement | ServerDirElement | FtpImportElement])[source]
Bases:
FetchBaseModel
- items: List[FileDataElement | PastedDataElement | UrlDataElement | PathDataElement | ServerDirElement | FtpImportElement]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.fetch_data.NestedElement(*, name: ~typing.Annotated[str | int | float | bool, ~pydantic.functional_validators.AfterValidator(func=~galaxy.schema.types.<lambda>)] | None = None, dbkey: str = '?', info: str | None = None, ext: str = 'auto', space_to_tab: bool = False, to_posix_lines: bool = False, deferred: bool = False, tags: ~typing.List[str] | None = None, created_from_basename: str | None = None, extra_files: ~galaxy.schema.fetch_data.ExtraFiles | None = None, auto_decompress: bool = False, elements_from: ~galaxy.schema.fetch_data.ElementsFromType | None = None, collection_type: str | None = None, MD5: str | None = None, SHA1: str | None = None, SHA256: str | None = None, SHA512: str | None = None, hashes: ~typing.List[~galaxy.schema.fetch_data.FetchDatasetHash] | None = None, description: str | None = None, elements: ~typing.List[~typing.Annotated[~galaxy.schema.fetch_data.FileDataElement | ~galaxy.schema.fetch_data.PastedDataElement | ~galaxy.schema.fetch_data.UrlDataElement | ~galaxy.schema.fetch_data.PathDataElement | ~galaxy.schema.fetch_data.ServerDirElement | ~galaxy.schema.fetch_data.FtpImportElement | ~galaxy.schema.fetch_data.CompositeDataElement, FieldInfo(annotation=NoneType, required=True, discriminator='src')] | ~galaxy.schema.fetch_data.NestedElement])[source]
Bases:
BaseDataElement
- items: List[AnyElement | NestedElement]
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.fetch_data.BaseDataTarget(*, auto_decompress: bool = False, destination: HdaDestination | LibraryFolderDestination | LibraryDestination)[source]
Bases:
BaseFetchDataTarget
- destination: HdaDestination | LibraryFolderDestination | LibraryDestination
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.fetch_data.DataElementsTarget(*, auto_decompress: bool = False, destination: HdaDestination | LibraryFolderDestination | LibraryDestination, elements: List[Annotated[FileDataElement | PastedDataElement | UrlDataElement | PathDataElement | ServerDirElement | FtpImportElement | CompositeDataElement, FieldInfo(annotation=NoneType, required=True, discriminator='src')] | NestedElement])[source]
Bases:
BaseDataTarget
- items: List[Annotated[FileDataElement | PastedDataElement | UrlDataElement | PathDataElement | ServerDirElement | FtpImportElement | CompositeDataElement, FieldInfo(annotation=NoneType, required=True, discriminator='src')] | NestedElement]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.fetch_data.DataElementsFromTarget(*, src: ItemsFromSrc, path: str | None = None, ftp_path: str | None = None, server_dir: str | None = None, url: str | None = None, auto_decompress: bool = False, destination: HdaDestination | LibraryFolderDestination | LibraryDestination, elements_from: ElementsFromType)[source]
Bases:
BaseDataTarget
,ItemsFromModel
- items_from: ElementsFromType
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.fetch_data.HdcaDataItemsTarget(*, auto_decompress: bool = False, destination: HdcaDestination, collection_type: str | None = None, tags: List[str] | None = None, name: str | None = None, elements: List[Annotated[FileDataElement | PastedDataElement | UrlDataElement | PathDataElement | ServerDirElement | FtpImportElement | CompositeDataElement, FieldInfo(annotation=NoneType, required=True, discriminator='src')] | NestedElement])[source]
Bases:
BaseCollectionTarget
- items: List[Annotated[FileDataElement | PastedDataElement | UrlDataElement | PathDataElement | ServerDirElement | FtpImportElement | CompositeDataElement, FieldInfo(annotation=NoneType, required=True, discriminator='src')] | NestedElement]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.fetch_data.HdcaDataItemsFromTarget(*, src: ItemsFromSrc, path: str | None = None, ftp_path: str | None = None, server_dir: str | None = None, url: str | None = None, auto_decompress: bool = False, destination: HdcaDestination, collection_type: str | None = None, tags: List[str] | None = None, name: str | None = None, elements_from: ElementsFromType)[source]
Bases:
BaseCollectionTarget
,ItemsFromModel
- items_from: ElementsFromType
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.fetch_data.FilesPayload(*, filename: str, local_filename: str)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.fetch_data.BaseDataPayload(*, history_id: ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], **extra_data: ~typing.Any)[source]
Bases:
FetchBaseModel
- history_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- model_config: ClassVar[ConfigDict] = {'extra': 'allow', 'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.fetch_data.FetchDataPayload(*, history_id: ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], targets: ~typing.List[~galaxy.schema.fetch_data.DataElementsTarget | ~galaxy.schema.fetch_data.HdcaDataItemsTarget | ~galaxy.schema.fetch_data.DataElementsFromTarget | ~galaxy.schema.fetch_data.HdcaDataItemsFromTarget | ~galaxy.schema.fetch_data.FtpImportTarget], **extra_data: ~typing.Any)[source]
Bases:
BaseDataPayload
- targets: List[DataElementsTarget | HdcaDataItemsTarget | DataElementsFromTarget | HdcaDataItemsFromTarget | FtpImportTarget]
- model_config: ClassVar[ConfigDict] = {'extra': 'allow', 'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.fetch_data.FetchDataFormPayload(*, history_id: ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], targets: ~typing.Annotated[~typing.List[~galaxy.schema.fetch_data.DataElementsTarget | ~galaxy.schema.fetch_data.HdcaDataItemsTarget | ~galaxy.schema.fetch_data.DataElementsFromTarget | ~galaxy.schema.fetch_data.HdcaDataItemsFromTarget | ~galaxy.schema.fetch_data.FtpImportTarget], Json] | ~typing.List[~galaxy.schema.fetch_data.DataElementsTarget | ~galaxy.schema.fetch_data.HdcaDataItemsTarget | ~galaxy.schema.fetch_data.DataElementsFromTarget | ~galaxy.schema.fetch_data.HdcaDataItemsFromTarget | ~galaxy.schema.fetch_data.FtpImportTarget], **extra_data: ~typing.Any)[source]
Bases:
BaseDataPayload
- targets: Annotated[List[DataElementsTarget | HdcaDataItemsTarget | DataElementsFromTarget | HdcaDataItemsFromTarget | FtpImportTarget], Json] | List[DataElementsTarget | HdcaDataItemsTarget | DataElementsFromTarget | HdcaDataItemsFromTarget | FtpImportTarget]
- model_config: ClassVar[ConfigDict] = {'extra': 'allow', 'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
galaxy.schema.fields module
- class galaxy.schema.fields.Security[source]
Bases:
object
- security: IdEncodingHelper
galaxy.schema.remote_files module
- class galaxy.schema.remote_files.RemoteFilesTarget(value)[source]
-
An enumeration.
- ftpdir = 'ftpdir'
- userdir = 'userdir'
- importdir = 'importdir'
- class galaxy.schema.remote_files.RemoteFilesFormat(value)[source]
-
An enumeration.
- flat = 'flat'
- jstree = 'jstree'
- uri = 'uri'
- class galaxy.schema.remote_files.RemoteFilesDisableMode(value)[source]
-
An enumeration.
- folders = 'folders'
- files = 'files'
- class galaxy.schema.remote_files.FilesSourceSupports(*, pagination: bool = False, search: bool = False, sorting: bool = False)[source]
Bases:
Model
- pagination: Annotated[bool, FieldInfo(annotation=NoneType, required=True, description='Whether this file source supports server-side pagination.')]
- search: Annotated[bool, FieldInfo(annotation=NoneType, required=True, description='Whether this file source supports server-side search.')]
- sorting: Annotated[bool, FieldInfo(annotation=NoneType, required=True, description='Whether this file source supports server-side sorting.')]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.remote_files.FilesSourcePlugin(*, id: str, type: str, label: str, doc: str | None = None, browsable: bool, writable: bool, requires_roles: str | None = None, requires_groups: str | None = None, url: str | None = None, supports: FilesSourceSupports = FilesSourceSupports(pagination=False, search=False, sorting=False))[source]
Bases:
Model
- supports: Annotated[FilesSourceSupports, FieldInfo(annotation=NoneType, required=True, description='Features supported by this file source.')]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.remote_files.BrowsableFilesSourcePlugin(*, id: str, type: str, label: str, doc: str | None = None, browsable: typing_extensions.Literal[True], writable: bool, requires_roles: str | None = None, requires_groups: str | None = None, url: str | None = None, supports: FilesSourceSupports = FilesSourceSupports(pagination=False, search=False, sorting=False), uri_root: str)[source]
Bases:
FilesSourcePlugin
- browsable: typing_extensions.Literal[True]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.remote_files.FilesSourcePluginList(root: RootModelRootType = PydanticUndefined)[source]
Bases:
RootModel
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.remote_files.RemoteEntry(*, name: str, uri: str, path: str)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.remote_files.RemoteDirectory(*, name: str, uri: str, path: str, class_: typing_extensions.Literal[Directory])[source]
Bases:
RemoteEntry
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.remote_files.RemoteFile(*, name: str, uri: str, path: str, class_: typing_extensions.Literal[File], size: int, ctime: str)[source]
Bases:
RemoteEntry
- class_: typing_extensions.Literal[File]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.remote_files.ListJstreeResponse(root: RootModelRootType = PydanticUndefined)[source]
Bases:
RootModel
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.remote_files.ListUriResponse(root: RootModelRootType = PydanticUndefined)[source]
Bases:
RootModel
- root: List[Annotated[RemoteFile | RemoteDirectory, FieldInfo(annotation=NoneType, required=True, discriminator='class_')]]
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.remote_files.CreateEntryPayload(*, target: str, name: str)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.remote_files.CreatedEntryResponse(*, name: str, uri: str, external_link: str | None = None)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
galaxy.schema.schema module
This module contains general pydantic models and common schema field annotations for them.
- class galaxy.schema.schema.DatasetState(value)[source]
-
An enumeration.
- NEW = 'new'
- UPLOAD = 'upload'
- QUEUED = 'queued'
- RUNNING = 'running'
- OK = 'ok'
- EMPTY = 'empty'
- ERROR = 'error'
- PAUSED = 'paused'
- SETTING_METADATA = 'setting_metadata'
- FAILED_METADATA = 'failed_metadata'
- DEFERRED = 'deferred'
- DISCARDED = 'discarded'
- class galaxy.schema.schema.JobState(value)[source]
-
An enumeration.
- NEW = 'new'
- RESUBMITTED = 'resubmitted'
- UPLOAD = 'upload'
- WAITING = 'waiting'
- QUEUED = 'queued'
- RUNNING = 'running'
- OK = 'ok'
- ERROR = 'error'
- FAILED = 'failed'
- PAUSED = 'paused'
- DELETING = 'deleting'
- DELETED = 'deleted'
- STOPPING = 'stop'
- STOPPED = 'stopped'
- SKIPPED = 'skipped'
- class galaxy.schema.schema.DatasetCollectionPopulatedState(value)[source]
-
An enumeration.
- NEW = 'new'
- OK = 'ok'
- FAILED = 'failed'
- class galaxy.schema.schema.DatasetSourceTransformActionType(value)[source]
-
An enumeration.
- TO_POSIX_LINES = 'to_posix_lines'
- SPACES_TO_TABLES = 'spaces_to_tabs'
- DATATYPE_GROOM = 'datatype_groom'
- class galaxy.schema.schema.Model[source]
Bases:
BaseModel
Base model definition with common configuration used by all derived models.
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.RequireOneSetOption[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.BaseUserModel(*, id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], username: str, email: str, deleted: bool)[source]
Bases:
Model
- id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation), FieldInfo(annotation=NoneType, required=True, title='ID', description='Encoded ID of the user')]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.UserModel(*, model_class: typing_extensions.Literal[User], id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], username: str, email: str, deleted: bool, active: bool, last_password_change: ~datetime.datetime | None)[source]
Bases:
BaseUserModel
,WithModelClass
User in a transaction context.
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.LimitedUserModel(*, id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], username: str | None = None, email: str | None = None)[source]
Bases:
Model
This is used when config options (expose_user_name and expose_user_email) are in place.
- id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation), FieldInfo(annotation=NoneType, required=True, title='ID', description='Encoded ID of the user')]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.DiskUsageUserModel(*, total_disk_usage: float, nice_total_disk_usage: str)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.CreatedUserModel(*, model_class: typing_extensions.Literal[User], total_disk_usage: float, nice_total_disk_usage: str, id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], username: str, email: str, deleted: bool, active: bool, last_password_change: ~datetime.datetime | None, preferred_object_store_id: str | None = None)[source]
Bases:
UserModel
,DiskUsageUserModel
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.AnonUserModel(*, total_disk_usage: float, nice_total_disk_usage: str, quota_percent: float | None = None)[source]
Bases:
DiskUsageUserModel
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.DetailedUserModel(*, total_disk_usage: float, nice_total_disk_usage: str, quota_percent: float | None = None, id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], username: str, email: str, deleted: bool, is_admin: bool, purged: bool, preferences: ~typing.Dict[~typing.Any, ~typing.Any], preferred_object_store_id: str | None = None, quota: str, quota_bytes: int | None = None, tags_used: ~typing.List[str])[source]
Bases:
BaseUserModel
,AnonUserModel
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.UserUpdatePayload(*, active: bool | None = None, username: str | None = None, preferred_object_store_id: str | None = None)[source]
Bases:
Model
- active: Annotated[bool | None, FieldInfo(annotation=NoneType, required=False, default=None, title='Active', description='User is active')]
- username: Annotated[str | None, FieldInfo(annotation=NoneType, required=False, default=None, title='Username', description='The name of the user.')]
- preferred_object_store_id: Annotated[str | None, FieldInfo(annotation=str | NoneType, required=False, default=None, title='Preferred Object Store ID', description='The ID of the object store that should be used to store new datasets in this history.')]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.UserCreationPayload(*, password: str, email: str, username: str)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.RemoteUserCreationPayload(*, remote_user_email: str)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.UserDeletionPayload(*, purge: bool = False)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.FavoriteObject(*, object_id: str)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.FavoriteObjectsSummary(*, tools: List[str])[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.DeletedCustomBuild(*, message: str)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.CustomBuildBaseModel(*, name: str)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.CustomBuildLenType(value)[source]
-
An enumeration.
- file = 'file'
- fasta = 'fasta'
- text = 'text'
- class galaxy.schema.schema.CustomBuildCreationPayload(*, name: str, len_type: CustomBuildLenType, len_value: str)[source]
Bases:
CustomBuildBaseModel
- len_type: CustomBuildLenType
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.CreatedCustomBuild(*, name: str, len: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], count: str | None = None, fasta: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, linecount: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None)[source]
Bases:
CustomBuildBaseModel
- len: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- fasta: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- linecount: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.CustomBuildModel(*, name: str, len: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], count: str | None = None, fasta: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, linecount: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, id: str)[source]
Bases:
CreatedCustomBuild
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.CustomBuildsCollection(root: RootModelRootType = PydanticUndefined)[source]
Bases:
RootModel
- root: List[CustomBuildModel]
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.GroupModel(*, model_class: typing_extensions.Literal[Group], id: ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], name: str)[source]
Bases:
Model
,WithModelClass
User group model
- id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.JobSourceType(value)[source]
-
Available types of job sources (model classes) that produce dataset collections.
- Job = 'Job'
- ImplicitCollectionJobs = 'ImplicitCollectionJobs'
- WorkflowInvocation = 'WorkflowInvocation'
- class galaxy.schema.schema.HistoryContentType(value)[source]
-
Available types of History contents.
- dataset = 'dataset'
- dataset_collection = 'dataset_collection'
- class galaxy.schema.schema.HistoryImportArchiveSourceType(value)[source]
-
Available types of History archive sources.
- url = 'url'
- file = 'file'
- class galaxy.schema.schema.DCEType(value)[source]
-
Available types of dataset collection elements.
- hda = 'hda'
- dataset_collection = 'dataset_collection'
- class galaxy.schema.schema.DatasetSourceType(value)[source]
-
An enumeration.
- hda = 'hda'
- ldda = 'ldda'
- class galaxy.schema.schema.DataItemSourceType(value)[source]
-
An enumeration.
- hda = 'hda'
- ldda = 'ldda'
- hdca = 'hdca'
- dce = 'dce'
- dc = 'dc'
- class galaxy.schema.schema.ColletionSourceType(value)[source]
-
An enumeration.
- hda = 'hda'
- ldda = 'ldda'
- hdca = 'hdca'
- new_collection = 'new_collection'
- class galaxy.schema.schema.HistoryContentSource(value)[source]
-
An enumeration.
- hda = 'hda'
- hdca = 'hdca'
- library = 'library'
- library_folder = 'library_folder'
- new_collection = 'new_collection'
- class galaxy.schema.schema.TagCollection(root: RootModelRootType = PydanticUndefined)[source]
Bases:
RootModel
Represents the collection of tags associated with an item.
- root: List[Annotated[str, FieldInfo(annotation=NoneType, required=True, metadata=[_PydanticGeneralMetadata(pattern='^([^\\s.:])+(\\.[^\\s.:]+)*(:\\S+)?$')])]]
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.MetadataFile(*, file_type: str, download_url: str)[source]
Bases:
Model
Metadata file associated with a dataset.
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.DatasetPermissions(*, manage: ~typing.List[~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]] = [], access: ~typing.List[~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]] = [])[source]
Bases:
Model
Role-based permissions for accessing and managing a dataset.
- manage: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]]
- access: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.Hyperlink(*, target: str, href: str, text: str)[source]
Bases:
Model
Represents some text with an Hyperlink.
- href: Annotated[str, FieldInfo(annotation=NoneType, required=True, title='Href', description='The URL of the linked document.')]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.DisplayApp(*, label: str, links: List[Hyperlink])[source]
Bases:
Model
Basic linked information about an application that can display certain datatypes.
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.Visualization[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.HistoryItemBase(*, id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], name: str | None, history_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], hid: int, deleted: bool, visible: bool)[source]
Bases:
Model
Basic information provided by items contained in a History.
- id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- history_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation), FieldInfo(annotation=NoneType, required=True, title='History ID')]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.HistoryItemCommon(*, id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], name: str | None, history_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], hid: int, deleted: bool, visible: bool, type_id: str | None = None, type: str, create_time: ~datetime.datetime | None, update_time: ~datetime.datetime | None, url: str, tags: ~galaxy.schema.schema.TagCollection)[source]
Bases:
HistoryItemBase
Common information provided by items contained in a History.
- url: ', json_schema_extra={'deprecated': True})]
- tags: TagCollection
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.HDACommon(*, id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], name: str | None, history_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], hid: int, deleted: bool, visible: bool, type_id: str | None = None, type: str, create_time: ~datetime.datetime | None, update_time: ~datetime.datetime | None, url: str, tags: ~galaxy.schema.schema.TagCollection, history_content_type: typing_extensions.Literal[dataset], copied_from_ldda_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None)[source]
Bases:
HistoryItemCommon
- history_content_type: Annotated[typing_extensions.Literal[dataset], FieldInfo(annotation=NoneType, required=True, title='History Content Type', description='This is always `dataset` for datasets.')]
- copied_from_ldda_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.HDASummary(*, id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], name: str | None, history_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], hid: int, deleted: bool, visible: bool, type_id: str | None = None, type: str, create_time: ~datetime.datetime | None, update_time: ~datetime.datetime | None, url: str, tags: ~galaxy.schema.schema.TagCollection, history_content_type: typing_extensions.Literal[dataset], copied_from_ldda_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, dataset_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], state: ~typing.Annotated[~galaxy.schema.schema.DatasetState, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.schema.<lambda>, json_schema_input_type=PydanticUndefined)], extension: str | None, purged: bool, genome_build: str | None = '?')[source]
Bases:
HDACommon
History Dataset Association summary information.
- dataset_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- state: ')]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.HDAInaccessible(*, id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], name: str | None, history_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], hid: int, deleted: bool, visible: bool, type_id: str | None = None, type: str, create_time: ~datetime.datetime | None, update_time: ~datetime.datetime | None, url: str, tags: ~galaxy.schema.schema.TagCollection, history_content_type: typing_extensions.Literal[dataset], copied_from_ldda_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, accessible: typing_extensions.Literal[False], state: ~typing.Annotated[~galaxy.schema.schema.DatasetState, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.schema.<lambda>, json_schema_input_type=PydanticUndefined)])[source]
Bases:
HDACommon
History Dataset Association information when the user can not access it.
- accessible: typing_extensions.Literal[False]
- state: ')]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.DatasetValidatedState(value)[source]
-
An enumeration.
- UNKNOWN = 'unknown'
- INVALID = 'invalid'
- OK = 'ok'
- class galaxy.schema.schema.DatasetHash(*, model_class: typing_extensions.Literal[DatasetHash], id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], hash_function: ~galaxy.util.hash_util.HashFunctionNameEnum, hash_value: str, extra_files_path: str | None = None)[source]
Bases:
Model
- model_class: typing_extensions.Literal[DatasetHash]
- id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- hash_function: HashFunctionNameEnum
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.DatasetSourceTransform(*, action: DatasetSourceTransformActionType, datatype_ext: str | None = None)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.DatasetSource(*, id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], source_uri: str, extra_files_path: str | None = None, transform: ~typing.List[~galaxy.schema.schema.DatasetSourceTransform] | None = None)[source]
Bases:
Model
- id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- source_uri: Annotated[str, FieldInfo(annotation=NoneType, required=True, title='Source URI', description='The URI of the dataset source.')]
- extra_files_path: Annotated[str | None, FieldInfo(annotation=NoneType, required=False, default=None, title='Extra Files Path', description='The path to the extra files.')]
- transform: Annotated[List[DatasetSourceTransform] | None, FieldInfo(annotation=NoneType, required=False, default=None, title='Transform', description='The transformations applied to the dataset source.')]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.HDADetailed(*, model_class: typing_extensions.Literal[HistoryDatasetAssociation], id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], name: str | None, history_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], hid: int, deleted: bool, visible: bool, type_id: str | None = None, type: typing_extensions.Literal[file] = 'file', create_time: ~datetime.datetime | None, update_time: ~datetime.datetime | None, url: str, tags: ~galaxy.schema.schema.TagCollection, history_content_type: typing_extensions.Literal[dataset], copied_from_ldda_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, dataset_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], state: ~typing.Annotated[~galaxy.schema.schema.DatasetState, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.schema.<lambda>, json_schema_input_type=PydanticUndefined)], extension: str | None, purged: bool, genome_build: str | None = '?', hda_ldda: ~galaxy.schema.schema.DatasetSourceType = DatasetSourceType.hda, accessible: bool, misc_info: str | None = None, misc_blurb: str | None = None, file_ext: str, file_size: int, resubmitted: bool, metadata: ~typing.Any | None = None, meta_files: ~typing.List[~galaxy.schema.schema.MetadataFile], data_type: str, peek: str | None = None, creating_job: str, rerunnable: bool, uuid: ~typing.Annotated[~uuid.UUID, ~pydantic.types.UuidVersion(uuid_version=4)], permissions: ~galaxy.schema.schema.DatasetPermissions, file_name: str | None = None, display_apps: ~typing.List[~galaxy.schema.schema.DisplayApp], display_types: ~typing.List[~galaxy.schema.schema.DisplayApp], validated_state: ~galaxy.schema.schema.DatasetValidatedState, validated_state_message: str | None = None, annotation: str | None, download_url: str, api_type: typing_extensions.Literal[file] = 'file', created_from_basename: str | None = None, hashes: ~typing.List[~galaxy.schema.schema.DatasetHash], drs_id: str, sources: ~typing.List[~galaxy.schema.schema.DatasetSource], copied_from_history_dataset_association_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None)[source]
Bases:
HDASummary
,WithModelClass
History Dataset Association detailed information.
- model_class: ', json_schema_extra={'const': 'HistoryDatasetAssociation', 'type': 'string'})]
- hda_ldda: DatasetSourceType
- meta_files: List[MetadataFile]
- uuid: Annotated[UUID, UuidVersion(uuid_version=4), FieldInfo(annotation=NoneType, required=True, title='UUID', description='Universal unique identifier for this dataset.')]
- permissions: DatasetPermissions
- display_apps: List[DisplayApp]
- display_types: List[DisplayApp]
- validated_state: DatasetValidatedState
- type: Annotated[typing_extensions.Literal[file], FieldInfo(annotation=NoneType, required=True, title='Type', description='This is always `file` for datasets.')]
- api_type: Literal[file], FieldInfo(annotation=NoneType, required=True, title='API Type', description='TODO', json_schema_extra={'deprecated': True})]
- hashes: Annotated[List[DatasetHash], FieldInfo(annotation=NoneType, required=True, title='Hashes', description='The list of hashes associated with this dataset.')]
- drs_id: Annotated[str, FieldInfo(annotation=NoneType, required=True, title='DRS ID', description='The DRS ID of the dataset.')]
- sources: Annotated[List[DatasetSource], FieldInfo(annotation=NoneType, required=True, title='Sources', description='The list of sources associated with this dataset.')]
- copied_from_history_dataset_association_id: ')]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.HDAExtended(*, model_class: typing_extensions.Literal[HistoryDatasetAssociation], id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], name: str | None, history_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], hid: int, deleted: bool, visible: bool, type_id: str | None = None, type: typing_extensions.Literal[file] = 'file', create_time: ~datetime.datetime | None, update_time: ~datetime.datetime | None, url: str, tags: ~galaxy.schema.schema.TagCollection, history_content_type: typing_extensions.Literal[dataset], copied_from_ldda_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, dataset_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], state: ~typing.Annotated[~galaxy.schema.schema.DatasetState, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.schema.<lambda>, json_schema_input_type=PydanticUndefined)], extension: str | None, purged: bool, genome_build: str | None = '?', hda_ldda: ~galaxy.schema.schema.DatasetSourceType = DatasetSourceType.hda, accessible: bool, misc_info: str | None = None, misc_blurb: str | None = None, file_ext: str, file_size: int, resubmitted: bool, metadata: ~typing.Any | None = None, meta_files: ~typing.List[~galaxy.schema.schema.MetadataFile], data_type: str, peek: str | None = None, creating_job: str, rerunnable: bool, uuid: ~typing.Annotated[~uuid.UUID, ~pydantic.types.UuidVersion(uuid_version=4)], permissions: ~galaxy.schema.schema.DatasetPermissions, file_name: str | None = None, display_apps: ~typing.List[~galaxy.schema.schema.DisplayApp], display_types: ~typing.List[~galaxy.schema.schema.DisplayApp], validated_state: ~galaxy.schema.schema.DatasetValidatedState, validated_state_message: str | None = None, annotation: str | None, download_url: str, api_type: typing_extensions.Literal[file] = 'file', created_from_basename: str | None = None, hashes: ~typing.List[~galaxy.schema.schema.DatasetHash], drs_id: str, sources: ~typing.List[~galaxy.schema.schema.DatasetSource], copied_from_history_dataset_association_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, tool_version: str, parent_id: ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, designation: str | None = None)[source]
Bases:
HDADetailed
History Dataset Association extended information.
- parent_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.DCSummary(*, model_class: typing_extensions.Literal[DatasetCollection], id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], create_time: ~datetime.datetime, update_time: ~datetime.datetime, collection_type: str, populated_state: ~galaxy.schema.schema.DatasetCollectionPopulatedState, populated_state_message: str | None = None, element_count: int | None = None)[source]
Bases:
Model
,WithModelClass
Dataset Collection summary information.
- model_class: typing_extensions.Literal[DatasetCollection]
- id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation), FieldInfo(annotation=NoneType, required=True, title='Dataset Collection ID')]
- populated_state: DatasetCollectionPopulatedState
- element_count: Annotated[int | None, FieldInfo(annotation=NoneType, required=False, default=None, title='Element Count', description='The number of elements contained in the dataset collection. It may be None or undefined if the collection could not be populated.')]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.HDAObject(*, model_class: typing_extensions.Literal[HistoryDatasetAssociation], id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], state: ~typing.Annotated[~galaxy.schema.schema.DatasetState, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.schema.<lambda>, json_schema_input_type=PydanticUndefined)], hda_ldda: ~galaxy.schema.schema.DatasetSourceType = DatasetSourceType.hda, history_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], tags: ~typing.List[str], copied_from_ldda_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, accessible: bool | None = None, purged: bool, **extra_data: ~typing.Any)[source]
Bases:
Model
,WithModelClass
History Dataset Association Object
- id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation), FieldInfo(annotation=NoneType, required=True, title='History Dataset Association ID')]
- model_class: typing_extensions.Literal[HistoryDatasetAssociation]
- state: ')]
- hda_ldda: DatasetSourceType
- history_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation), FieldInfo(annotation=NoneType, required=True, title='History ID')]
- copied_from_ldda_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- model_config: ClassVar[ConfigDict] = {'extra': 'allow', 'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.DCObject(*, model_class: typing_extensions.Literal[DatasetCollection], id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], collection_type: str, populated: bool = None, element_count: int | None = None, contents_url: ~typing.Annotated[str, FieldInfo(annotation=NoneType, required=True, title='Contents URL', description='The relative URL to access the contents of this History.')] | None = None, elements: ~typing.List[~galaxy.schema.schema.DCESummary] = [])[source]
Bases:
Model
,WithModelClass
Dataset Collection Object
- id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation), FieldInfo(annotation=NoneType, required=True, title='Dataset Collection ID')]
- model_class: typing_extensions.Literal[DatasetCollection]
- populated: Annotated[bool, FieldInfo(annotation=NoneType, required=False, default=None, title='Populated', description='Whether the dataset collection elements (and any subcollections elements) were successfully populated.')]
- element_count: Annotated[int | None, FieldInfo(annotation=NoneType, required=False, default=None, title='Element Count', description='The number of elements contained in the dataset collection. It may be None or undefined if the collection could not be populated.')]
- contents_url: Annotated[str, FieldInfo(annotation=NoneType, required=True, title='Contents URL', description='The relative URL to access the contents of this History.')] | None
- elements: List[DCESummary]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.DCESummary(*, model_class: typing_extensions.Literal[DatasetCollectionElement], id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], element_index: int, element_identifier: str, element_type: ~galaxy.schema.schema.DCEType | None = None, object: ~galaxy.schema.schema.HDAObject | ~galaxy.schema.schema.HDADetailed | ~galaxy.schema.schema.DCObject | None = None)[source]
Bases:
Model
,WithModelClass
Dataset Collection Element summary information.
- id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation), FieldInfo(annotation=NoneType, required=True, title='Dataset Collection Element ID')]
- model_class: typing_extensions.Literal[DatasetCollectionElement]
- object: HDAObject | HDADetailed | DCObject | None
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.DCDetailed(*, model_class: typing_extensions.Literal[DatasetCollection], id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], create_time: ~datetime.datetime, update_time: ~datetime.datetime, collection_type: str, populated_state: ~galaxy.schema.schema.DatasetCollectionPopulatedState, populated_state_message: str | None = None, element_count: int | None = None, populated: bool = None, elements: ~typing.List[~galaxy.schema.schema.DCESummary] = [])[source]
Bases:
DCSummary
Dataset Collection detailed information.
- populated: Annotated[bool, FieldInfo(annotation=NoneType, required=False, default=None, title='Populated', description='Whether the dataset collection elements (and any subcollections elements) were successfully populated.')]
- elements: List[DCESummary]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.HDCJobStateSummary(*, all_jobs: int = 0, new: int = 0, waiting: int = 0, running: int = 0, error: int = 0, paused: int = 0, skipped: int = 0, deleted_new: int = 0, resubmitted: int = 0, queued: int = 0, ok: int = 0, failed: int = 0, deleted: int = 0, upload: int = 0)[source]
Bases:
Model
Overview of the job states working inside a dataset collection.
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.HDCACommon(*, id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], name: str | None, history_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], hid: int, deleted: bool, visible: bool, type_id: str | None = None, type: str, create_time: ~datetime.datetime | None, update_time: ~datetime.datetime | None, url: str, tags: ~galaxy.schema.schema.TagCollection, history_content_type: typing_extensions.Literal[dataset_collection])[source]
Bases:
HistoryItemCommon
- history_content_type: Annotated[typing_extensions.Literal[dataset_collection], FieldInfo(annotation=NoneType, required=True, title='History Content Type', description='This is always `dataset_collection` for dataset collections.')]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.HDCASummary(*, model_class: typing_extensions.Literal[HistoryDatasetCollectionAssociation], id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], name: str | None, history_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], hid: int, deleted: bool, visible: bool, type_id: str | None = None, type: typing_extensions.Literal[collection] = 'collection', create_time: ~datetime.datetime | None, update_time: ~datetime.datetime | None, url: str, tags: ~galaxy.schema.schema.TagCollection, history_content_type: typing_extensions.Literal[dataset_collection], collection_type: str, populated_state: ~galaxy.schema.schema.DatasetCollectionPopulatedState, populated_state_message: str | None = None, element_count: int | None = None, elements_datatypes: ~typing.Set[str], job_source_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, job_source_type: ~galaxy.schema.schema.JobSourceType | None = None, job_state_summary: ~galaxy.schema.schema.HDCJobStateSummary | None = None, contents_url: str, collection_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)])[source]
Bases:
HDCACommon
,WithModelClass
History Dataset Collection Association summary information.
- model_class: typing_extensions.Literal[HistoryDatasetCollectionAssociation]
- type: Annotated[typing_extensions.Literal[collection], FieldInfo(annotation=NoneType, required=True, title='Type', description='This is always `collection` for dataset collections.')]
- populated_state: DatasetCollectionPopulatedState
- element_count: Annotated[int | None, FieldInfo(annotation=NoneType, required=False, default=None, title='Element Count', description='The number of elements contained in the dataset collection. It may be None or undefined if the collection could not be populated.')]
- job_source_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- job_source_type: JobSourceType | None
- job_state_summary: HDCJobStateSummary | None
- contents_url: Annotated[str, FieldInfo(annotation=NoneType, required=True, title='Contents URL', description='The relative URL to access the contents of this History.')]
- collection_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation), FieldInfo(annotation=NoneType, required=True, title='Dataset Collection ID')]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.HDCADetailed(*, model_class: typing_extensions.Literal[HistoryDatasetCollectionAssociation], id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], name: str | None, history_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], hid: int, deleted: bool, visible: bool, type_id: str | None = None, type: typing_extensions.Literal[collection] = 'collection', create_time: ~datetime.datetime | None, update_time: ~datetime.datetime | None, url: str, tags: ~galaxy.schema.schema.TagCollection, history_content_type: typing_extensions.Literal[dataset_collection], collection_type: str, populated_state: ~galaxy.schema.schema.DatasetCollectionPopulatedState, populated_state_message: str | None = None, element_count: int | None = None, elements_datatypes: ~typing.Set[str], job_source_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, job_source_type: ~galaxy.schema.schema.JobSourceType | None = None, job_state_summary: ~galaxy.schema.schema.HDCJobStateSummary | None = None, contents_url: str, collection_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], populated: bool = None, elements: ~typing.List[~galaxy.schema.schema.DCESummary] = [], implicit_collection_jobs_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None)[source]
Bases:
HDCASummary
History Dataset Collection Association detailed information.
- populated: Annotated[bool, FieldInfo(annotation=NoneType, required=False, default=None, title='Populated', description='Whether the dataset collection elements (and any subcollections elements) were successfully populated.')]
- elements: List[DCESummary]
- implicit_collection_jobs_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.HistoryContentItemBase(*, history_content_type: HistoryContentType)[source]
Bases:
Model
Identifies a dataset or collection contained in a History.
- history_content_type: HistoryContentType
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.HistoryContentItem(*, history_content_type: ~galaxy.schema.schema.HistoryContentType, id: ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)])[source]
Bases:
HistoryContentItemBase
- id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.EncodedHistoryContentItem(*, history_content_type: ~galaxy.schema.schema.HistoryContentType, id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)])[source]
Bases:
HistoryContentItemBase
- id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.UpdateContentItem(*, history_content_type: ~galaxy.schema.schema.HistoryContentType, id: ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], **extra_data: ~typing.Any)[source]
Bases:
HistoryContentItem
Used for updating a particular history item. All fields are optional.
- model_config: ClassVar[ConfigDict] = {'extra': 'allow', 'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.UpdateHistoryContentsBatchPayload(*, items: List[UpdateContentItem], **extra_data: Any)[source]
Bases:
Model
Contains property values that will be updated for all the history items provided.
- items: List[UpdateContentItem]
- model_config: ClassVar[ConfigDict] = {'extra': 'allow', 'json_schema_extra': {'example': {'items': [{'history_content_type': 'dataset', 'id': 'string'}], 'visible': False}}, 'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.HistoryContentItemOperation(value)[source]
-
An enumeration.
- hide = 'hide'
- unhide = 'unhide'
- delete = 'delete'
- undelete = 'undelete'
- purge = 'purge'
- change_datatype = 'change_datatype'
- change_dbkey = 'change_dbkey'
- add_tags = 'add_tags'
- remove_tags = 'remove_tags'
- class galaxy.schema.schema.BulkOperationParams(*, type: str)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.ChangeDatatypeOperationParams(*, type: typing_extensions.Literal[change_datatype], datatype: str)[source]
Bases:
BulkOperationParams
- type: typing_extensions.Literal[change_datatype]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.ChangeDbkeyOperationParams(*, type: typing_extensions.Literal[change_dbkey], dbkey: str)[source]
Bases:
BulkOperationParams
- type: typing_extensions.Literal[change_dbkey]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.TagOperationParams(*, type: typing_extensions.Literal[add_tags] | typing_extensions.Literal[remove_tags], tags: List[str])[source]
Bases:
BulkOperationParams
- type: typing_extensions.Literal[add_tags] | typing_extensions.Literal[remove_tags]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.HistoryContentBulkOperationPayload(*, operation: HistoryContentItemOperation, items: List[HistoryContentItem] | None = None, params: ChangeDatatypeOperationParams | ChangeDbkeyOperationParams | TagOperationParams | None = None)[source]
Bases:
Model
- operation: HistoryContentItemOperation
- items: List[HistoryContentItem] | None
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.BulkOperationItemError(*, item: EncodedHistoryContentItem, error: str)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.HistoryContentBulkOperationResult(*, success_count: int, errors: List[BulkOperationItemError])[source]
Bases:
Model
- errors: List[BulkOperationItemError]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.UpdateHistoryContentsPayload(*, name: str | None = None, deleted: bool | None = None, visible: bool | None = None, annotation: str | None = None, tags: TagCollection | None = None, **extra_data: Any)[source]
Bases:
Model
Can contain arbitrary/dynamic fields that will be updated for a particular history item.
- tags: TagCollection | None
- model_config: ClassVar[ConfigDict] = {'extra': 'allow', 'json_schema_extra': {'example': {'annotation': 'Test', 'visible': False}}, 'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.HistorySummary(*, model_class: typing_extensions.Literal[History], id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], name: str, deleted: bool, purged: bool, archived: bool, url: str, published: bool, count: int, annotation: str | None, tags: ~galaxy.schema.schema.TagCollection, update_time: ~datetime.datetime, preferred_object_store_id: str | None = None)[source]
Bases:
Model
,WithModelClass
History summary information.
- id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation), FieldInfo(annotation=NoneType, required=True, title='History ID')]
- url: ', json_schema_extra={'deprecated': True})]
- tags: TagCollection
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.HistoryActiveContentCounts(*, active: int, hidden: int, deleted: int)[source]
Bases:
Model
Contains the number of active, deleted or hidden items in a History.
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.HistoryDetailed(*, model_class: typing_extensions.Literal[History], id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], name: str, deleted: bool, purged: bool, archived: bool, url: str, published: bool, count: int, annotation: str | None, tags: ~galaxy.schema.schema.TagCollection, update_time: ~datetime.datetime, preferred_object_store_id: str | None = None, contents_url: str, size: int, user_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, create_time: ~datetime.datetime, importable: bool, slug: str | None = None, username: str | None = None, username_and_slug: str | None = None, genome_build: str | None = '?', state: ~galaxy.schema.schema.DatasetState, state_ids: ~typing.Dict[~galaxy.schema.schema.DatasetState, ~typing.List[~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]]], state_details: ~typing.Dict[~galaxy.schema.schema.DatasetState, int])[source]
Bases:
HistorySummary
History detailed information.
- contents_url: Annotated[str, FieldInfo(annotation=NoneType, required=True, title='Contents URL', description='The relative URL to access the contents of this History.')]
- user_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- state: DatasetState
- state_ids: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]]]
- state_details: Dict[DatasetState, int]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.CustomHistoryView(*, model_class: typing_extensions.Literal[History] | None = None, id: ~typing.Annotated[str | None, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] = None, name: str | None = None, deleted: bool | None = None, purged: bool | None = None, archived: bool | None = None, url: str | None = None, published: bool | None = None, count: int | None = None, annotation: str | None = None, tags: ~galaxy.schema.schema.TagCollection | None = None, update_time: ~datetime.datetime | None = None, preferred_object_store_id: str | None = None, contents_url: str | None = None, size: int | None = None, user_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, create_time: ~datetime.datetime | None = None, importable: bool | None = None, slug: str | None = None, username: str | None = None, username_and_slug: str | None = None, genome_build: str | None = None, state: ~galaxy.schema.schema.DatasetState | None = None, state_ids: ~typing.Dict[~galaxy.schema.schema.DatasetState, ~typing.List[~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]]] | None = None, state_details: ~typing.Dict[~galaxy.schema.schema.DatasetState, int] | None = None, contents_active: ~galaxy.schema.schema.HistoryActiveContentCounts | None = None, contents_states: ~typing.Dict[~galaxy.schema.schema.DatasetState | ~galaxy.schema.schema.DatasetCollectionPopulatedState, int] | None = None, nice_size: str | None = None)[source]
Bases:
CustomHistoryView
- contents_active: HistoryActiveContentCounts | None
- contents_states: Dict[DatasetState | DatasetCollectionPopulatedState, int] | None
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- tags: TagCollection | None
- user_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- state: DatasetState | None
- state_ids: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]]] | None
- state_details: Dict[DatasetState, int] | None
- class galaxy.schema.schema.UpdateHistoryPayload(*, name: str | None = None, annotation: str | None = None, tags: TagCollection | None = None, published: bool | None = None, importable: bool | None = None, deleted: bool | None = None, purged: bool | None = None, genome_build: str | None = None, preferred_object_store_id: str | None = None)[source]
Bases:
Model
- tags: TagCollection | None
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.ExportHistoryArchivePayload(*, gzip: bool | None = True, include_hidden: bool | None = False, include_deleted: bool | None = False, file_name: str | None = None, directory_uri: str | None = None, force: bool | None = None)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.WorkflowIndexQueryPayload(*, show_deleted: bool = False, show_hidden: bool = False, show_published: bool | None = None, show_shared: bool | None = None, sort_by: typing_extensions.Literal[create_time, update_time, name] | None = None, sort_desc: bool | None = None, limit: Annotated[int | None, Lt(lt=1000)] = None, offset: int | None = 0, search: str | None = None, skip_step_counts: bool = False)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.JobIndexSortByEnum(value)[source]
-
An enumeration.
- create_time = 'create_time'
- update_time = 'update_time'
- class galaxy.schema.schema.JobIndexQueryPayload(*, states: ~typing.List[str] | None = None, user_details: bool = False, user_id: ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, tool_ids: ~typing.List[str] | None = None, tool_ids_like: ~typing.List[str] | None = None, date_range_min: ~typing.Annotated[~datetime.datetime, ~pydantic.functional_validators.AfterValidator(func=~galaxy.schema.types.strip_tzinfo)] | ~datetime.date | None = None, date_range_max: ~typing.Annotated[~datetime.datetime, ~pydantic.functional_validators.AfterValidator(func=~galaxy.schema.types.strip_tzinfo)] | ~datetime.date | None = None, history_id: ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, workflow_id: ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, invocation_id: ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, implicit_collection_jobs_id: ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, order_by: ~galaxy.schema.schema.JobIndexSortByEnum = JobIndexSortByEnum.update_time, search: str | None = None, limit: int = 500, offset: int = 0)[source]
Bases:
Model
- user_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- history_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- workflow_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- invocation_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- implicit_collection_jobs_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- order_by: JobIndexSortByEnum
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.InvocationSortByEnum(value)[source]
-
An enumeration.
- create_time = 'create_time'
- update_time = 'update_time'
- none = 'None'
- class galaxy.schema.schema.InvocationIndexQueryPayload(*, workflow_id: int | None = None, history_id: int | None = None, job_id: int | None = None, user_id: int | None = None, sort_by: InvocationSortByEnum | None = None, sort_desc: bool = False, include_terminal: bool = True, limit: Annotated[int | None, Lt(lt=1000)] = 100, offset: int | None = 0, include_nested_invocations: bool = True)[source]
Bases:
Model
- sort_by: InvocationSortByEnum | None
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.PageIndexQueryPayload(*, deleted: bool = False, limit: ~typing.Annotated[int | None, ~annotated_types.Lt(lt=1000)] = 100, offset: int | None = 0, show_own: bool | None = None, show_published: bool | None = None, show_shared: bool | None = None, search: str | None = None, sort_by: typing_extensions.Literal[create_time, title, update_time, username] = 'update_time', sort_desc: bool | None = False, user_id: ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None)[source]
Bases:
Model
- sort_by: typing_extensions.Literal[create_time, title, update_time, username]
- user_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.CreateHistoryPayload(*, name: str | None = None, history_id: ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, all_datasets: bool | None = True, archive_source: str | None = None, archive_type: ~galaxy.schema.schema.HistoryImportArchiveSourceType | None = HistoryImportArchiveSourceType.url, archive_file: ~typing.Any | None = None)[source]
Bases:
Model
- history_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- archive_type: HistoryImportArchiveSourceType | None
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.CollectionElementIdentifier(*, name: str | None = None, src: ~galaxy.schema.schema.ColletionSourceType, id: ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, collection_type: str | None = None, element_identifiers: ~typing.List[~galaxy.schema.schema.CollectionElementIdentifier] | None = None, tags: ~typing.List[str] | None = None)[source]
Bases:
Model
- src: ColletionSourceType
- id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- element_identifiers: List[CollectionElementIdentifier] | None
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.CreateNewCollectionPayload(*, collection_type: str | None = None, element_identifiers: ~typing.List[~galaxy.schema.schema.CollectionElementIdentifier] | None = None, name: str | None = None, hide_source_items: bool | None = False, copy_elements: bool | None = True, instance_type: typing_extensions.Literal[history, library] | None = 'history', history_id: ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, folder_id: ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_folder_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None)[source]
Bases:
Model
- element_identifiers: List[CollectionElementIdentifier] | None
- history_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- folder_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.ModelStoreFormat(value)[source]
-
Available types of model stores for export.
- TGZ = 'tgz'
- TAR = 'tar'
- TAR_DOT_GZ = 'tar.gz'
- BAG_DOT_ZIP = 'bag.zip'
- BAG_DOT_TAR = 'bag.tar'
- BAG_DOT_TGZ = 'bag.tgz'
- ROCRATE_ZIP = 'rocrate.zip'
- BCO_JSON = 'bco.json'
- classmethod is_compressed(value: ModelStoreFormat)[source]
- classmethod is_bag(value: ModelStoreFormat)[source]
- class galaxy.schema.schema.StoreContentSource(*, store_content_uri: str | None = None, store_dict: Dict[str, Any] | None = None, model_store_format: ModelStoreFormat | None = None)[source]
Bases:
Model
- model_store_format: ModelStoreFormat | None
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.CreateHistoryFromStore(*, store_content_uri: str | None = None, store_dict: Dict[str, Any] | None = None, model_store_format: ModelStoreFormat | None = None)[source]
Bases:
StoreContentSource
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.StoreExportPayload(*, model_store_format: ModelStoreFormat = ModelStoreFormat.TAR_DOT_GZ, include_files: bool = True, include_deleted: bool = False, include_hidden: bool = False)[source]
Bases:
Model
- model_store_format: ModelStoreFormat
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.ShortTermStoreExportPayload(*, model_store_format: ModelStoreFormat = ModelStoreFormat.TAR_DOT_GZ, include_files: bool = True, include_deleted: bool = False, include_hidden: bool = False, short_term_storage_request_id: UUID, duration: int | float | None = None)[source]
Bases:
StoreExportPayload
- duration: Annotated[int | float | None, FieldInfo(annotation=NoneType, required=False, default=None)]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.BcoGenerationParametersMixin(*, bco_merge_history_metadata: bool = False, bco_override_environment_variables: Dict[str, str] | None = None, bco_override_empirical_error: Dict[str, str] | None = None, bco_override_algorithmic_error: Dict[str, str] | None = None, bco_override_xref: List[XrefItem] | None = None)[source]
Bases:
BaseModel
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.WriteStoreToPayload(*, model_store_format: ModelStoreFormat = ModelStoreFormat.TAR_DOT_GZ, include_files: bool = True, include_deleted: bool = False, include_hidden: bool = False, target_uri: str)[source]
Bases:
StoreExportPayload
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.ObjectExportResponseBase(*, id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], ready: bool, preparing: bool, up_to_date: bool)[source]
Bases:
Model
- id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.JobExportHistoryArchiveModel(*, id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], ready: bool, preparing: bool, up_to_date: bool, job_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], download_url: str, external_download_latest_url: ~pydantic.networks.AnyUrl, external_download_permanent_url: ~pydantic.networks.AnyUrl)[source]
Bases:
ObjectExportResponseBase
- job_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- external_download_latest_url: AnyUrl
- external_download_permanent_url: AnyUrl
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.ExportObjectType(value)[source]
-
Types of objects that can be exported.
- HISTORY = 'history'
- INVOCATION = 'invocation'
- class galaxy.schema.schema.ExportObjectRequestMetadata(*, object_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], object_type: ~galaxy.schema.schema.ExportObjectType, user_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, payload: ~galaxy.schema.schema.WriteStoreToPayload | ~galaxy.schema.schema.ShortTermStoreExportPayload)[source]
Bases:
Model
- object_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- object_type: ExportObjectType
- user_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- payload: WriteStoreToPayload | ShortTermStoreExportPayload
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.ExportObjectResultMetadata(*, success: bool, uri: str | None = None, error: str | None = None)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.ExportObjectMetadata(*, request_data: ExportObjectRequestMetadata, result_data: ExportObjectResultMetadata | None = None)[source]
Bases:
Model
- request_data: ExportObjectRequestMetadata
- result_data: ExportObjectResultMetadata | None
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.ObjectExportTaskResponse(*, id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], ready: bool, preparing: bool, up_to_date: bool, task_uuid: ~typing.Annotated[~uuid.UUID, ~pydantic.types.UuidVersion(uuid_version=4)], create_time: ~datetime.datetime, export_metadata: ~galaxy.schema.schema.ExportObjectMetadata | None = None)[source]
Bases:
ObjectExportResponseBase
- export_metadata: ExportObjectMetadata | None
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.JobExportHistoryArchiveListResponse(root: RootModelRootType = PydanticUndefined)[source]
Bases:
RootModel
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.ExportTaskListResponse(root: RootModelRootType = PydanticUndefined)[source]
Bases:
RootModel
- root: List[ObjectExportTaskResponse]
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.ArchiveHistoryRequestPayload(*, archive_export_id: ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, purge_history: bool = False)[source]
Bases:
Model
- archive_export_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.ExportRecordData(*, model_store_format: ModelStoreFormat = ModelStoreFormat.TAR_DOT_GZ, include_files: bool = True, include_deleted: bool = False, include_hidden: bool = False, target_uri: str)[source]
Bases:
WriteStoreToPayload
Data of an export record associated with a history that was archived.
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.ExportAssociationData(*, export_record_data: ExportRecordData | None = None)[source]
Bases:
Model
- export_record_data: ExportRecordData | None
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.ArchivedHistorySummary(*, model_class: typing_extensions.Literal[History], export_record_data: ~galaxy.schema.schema.ExportRecordData | None = None, id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], name: str, deleted: bool, purged: bool, archived: bool, url: str, published: bool, count: int, annotation: str | None, tags: ~galaxy.schema.schema.TagCollection, update_time: ~datetime.datetime, preferred_object_store_id: str | None = None)[source]
Bases:
HistorySummary
,ExportAssociationData
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.ArchivedHistoryDetailed(*, model_class: typing_extensions.Literal[History], export_record_data: ~galaxy.schema.schema.ExportRecordData | None = None, id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], name: str, deleted: bool, purged: bool, archived: bool, url: str, published: bool, count: int, annotation: str | None, tags: ~galaxy.schema.schema.TagCollection, update_time: ~datetime.datetime, preferred_object_store_id: str | None = None, contents_url: str, size: int, user_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, create_time: ~datetime.datetime, importable: bool, slug: str | None = None, username: str | None = None, username_and_slug: str | None = None, genome_build: str | None = '?', state: ~galaxy.schema.schema.DatasetState, state_ids: ~typing.Dict[~galaxy.schema.schema.DatasetState, ~typing.List[~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]]], state_details: ~typing.Dict[~galaxy.schema.schema.DatasetState, int])[source]
Bases:
HistoryDetailed
,ExportAssociationData
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.CustomArchivedHistoryView(*, model_class: typing_extensions.Literal[History] | None = None, export_record_data: ~galaxy.schema.schema.ExportRecordData | None = None, id: ~typing.Annotated[str | None, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] = None, name: str | None = None, deleted: bool | None = None, purged: bool | None = None, archived: bool | None = None, url: str | None = None, published: bool | None = None, count: int | None = None, annotation: str | None = None, tags: ~galaxy.schema.schema.TagCollection | None = None, update_time: ~datetime.datetime | None = None, preferred_object_store_id: str | None = None, contents_url: str | None = None, size: int | None = None, user_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, create_time: ~datetime.datetime | None = None, importable: bool | None = None, slug: str | None = None, username: str | None = None, username_and_slug: str | None = None, genome_build: str | None = None, state: ~galaxy.schema.schema.DatasetState | None = None, state_ids: ~typing.Dict[~galaxy.schema.schema.DatasetState, ~typing.List[~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]]] | None = None, state_details: ~typing.Dict[~galaxy.schema.schema.DatasetState, int] | None = None, contents_active: ~galaxy.schema.schema.HistoryActiveContentCounts | None = None, contents_states: ~typing.Dict[~galaxy.schema.schema.DatasetState | ~galaxy.schema.schema.DatasetCollectionPopulatedState, int] | None = None, nice_size: str | None = None)[source]
Bases:
CustomArchivedHistoryView
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- export_record_data: ExportRecordData | None
- tags: TagCollection | None
- user_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- state: DatasetState | None
- state_ids: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]]] | None
- state_details: Dict[DatasetState, int] | None
- contents_active: HistoryActiveContentCounts | None
- contents_states: Dict[DatasetState | DatasetCollectionPopulatedState, int] | None
- class galaxy.schema.schema.LabelValuePair(*, label: str, value: str)[source]
Bases:
Model
Generic Label/Value pair model.
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.CustomBuildsMetadataResponse(*, installed_builds: List[LabelValuePair], fasta_hdas: List[LabelValuePair])[source]
Bases:
Model
- installed_builds: List[LabelValuePair]
- fasta_hdas: List[LabelValuePair]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.JobIdResponse(*, job_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)])[source]
Bases:
Model
Contains the ID of the job associated with a particular request.
- job_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation), FieldInfo(annotation=NoneType, required=True, title='Job ID')]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.JobBaseModel(*, model_class: typing_extensions.Literal[Job], id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], history_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, tool_id: str, state: ~galaxy.schema.schema.JobState, exit_code: int | None = None, create_time: ~datetime.datetime, update_time: ~datetime.datetime, galaxy_version: str | None = None)[source]
Bases:
Model
,WithModelClass
- id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation), FieldInfo(annotation=NoneType, required=True, title='Job ID')]
- history_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.JobImportHistoryResponse(*, model_class: typing_extensions.Literal[Job], id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], history_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, tool_id: str, state: ~galaxy.schema.schema.JobState, exit_code: int | None = None, create_time: ~datetime.datetime, update_time: ~datetime.datetime, galaxy_version: str | None = None, message: str)[source]
Bases:
JobBaseModel
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.ItemStateSummary(*, id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], populated_state: ~galaxy.schema.schema.DatasetCollectionPopulatedState, states: ~typing.Dict[~galaxy.schema.schema.JobState, int] = {})[source]
Bases:
Model
- id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- populated_state: DatasetCollectionPopulatedState
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.JobStateSummary(*, id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], populated_state: ~galaxy.schema.schema.DatasetCollectionPopulatedState, states: ~typing.Dict[~galaxy.schema.schema.JobState, int] = {}, model: typing_extensions.Literal[Job])[source]
Bases:
ItemStateSummary
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.ImplicitCollectionJobsStateSummary(*, id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], populated_state: ~galaxy.schema.schema.DatasetCollectionPopulatedState, states: ~typing.Dict[~galaxy.schema.schema.JobState, int] = {}, model: typing_extensions.Literal[ImplicitCollectionJobs])[source]
Bases:
ItemStateSummary
- model: typing_extensions.Literal[ImplicitCollectionJobs]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.WorkflowInvocationStateSummary(*, id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], populated_state: ~galaxy.schema.schema.DatasetCollectionPopulatedState, states: ~typing.Dict[~galaxy.schema.schema.JobState, int] = {}, model: typing_extensions.Literal[WorkflowInvocation])[source]
Bases:
ItemStateSummary
- model: typing_extensions.Literal[WorkflowInvocation]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.JobSummary(*, model_class: typing_extensions.Literal[Job], id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], history_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, tool_id: str, state: ~galaxy.schema.schema.JobState, exit_code: int | None = None, create_time: ~datetime.datetime, update_time: ~datetime.datetime, galaxy_version: str | None = None, external_id: str | None = None, handler: str | None = None, job_runner_name: str | None = None, command_line: str | None = None, user_email: str | None = None)[source]
Bases:
JobBaseModel
Basic information about a job.
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.DatasetSourceIdBase(*, src: DatasetSourceType)[source]
Bases:
Model
- src: DatasetSourceType
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.DatasetSourceId(*, src: ~galaxy.schema.schema.DatasetSourceType, id: ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)])[source]
Bases:
DatasetSourceIdBase
- id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.EncodedDatasetSourceId(*, src: ~galaxy.schema.schema.DatasetSourceType, id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)])[source]
Bases:
DatasetSourceIdBase
- id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.EncodedDataItemSourceId(*, id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], src: ~galaxy.schema.schema.DataItemSourceType)[source]
Bases:
Model
- id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- src: DataItemSourceType
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.EncodedJobParameterHistoryItem(*, id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], src: ~galaxy.schema.schema.DataItemSourceType, hid: int | None = None, name: str)[source]
Bases:
EncodedDataItemSourceId
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.DatasetJobInfo(*, src: ~galaxy.schema.schema.DatasetSourceType, id: ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], uuid: ~typing.Annotated[~uuid.UUID, ~pydantic.types.UuidVersion(uuid_version=4)])[source]
Bases:
DatasetSourceId
- uuid: Annotated[UUID, UuidVersion(uuid_version=4), FieldInfo(annotation=NoneType, required=True, title='UUID', description='Universal unique identifier for this dataset.')]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.JobDetails(*, model_class: typing_extensions.Literal[Job], id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], history_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, tool_id: str, state: ~galaxy.schema.schema.JobState, exit_code: int | None = None, create_time: ~datetime.datetime, update_time: ~datetime.datetime, galaxy_version: str | None = None, external_id: str | None = None, handler: str | None = None, job_runner_name: str | None = None, command_line: str | None = None, user_email: str | None = None, command_version: str, params: ~typing.Any = None, inputs: ~typing.Dict[str, ~galaxy.schema.schema.DatasetJobInfo] = {}, outputs: ~typing.Dict[str, ~galaxy.schema.schema.DatasetJobInfo] = {})[source]
Bases:
JobSummary
- inputs: Dict[str, DatasetJobInfo]
- outputs: Dict[str, DatasetJobInfo]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.JobMetric(*, title: str, value: str, plugin: str, name: str, raw_value: str)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'json_schema_extra': {'example': {'name': 'start_epoch', 'plugin': 'core', 'raw_value': '1614261340.0000000', 'title': 'Job Start Time', 'value': '2021-02-25 14:55:40'}}, 'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.WorkflowJobMetric(*, title: str, value: str, plugin: str, name: str, raw_value: str, tool_id: str, job_id: str, step_index: int, step_label: str | None)[source]
Bases:
JobMetric
- model_config: ClassVar[ConfigDict] = {'json_schema_extra': {'example': {'name': 'start_epoch', 'plugin': 'core', 'raw_value': '1614261340.0000000', 'title': 'Job Start Time', 'value': '2021-02-25 14:55:40'}}, 'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.JobMetricCollection(root: RootModelRootType = PydanticUndefined)[source]
Bases:
RootModel
Represents a collection of metrics associated with a Job.
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.JobFullDetails(*, model_class: typing_extensions.Literal[Job], id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], history_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, tool_id: str, state: ~galaxy.schema.schema.JobState, exit_code: int | None = None, create_time: ~datetime.datetime, update_time: ~datetime.datetime, galaxy_version: str | None = None, external_id: str | None = None, handler: str | None = None, job_runner_name: str | None = None, command_line: str | None = None, user_email: str | None = None, command_version: str, params: ~typing.Any = None, inputs: ~typing.Dict[str, ~galaxy.schema.schema.DatasetJobInfo] = {}, outputs: ~typing.Dict[str, ~galaxy.schema.schema.DatasetJobInfo] = {}, tool_stdout: str, tool_stderr: str, job_stdout: str, job_stderr: str, stdout: str, stderr: str, job_messages: ~typing.List[str], job_metrics: ~galaxy.schema.schema.JobMetricCollection | None = None)[source]
Bases:
JobDetails
- job_metrics: JobMetricCollection | None
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.StoredWorkflowSummary(*, model_class: typing_extensions.Literal[StoredWorkflow], id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], create_time: ~datetime.datetime, update_time: ~datetime.datetime, name: str, url: str, published: bool, annotations: ~typing.List[str] | None = None, tags: ~galaxy.schema.schema.TagCollection, deleted: bool, hidden: bool, owner: str, latest_workflow_uuid: ~typing.Annotated[~uuid.UUID, ~pydantic.types.UuidVersion(uuid_version=4)] | None = None, number_of_steps: int | None = None, show_in_tool_panel: bool | None = None)[source]
Bases:
Model
,WithModelClass
- id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- model_class: typing_extensions.Literal[StoredWorkflow]
- url: ', json_schema_extra={'deprecated': True})]
- tags: TagCollection
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.WorkflowInput(*, label: str | None, value: Any | None, uuid: Annotated[UUID, UuidVersion(uuid_version=4)] | None)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.WorkflowOutput(*, label: str | None = None, output_name: str, uuid: Annotated[UUID, UuidVersion(uuid_version=4)] | None = None)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.InputStep(*, source_step: int, step_output: str)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.WorkflowStepBase(*, id: int, annotation: str | None, input_steps: Dict[str, InputStep], when: str | None, tool_id: str | None = None, tool_version: str | None = None, tool_inputs: Any = None)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.InputDataStep(*, id: int, annotation: str | None, input_steps: Dict[str, InputStep], when: str | None, tool_id: str | None = None, tool_version: str | None = None, tool_inputs: Any = None, type: typing_extensions.Literal[data_input])[source]
Bases:
WorkflowStepBase
- type: typing_extensions.Literal[data_input]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.InputDataCollectionStep(*, id: int, annotation: str | None, input_steps: Dict[str, InputStep], when: str | None, tool_id: str | None = None, tool_version: str | None = None, tool_inputs: Any = None, type: typing_extensions.Literal[data_collection_input])[source]
Bases:
WorkflowStepBase
- type: typing_extensions.Literal[data_collection_input]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.InputParameterStep(*, id: int, annotation: str | None, input_steps: Dict[str, InputStep], when: str | None, tool_id: str | None = None, tool_version: str | None = None, tool_inputs: Any = None, type: typing_extensions.Literal[parameter_input])[source]
Bases:
WorkflowStepBase
- type: typing_extensions.Literal[parameter_input]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.PauseStep(*, id: int, annotation: str | None, input_steps: Dict[str, InputStep], when: str | None, tool_id: str | None = None, tool_version: str | None = None, tool_inputs: Any = None, type: typing_extensions.Literal[pause])[source]
Bases:
WorkflowStepBase
- type: typing_extensions.Literal[pause]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.ToolStep(*, id: int, annotation: str | None, input_steps: Dict[str, InputStep], when: str | None, tool_id: str | None = None, tool_version: str | None = None, tool_inputs: Any = None, type: typing_extensions.Literal[tool])[source]
Bases:
WorkflowStepBase
- type: typing_extensions.Literal[tool]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.SubworkflowStep(*, id: int, annotation: str | None, input_steps: ~typing.Dict[str, ~galaxy.schema.schema.InputStep], when: str | None, tool_id: str | None = None, tool_version: str | None = None, tool_inputs: ~typing.Any = None, type: typing_extensions.Literal[subworkflow], workflow_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)])[source]
Bases:
WorkflowStepBase
- type: typing_extensions.Literal[subworkflow]
- workflow_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.Creator(*, class_: str, name: str | None = None, address: str | None = None, alternateName: str | None = None, email: str | None = None, faxNumber: str | None = None, identifier: str | None = None, image: AnyHttpUrl | None = None, telephone: str | None = None, url: AnyHttpUrl | None = None)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.Organization(*, class_: str = 'Organization', name: str | None = None, address: str | None = None, alternateName: str | None = None, email: str | None = None, faxNumber: str | None = None, identifier: str | None = None, image: AnyHttpUrl | None = None, telephone: str | None = None, url: AnyHttpUrl | None = None)[source]
Bases:
Creator
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.Person(*, class_: str = 'Person', name: str | None = None, address: str | None = None, alternateName: str | None = None, email: str | None = None, faxNumber: str | None = None, identifier: str | None = None, image: AnyHttpUrl | None = None, telephone: str | None = None, url: AnyHttpUrl | None = None, familyName: str | None = None, givenName: str | None = None, honorificPrefix: str | None = None, honorificSuffix: str | None = None, jobTitle: str | None = None)[source]
Bases:
Creator
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.Input(*, name: str, description: str)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.Output(*, name: str, type: str)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.InputConnection(*, id: int, output_name: str, input_subworkflow_step_id: int | None = None)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.WorkflowStepLayoutPosition(*, bottom: int, top: int, left: int, right: int, x: int, y: int, height: int, width: int)[source]
Bases:
Model
Position and dimensions of the workflow step represented by a box on the graph.
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.WorkflowStepToExportBase(*, id: int, type: str, name: str, annotation: str | None, tool_id: str | None = None, uuid: Annotated[UUID, UuidVersion(uuid_version=4)], label: str | None = None, inputs: List[Input], outputs: List[Output], input_connections: Dict[str, InputConnection] = {}, position: WorkflowStepLayoutPosition, workflow_outputs: List[WorkflowOutput] = [])[source]
Bases:
Model
- input_connections: Dict[str, InputConnection]
- position: WorkflowStepLayoutPosition
- workflow_outputs: List[WorkflowOutput]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.WorkflowStepToExport(*, id: int, type: str, name: str, annotation: str | None, tool_id: str | None = None, uuid: Annotated[UUID, UuidVersion(uuid_version=4)], label: str | None = None, inputs: List[Input], outputs: List[Output], input_connections: Dict[str, InputConnection] = {}, position: WorkflowStepLayoutPosition, workflow_outputs: List[WorkflowOutput] = [], content_id: str | None = None, tool_version: str | None = None, tool_state: Json, errors: str | None = None)[source]
Bases:
WorkflowStepToExportBase
- tool_state: Json
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.ToolShedRepositorySummary(*, name: str, owner: str, changeset_revision: str, tool_shed: str)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.PostJobAction(*, action_type: str, output_name: str, action_arguments: Dict[str, Any])[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.WorkflowToolStepToExport(*, id: int, type: str, name: str, annotation: str | None, tool_id: str | None = None, uuid: Annotated[UUID, UuidVersion(uuid_version=4)], label: str | None = None, inputs: List[Input], outputs: List[Output], input_connections: Dict[str, InputConnection] = {}, position: WorkflowStepLayoutPosition, workflow_outputs: List[WorkflowOutput] = [], tool_shed_repository: ToolShedRepositorySummary, post_job_actions: Dict[str, PostJobAction])[source]
Bases:
WorkflowStepToExportBase
- tool_shed_repository: ToolShedRepositorySummary
- post_job_actions: Dict[str, PostJobAction]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.SubworkflowStepToExport(*, id: int, type: str, name: str, annotation: str | None, tool_id: str | None = None, uuid: Annotated[UUID, UuidVersion(uuid_version=4)], label: str | None = None, inputs: List[Input], outputs: List[Output], input_connections: Dict[str, InputConnection] = {}, position: WorkflowStepLayoutPosition, workflow_outputs: List[WorkflowOutput] = [])[source]
Bases:
WorkflowStepToExportBase
- subworkflow: WorkflowToExport
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.WorkflowToExport(*, a_galaxy_workflow: str = 'true', format_version: str = '0.1', name: str, annotation: str | None, tags: TagCollection, uuid: Annotated[UUID, UuidVersion(uuid_version=4)] | None = None, creator: List[Person | Organization] | None = None, license: str | None = None, version: int, steps: Dict[int, SubworkflowStepToExport | WorkflowToolStepToExport | WorkflowStepToExport] = {})[source]
Bases:
Model
- tags: TagCollection
- creator: List[Person | Organization] | None
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.BasicRoleModel(*, id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], name: str, type: str)[source]
Bases:
Model
- id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation), FieldInfo(annotation=NoneType, required=True, title='ID', description='Encoded ID of the role')]
- name: Annotated[str, FieldInfo(annotation=NoneType, required=True, title='Name', description='Name of the role')]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.RoleModelResponse(*, model_class: typing_extensions.Literal[Role], id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], name: str, type: str, description: ~typing.Annotated[str, FieldInfo(annotation=NoneType, required=True, title='Description', description='Description of the role')] | None, url: str)[source]
Bases:
BasicRoleModel
,WithModelClass
- description: Annotated[str, FieldInfo(annotation=NoneType, required=True, title='Description', description='Description of the role')] | None
- url: ', json_schema_extra={'deprecated': True})]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.RoleDefinitionModel(*, name: str, description: str, user_ids: ~typing.List[~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]] | None = [], group_ids: ~typing.List[~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]] | None = [])[source]
Bases:
Model
- name: Annotated[str, FieldInfo(annotation=NoneType, required=True, title='Name', description='Name of the role')]
- description: Annotated[str, FieldInfo(annotation=NoneType, required=True, title='Description', description='Description of the role')]
- user_ids: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]] | None
- group_ids: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]] | None
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.RoleListResponse(root: RootModelRootType = PydanticUndefined)[source]
Bases:
RootModel
- root: List[RoleModelResponse]
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.GroupRoleResponse(*, id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], name: str, url: str)[source]
Bases:
Model
- id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation), FieldInfo(annotation=NoneType, required=True, title='ID', description='Encoded ID of the role')]
- name: Annotated[str, FieldInfo(annotation=NoneType, required=True, title='Name', description='Name of the role')]
- url: ', json_schema_extra={'deprecated': True})]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.GroupRoleListResponse(root: RootModelRootType = PydanticUndefined)[source]
Bases:
RootModel
- root: List[GroupRoleResponse]
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.GroupUserResponse(*, id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], email: str, url: str)[source]
Bases:
Model
- id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- url: ', json_schema_extra={'deprecated': True})]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.GroupUserListResponse(root: RootModelRootType = PydanticUndefined)[source]
Bases:
RootModel
- root: List[GroupUserResponse]
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.ImportToolDataBundleUriSource(*, src: typing_extensions.Literal[uri], uri: str)[source]
Bases:
Model
- src: typing_extensions.Literal[uri]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.ImportToolDataBundleDatasetSource(*, src: typing_extensions.Literal[hda, ldda], id: ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)])[source]
Bases:
Model
- src: typing_extensions.Literal[hda, ldda]
- id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.ToolShedRepository(*, tool_shed_url: str = 'https://toolshed.g2.bx.psu.edu/', name: str, owner: str)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.ToolShedRepositoryChangeset(*, tool_shed_url: str = 'https://toolshed.g2.bx.psu.edu/', name: str, owner: str, changeset_revision: str)[source]
Bases:
ToolShedRepository
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.InstalledRepositoryToolShedStatus(*, latest_installable_revision: str | None, revision_update: str, revision_upgrade: str | None = None, repository_deprecated: str | None)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.InstalledToolShedRepository(*, model_class: typing_extensions.Literal[ToolShedRepository], id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], status: str, name: str, owner: str, deleted: bool, ctx_rev: str | None, error_message: str = 'Installation error message, the empty string means no error was recorded', installed_changeset_revision: str, tool_shed: str, dist_to_shed: bool, uninstalled: bool, changeset_revision: str, tool_shed_status: ~galaxy.schema.schema.InstalledRepositoryToolShedStatus | None)[source]
Bases:
Model
,WithModelClass
- model_class: typing_extensions.Literal[ToolShedRepository]
- id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- tool_shed_status: InstalledRepositoryToolShedStatus | None
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.InstalledToolShedRepositories(root: RootModelRootType = PydanticUndefined)[source]
Bases:
RootModel
- root: List[InstalledToolShedRepository]
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.CheckForUpdatesResponse(*, status: typing_extensions.Literal[ok, error], message: str)[source]
Bases:
Model
- status: typing_extensions.Literal[ok, error]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.LibraryPermissionScope(value)[source]
-
An enumeration.
- current = 'current'
- available = 'available'
- class galaxy.schema.schema.LibraryLegacySummary(*, model_class: typing_extensions.Literal[Library], id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], name: str, description: str | None = '', synopsis: str | None = None, root_folder_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], create_time: ~datetime.datetime, deleted: bool)[source]
Bases:
Model
,WithModelClass
- id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- root_folder_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.LibrarySummary(*, model_class: typing_extensions.Literal[Library], id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], name: str, description: str | None = '', synopsis: str | None = None, root_folder_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], create_time: ~datetime.datetime, deleted: bool, create_time_pretty: str, public: bool, can_user_add: bool, can_user_modify: bool, can_user_manage: bool)[source]
Bases:
LibraryLegacySummary
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.LibrarySummaryList(root: RootModelRootType = PydanticUndefined)[source]
Bases:
RootModel
- root: List[LibrarySummary]
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.CreateLibraryPayload(*, name: str, description: str | None = '', synopsis: str | None = '')[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.CreateLibrariesFromStore(*, store_content_uri: str | None = None, store_dict: Dict[str, Any] | None = None, model_store_format: ModelStoreFormat | None = None)[source]
Bases:
StoreContentSource
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.UpdateLibraryPayload(*, name: str | None = None, description: str | None = None, synopsis: str | None = None)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.DeleteLibraryPayload(*, undelete: bool)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.LibraryCurrentPermissions(*, access_library_role_list: List[List[str]], modify_library_role_list: List[List[str]], manage_library_role_list: List[List[str]], add_library_item_role_list: List[List[str]])[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.LegacyLibraryPermissionsPayload(*, LIBRARY_ACCESS_in: ~typing.List[~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]] | ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = [], LIBRARY_MODIFY_in: ~typing.List[~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]] | ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = [], LIBRARY_ADD_in: ~typing.List[~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]] | ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = [], LIBRARY_MANAGE_in: ~typing.List[~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]] | ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = [])[source]
Bases:
RequireOneSetOption
- LIBRARY_ACCESS_in: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- LIBRARY_MODIFY_in: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- LIBRARY_ADD_in: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- LIBRARY_MANAGE_in: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.LibraryPermissionAction(value)[source]
-
An enumeration.
- set_permissions = 'set_permissions'
- remove_restrictions = 'remove_restrictions'
- class galaxy.schema.schema.DatasetPermissionAction(value)[source]
-
An enumeration.
- set_permissions = 'set_permissions'
- make_private = 'make_private'
- remove_restrictions = 'remove_restrictions'
- class galaxy.schema.schema.LibraryPermissionsPayloadBase(*, add_ids: ~typing.List[~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]] | ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = [], manage_ids: ~typing.List[~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]] | ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = [], modify_ids: ~typing.List[~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]] | ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = [])[source]
Bases:
RequireOneSetOption
- add_ids: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- manage_ids: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- modify_ids: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.LibraryPermissionsPayload(*, add_ids: ~typing.List[~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]] | ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = [], manage_ids: ~typing.List[~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]] | ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = [], modify_ids: ~typing.List[~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]] | ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = [], action: ~galaxy.schema.schema.LibraryPermissionAction | None = None, access_ids: ~typing.List[~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]] | ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = [])[source]
Bases:
LibraryPermissionsPayloadBase
- action: LibraryPermissionAction | None
- access_ids: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.LibraryFolderPermissionAction(value)[source]
-
An enumeration.
- set_permissions = 'set_permissions'
- class galaxy.schema.schema.LibraryFolderPermissionsPayload(*, add_ids: ~typing.List[~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]] | ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = [], manage_ids: ~typing.List[~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]] | ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = [], modify_ids: ~typing.List[~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]] | ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = [], action: ~galaxy.schema.schema.LibraryFolderPermissionAction | None = None)[source]
Bases:
LibraryPermissionsPayloadBase
- action: LibraryFolderPermissionAction | None
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.LibraryFolderDetails(*, model_class: typing_extensions.Literal[LibraryFolder], id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], name: str, description: str | None = '', item_count: int, parent_library_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], parent_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, genome_build: str | None = '?', update_time: ~datetime.datetime, deleted: bool, library_path: ~typing.List[str] = [])[source]
Bases:
Model
,WithModelClass
- model_class: typing_extensions.Literal[LibraryFolder]
- id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- parent_library_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- parent_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.CreateLibraryFolderPayload(*, name: str, description: str | None = '')[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.UpdateLibraryFolderPayload(*, name: str | None = None, description: str | None = None)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.LibraryAvailablePermissions(*, roles: List[BasicRoleModel], page: int, page_limit: int, total: int)[source]
Bases:
Model
- roles: List[BasicRoleModel]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.LibraryFolderCurrentPermissions(*, modify_folder_role_list: List[List[str]], manage_folder_role_list: List[List[str]], add_library_item_role_list: List[List[str]])[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.LibraryFolderContentsIndexQueryPayload(*, limit: int = 10, offset: int = 0, search_text: str | None = None, include_deleted: bool | None = None, order_by: typing_extensions.Literal[name, description, type, size, update_time] = 'name', sort_desc: bool | None = False)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.LibraryFolderItemBase(*, name: str, type: str, create_time: datetime, update_time: datetime, can_manage: bool, deleted: bool)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.FolderLibraryFolderItem(*, name: str, type: typing_extensions.Literal[folder], create_time: ~datetime.datetime, update_time: ~datetime.datetime, can_manage: bool, deleted: bool, id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], can_modify: bool, description: str | None = '')[source]
Bases:
LibraryFolderItemBase
- id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- type: typing_extensions.Literal[folder]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.FileLibraryFolderItem(*, name: str, type: typing_extensions.Literal[file], create_time: ~datetime.datetime, update_time: ~datetime.datetime, can_manage: bool, deleted: bool, id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], file_ext: str, date_uploaded: ~datetime.datetime, is_unrestricted: bool, is_private: bool, state: ~typing.Annotated[~galaxy.schema.schema.DatasetState, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.schema.<lambda>, json_schema_input_type=PydanticUndefined)], file_size: str, raw_size: int, ldda_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], tags: ~galaxy.schema.schema.TagCollection, message: str | None = None)[source]
Bases:
LibraryFolderItemBase
- id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- type: typing_extensions.Literal[file]
- state: ')]
- ldda_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- tags: TagCollection
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.LibraryFolderMetadata(*, parent_library_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], folder_name: str, folder_description: str, total_rows: int, can_modify_folder: bool, can_add_library_item: bool, full_path: ~typing.List[~typing.Tuple[~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], str]])[source]
Bases:
Model
- parent_library_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- full_path: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], str]]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.LibraryFolderContentsIndexResult(*, metadata: LibraryFolderMetadata, folder_contents: List[Annotated[FileLibraryFolderItem | FolderLibraryFolderItem, FieldInfo(annotation=NoneType, required=True, discriminator='type')]])[source]
Bases:
Model
- metadata: LibraryFolderMetadata
- folder_contents: List[Annotated[FileLibraryFolderItem | FolderLibraryFolderItem, FieldInfo(annotation=NoneType, required=True, discriminator='type')]]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.CreateLibraryFilePayload(*, from_hda_id: ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, from_hdca_id: ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, ldda_message: str | None = '')[source]
Bases:
Model
- from_hda_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- from_hdca_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.DatasetAssociationRoles(*, access_dataset_roles: List[List[str]] = [], manage_dataset_roles: List[List[str]] = [], modify_item_roles: List[List[str]] = [])[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.UpdateDatasetPermissionsPayloadBase(*, action: DatasetPermissionAction | None = DatasetPermissionAction.set_permissions)[source]
Bases:
Model
- action: DatasetPermissionAction | None
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.UpdateDatasetPermissionsPayload(*, action: ~galaxy.schema.schema.DatasetPermissionAction | None = DatasetPermissionAction.set_permissions, access_ids: ~typing.List[~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]] | ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, manage_ids: ~typing.List[~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]] | ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, modify_ids: ~typing.List[~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]] | ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None)[source]
Bases:
UpdateDatasetPermissionsPayloadBase
- access_ids: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None, FieldInfo(annotation=NoneType, required=False, default=None, alias='access_ids[]', alias_priority=2)]
- manage_ids: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None, FieldInfo(annotation=NoneType, required=False, default=None, alias='manage_ids[]', alias_priority=2)]
- modify_ids: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None, FieldInfo(annotation=NoneType, required=False, default=None, alias='modify_ids[]', alias_priority=2)]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.UpdateDatasetPermissionsPayloadAliasB(*, action: ~galaxy.schema.schema.DatasetPermissionAction | None = DatasetPermissionAction.set_permissions, access: ~typing.List[~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]] | ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, manage: ~typing.List[~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]] | ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, modify: ~typing.List[~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]] | ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None)[source]
Bases:
UpdateDatasetPermissionsPayloadBase
- access: ')]
- manage: ')]
- modify: ')]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.UpdateDatasetPermissionsPayloadAliasC(*, action: ~galaxy.schema.schema.DatasetPermissionAction | None = DatasetPermissionAction.set_permissions, access_ids: ~typing.List[~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]] | ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, manage_ids: ~typing.List[~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]] | ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, modify_ids: ~typing.List[~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]] | ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None)[source]
Bases:
UpdateDatasetPermissionsPayloadBase
- access_ids: ')]
- manage_ids: ')]
- modify_ids: ')]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.HDACustom(*, model_class: typing_extensions.Literal[HistoryDatasetAssociation] | None = None, id: ~typing.Annotated[str | None, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] = None, name: str | None = None, history_id: ~typing.Annotated[str | None, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] = None, hid: int | None = None, deleted: bool | None = None, visible: bool | None = None, type_id: str | None = None, type: typing_extensions.Literal[file] | None = None, create_time: ~datetime.datetime | None = None, update_time: ~datetime.datetime | None = None, url: str | None = None, tags: ~galaxy.schema.schema.TagCollection | None = None, history_content_type: typing_extensions.Literal[dataset] | None = None, copied_from_ldda_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, dataset_id: ~typing.Annotated[str | None, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] = None, state: ~typing.Annotated[~galaxy.schema.schema.DatasetState | None, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.schema.<lambda>, json_schema_input_type=PydanticUndefined)] = None, extension: str | None = None, purged: bool | None = None, genome_build: str | None = None, hda_ldda: ~galaxy.schema.schema.DatasetSourceType | None = None, accessible: bool | None = None, misc_info: str | None = None, misc_blurb: str | None = None, file_ext: str | None = None, file_size: int | None = None, resubmitted: bool | None = None, metadata: ~typing.Any | None = None, meta_files: ~typing.List[~galaxy.schema.schema.MetadataFile] | None = None, data_type: str | None = None, peek: str | None = None, creating_job: str | None = None, rerunnable: bool | None = None, uuid: ~typing.Annotated[~uuid.UUID, ~pydantic.types.UuidVersion(uuid_version=4)] | None = None, permissions: ~galaxy.schema.schema.DatasetPermissions | None = None, file_name: str | None = None, display_apps: ~typing.List[~galaxy.schema.schema.DisplayApp] | None = None, display_types: ~typing.List[~galaxy.schema.schema.DisplayApp] | None = None, validated_state: ~galaxy.schema.schema.DatasetValidatedState | None = None, validated_state_message: str | None = None, annotation: str | None = None, download_url: str | None = None, api_type: typing_extensions.Literal[file] | None = None, created_from_basename: str | None = None, hashes: ~typing.List[~galaxy.schema.schema.DatasetHash] | None = None, drs_id: str | None = None, sources: ~typing.List[~galaxy.schema.schema.DatasetSource] | None = None, copied_from_history_dataset_association_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, visualizations: ~typing.List[~galaxy.schema.schema.Visualization] | None = None, **extra_data: ~typing.Any)[source]
Bases:
HDACustom
- visualizations: List[Visualization] | None
- model_config: ClassVar[ConfigDict] = {'extra': 'allow', 'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_class: typing_extensions.Literal[HistoryDatasetAssociation] | None
- tags: TagCollection | None
- copied_from_ldda_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- state: DatasetState | None
- hda_ldda: DatasetSourceType | None
- meta_files: List[MetadataFile] | None
- permissions: DatasetPermissions | None
- display_apps: List[DisplayApp] | None
- display_types: List[DisplayApp] | None
- validated_state: DatasetValidatedState | None
- hashes: List[DatasetHash] | None
- sources: List[DatasetSource] | None
- copied_from_history_dataset_association_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- class galaxy.schema.schema.HDCACustom(*, model_class: typing_extensions.Literal[HistoryDatasetCollectionAssociation] | None = None, id: ~typing.Annotated[str | None, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] = None, name: str | None = None, history_id: ~typing.Annotated[str | None, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] = None, hid: int | None = None, deleted: bool | None = None, visible: bool | None = None, type_id: str | None = None, type: typing_extensions.Literal[collection] | None = None, create_time: ~datetime.datetime | None = None, update_time: ~datetime.datetime | None = None, url: str | None = None, tags: ~galaxy.schema.schema.TagCollection | None = None, history_content_type: typing_extensions.Literal[dataset_collection] | None = None, collection_type: str | None = None, populated_state: ~galaxy.schema.schema.DatasetCollectionPopulatedState | None = None, populated_state_message: str | None = None, element_count: int | None = None, elements_datatypes: ~typing.Set[str] | None = None, job_source_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, job_source_type: ~galaxy.schema.schema.JobSourceType | None = None, job_state_summary: ~galaxy.schema.schema.HDCJobStateSummary | None = None, contents_url: str | None = None, collection_id: ~typing.Annotated[str | None, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] = None, populated: bool | None = None, elements: ~typing.List[~galaxy.schema.schema.DCESummary] | None = None, implicit_collection_jobs_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None)[source]
Bases:
HDCACustom
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_class: typing_extensions.Literal[HistoryDatasetCollectionAssociation] | None
- tags: TagCollection | None
- populated_state: DatasetCollectionPopulatedState | None
- job_source_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- job_source_type: JobSourceType | None
- job_state_summary: HDCJobStateSummary | None
- elements: List[DCESummary] | None
- implicit_collection_jobs_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- class galaxy.schema.schema.DeleteHistoryContentPayload(*, purge: bool = False, recursive: bool = False, stop_job: bool = False)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.DeleteHistoryContentResult(*, id: ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], deleted: bool, purged: bool | None = None)[source]
Bases:
Model
Contains minimum information about the deletion state of a history item.
Can also contain any other properties of the item.
- id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.HistoryContentsArchiveDryRunResult(root: RootModelRootType = PydanticUndefined)[source]
Bases:
RootModel
Contains a collection of filepath/filename entries that represent the contents that would have been included in the archive. This is returned when the dry_run flag is active when creating an archive with the contents of the history.
This is used for debugging purposes.
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.HistoryContentStats(*, total_matches: int)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.HistoryContentsResult(root: RootModelRootType = PydanticUndefined)[source]
Bases:
RootModel
List of history content items. Can contain different views and kinds of items.
- root: List[Annotated[HDACustom | HDADetailed | HDASummary | HDAInaccessible | HDCACustom | HDCADetailed | HDCASummary, FieldInfo(annotation=NoneType, required=True, metadata=[_PydanticGeneralMetadata(union_mode='left_to_right')])]]
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.HistoryContentsWithStatsResult(*, stats: HistoryContentStats, contents: List[Annotated[HDACustom | HDADetailed | HDASummary | HDAInaccessible | HDCACustom | HDCADetailed | HDCASummary, FieldInfo(annotation=NoneType, required=True, metadata=[_PydanticGeneralMetadata(union_mode='left_to_right')])]])[source]
Bases:
Model
Includes stats with items counting
- stats: HistoryContentStats
- contents: List[Annotated[HDACustom | HDADetailed | HDASummary | HDAInaccessible | HDCACustom | HDCADetailed | HDCASummary, FieldInfo(annotation=NoneType, required=True, metadata=[_PydanticGeneralMetadata(union_mode='left_to_right')])]]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.SharingOptions(value)[source]
-
Options for sharing resources that may have restricted access to all or part of their contents.
- make_public = 'make_public'
- no_changes = 'no_changes'
Bases:
Model
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
Bases:
Model
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.SetSlugPayload(*, new_slug: str)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.UserEmail(*, id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], email: str)[source]
Bases:
Model
- id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.UserBeaconSetting(*, enabled: bool)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.SharingStatus(*, id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], title: str, importable: bool, published: bool, users_shared_with: ~typing.List[~galaxy.schema.schema.UserEmail] = [], email_hash: str | None = None, username: str | None = None, username_and_slug: str | None = None)[source]
Bases:
Model
- id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.HDABasicInfo(*, id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], name: str)[source]
Bases:
Model
- id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
Bases:
ShareWithExtra
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
Bases:
SharingStatus
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
Bases:
ShareWithStatus
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.PageContentFormat(value)[source]
-
An enumeration.
- markdown = 'markdown'
- html = 'html'
- class galaxy.schema.schema.PageSummaryBase(*, title: str, slug: Annotated[str, _PydanticGeneralMetadata(pattern='^[^/:?#]+$')])[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.MaterializeDatasetInstanceAPIRequest(*, source: ~galaxy.schema.schema.DatasetSourceType, content: ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)])[source]
Bases:
Model
- source: DatasetSourceType
- content: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.MaterializeDatasetInstanceRequest(*, source: ~galaxy.schema.schema.DatasetSourceType, content: ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], history_id: ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)])[source]
Bases:
MaterializeDatasetInstanceAPIRequest
- history_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.ChatPayload(*, query: str, context: str | None = '')[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.CreatePagePayload(*, title: str, slug: ~typing.Annotated[str, _PydanticGeneralMetadata(pattern='^[^/:?#]+$')], content_format: ~galaxy.schema.schema.PageContentFormat = PageContentFormat.html, content: str | None = '', annotation: str | None = None, invocation_id: ~typing.Annotated[int, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.ensure_valid_id, json_schema_input_type=PydanticUndefined), ~pydantic.functional_serializers.PlainSerializer(func=~galaxy.schema.fields.<lambda>, return_type=str, when_used=json), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None = None, **extra_data: ~typing.Any)[source]
Bases:
PageSummaryBase
- content_format: PageContentFormat
- invocation_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)] | None
- model_config: ClassVar[ConfigDict] = {'extra': 'allow', 'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.AsyncTaskResultSummary(*, id: str, ignored: bool, name: str | None = None, queue: str | None = None)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.ToolRequestState(value)[source]
-
An enumeration.
- NEW = 'new'
- SUBMITTED = 'submitted'
- FAILED = 'failed'
- class galaxy.schema.schema.ToolRequestModel(*, id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], request: ~typing.Dict[str, ~typing.Any], state: ~galaxy.schema.schema.ToolRequestState, state_message: str | None)[source]
Bases:
Model
- id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- state: ToolRequestState
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.AsyncFile(*, storage_request_id: UUID, task: AsyncTaskResultSummary)[source]
Bases:
Model
- task: AsyncTaskResultSummary
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.PageSummary(*, model_class: typing_extensions.Literal[Page], title: str, slug: ~typing.Annotated[str, _PydanticGeneralMetadata(pattern='^[^/:?#]+$')], id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], username: str, email_hash: str, author_deleted: bool, published: bool, importable: bool, deleted: bool, latest_revision_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], revision_ids: ~typing.List[~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]], create_time: ~datetime.datetime, update_time: ~datetime.datetime, tags: ~galaxy.schema.schema.TagCollection)[source]
Bases:
PageSummaryBase
,WithModelClass
- id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- latest_revision_id: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]
- revision_ids: WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]]
- tags: TagCollection
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.OAuth2State(*, route: str, nonce: str)[source]
Bases:
BaseModel
- static decode(base64_param: str) OAuth2State [source]
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.PageDetails(*, model_class: typing_extensions.Literal[Page], title: str, slug: ~typing.Annotated[str, _PydanticGeneralMetadata(pattern='^[^/:?#]+$')], id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], username: str, email_hash: str, author_deleted: bool, published: bool, importable: bool, deleted: bool, latest_revision_id: ~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)], revision_ids: ~typing.List[~typing.Annotated[str, ~pydantic.functional_validators.BeforeValidator(func=~galaxy.schema.fields.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=serialization), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string', 'example': '0123456789ABCDEF', 'pattern': '[0-9a-fA-F]+', 'minLength': 16}, mode=validation)]], create_time: ~datetime.datetime, update_time: ~datetime.datetime, tags: ~galaxy.schema.schema.TagCollection, content_format: ~galaxy.schema.schema.PageContentFormat = PageContentFormat.html, content: str | None = '', generate_version: str | None = None, generate_time: str | None = None, **extra_data: ~typing.Any)[source]
Bases:
PageSummary
- content_format: PageContentFormat
- model_config: ClassVar[ConfigDict] = {'extra': 'allow', 'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.PageSummaryList(root: RootModelRootType = PydanticUndefined)[source]
Bases:
RootModel
- root: List[PageSummary]
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.LandingRequestState(value)[source]
-
An enumeration.
- UNCLAIMED = 'unclaimed'
- CLAIMED = 'claimed'
- class galaxy.schema.schema.CreateToolLandingRequestPayload(*, tool_id: str, tool_version: str | None = None, request_state: Dict[str, Any] | None = None, client_secret: str | None = None, public: bool = False)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.CreateWorkflowLandingRequestPayload(*, workflow_id: str, workflow_target_type: typing_extensions.Literal[stored_workflow, workflow, trs_url], request_state: Dict[str, Any] | None = None, client_secret: str | None = None, public: bool = False)[source]
Bases:
Model
- workflow_target_type: typing_extensions.Literal[stored_workflow, workflow, trs_url]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.ClaimLandingPayload(*, client_secret: str | None = None)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.ToolLandingRequest(*, uuid: Annotated[UUID, UuidVersion(uuid_version=4)], tool_id: str, tool_version: str | None = None, request_state: Dict[str, Any] | None = None, state: LandingRequestState)[source]
Bases:
Model
- uuid: Annotated[UUID, UuidVersion(uuid_version=4), FieldInfo(annotation=NoneType, required=True, title='UUID', description='Universal unique identifier for this dataset.')]
- state: LandingRequestState
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.schema.WorkflowLandingRequest(*, uuid: Annotated[UUID, UuidVersion(uuid_version=4)], workflow_id: str, workflow_target_type: typing_extensions.Literal[stored_workflow, workflow, trs_url], request_state: Dict[str, Any], state: LandingRequestState)[source]
Bases:
Model
- uuid: Annotated[UUID, UuidVersion(uuid_version=4), FieldInfo(annotation=NoneType, required=True, title='UUID', description='Universal unique identifier for this dataset.')]
- workflow_target_type: typing_extensions.Literal[stored_workflow, workflow, trs_url]
- state: LandingRequestState
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
galaxy.schema.tasks module
- class galaxy.schema.tasks.SetupHistoryExportJob(*, history_id: int, job_id: int, store_directory: str, include_files: bool, include_hidden: bool, include_deleted: bool)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.tasks.PrepareDatasetCollectionDownload(*, short_term_storage_request_id: UUID, history_dataset_collection_association_id: int)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.tasks.GeneratePdfDownload(*, short_term_storage_request_id: UUID, basic_markdown: str, document_type: PdfDocumentType)[source]
Bases:
Model
- document_type: PdfDocumentType
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.tasks.RequestUser(*, user_id: int)[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.tasks.GenerateHistoryDownload(*, model_store_format: ModelStoreFormat = ModelStoreFormat.TAR_DOT_GZ, include_files: bool = True, include_deleted: bool = False, include_hidden: bool = False, short_term_storage_request_id: UUID, duration: int | float | None = None, history_id: int, user: RequestUser, export_association_id: int | None = None)[source]
Bases:
ShortTermStoreExportPayload
- user: RequestUser
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.tasks.GenerateHistoryContentDownload(*, model_store_format: ModelStoreFormat = ModelStoreFormat.TAR_DOT_GZ, include_files: bool = True, include_deleted: bool = False, include_hidden: bool = False, short_term_storage_request_id: UUID, duration: int | float | None = None, content_type: HistoryContentType, content_id: int, user: RequestUser)[source]
Bases:
ShortTermStoreExportPayload
- content_type: HistoryContentType
- user: RequestUser
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.tasks.BcoGenerationTaskParametersMixin(*, bco_merge_history_metadata: bool = False, bco_override_environment_variables: Dict[str, str] | None = None, bco_override_empirical_error: Dict[str, str] | None = None, bco_override_algorithmic_error: Dict[str, str] | None = None, bco_override_xref: List[XrefItem] | None = None, galaxy_url: str)[source]
Bases:
BcoGenerationParametersMixin
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.tasks.GenerateInvocationDownload(*, bco_merge_history_metadata: bool = False, bco_override_environment_variables: Dict[str, str] | None = None, bco_override_empirical_error: Dict[str, str] | None = None, bco_override_algorithmic_error: Dict[str, str] | None = None, bco_override_xref: List[XrefItem] | None = None, galaxy_url: str, model_store_format: ModelStoreFormat = ModelStoreFormat.TAR_DOT_GZ, include_files: bool = True, include_deleted: bool = False, include_hidden: bool = False, short_term_storage_request_id: UUID, duration: int | float | None = None, invocation_id: int, user: RequestUser)[source]
Bases:
ShortTermStoreExportPayload
,BcoGenerationTaskParametersMixin
- user: RequestUser
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.tasks.WriteInvocationTo(*, bco_merge_history_metadata: bool = False, bco_override_environment_variables: Dict[str, str] | None = None, bco_override_empirical_error: Dict[str, str] | None = None, bco_override_algorithmic_error: Dict[str, str] | None = None, bco_override_xref: List[XrefItem] | None = None, galaxy_url: str, model_store_format: ModelStoreFormat = ModelStoreFormat.TAR_DOT_GZ, include_files: bool = True, include_deleted: bool = False, include_hidden: bool = False, target_uri: str, invocation_id: int, user: RequestUser)[source]
Bases:
WriteStoreToPayload
,BcoGenerationTaskParametersMixin
- user: RequestUser
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.tasks.WriteHistoryContentTo(*, model_store_format: ModelStoreFormat = ModelStoreFormat.TAR_DOT_GZ, include_files: bool = True, include_deleted: bool = False, include_hidden: bool = False, target_uri: str, content_type: HistoryContentType, content_id: int, user: RequestUser)[source]
Bases:
WriteStoreToPayload
- content_type: HistoryContentType
- user: RequestUser
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.tasks.WriteHistoryTo(*, model_store_format: ModelStoreFormat = ModelStoreFormat.TAR_DOT_GZ, include_files: bool = True, include_deleted: bool = False, include_hidden: bool = False, target_uri: str, history_id: int, user: RequestUser, export_association_id: int | None = None)[source]
Bases:
WriteStoreToPayload
- user: RequestUser
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.tasks.ImportModelStoreTaskRequest(*, user: RequestUser, history_id: int | None = None, source_uri: str, for_library: bool, model_store_format: ModelStoreFormat | None = None)[source]
Bases:
Model
- user: RequestUser
- model_store_format: ModelStoreFormat | None
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.tasks.MaterializeDatasetInstanceTaskRequest(*, history_id: int, user: RequestUser, source: DatasetSourceType, content: int)[source]
Bases:
Model
- user: RequestUser
- source: DatasetSourceType
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.tasks.ComputeDatasetHashTaskRequest(*, dataset_id: int, extra_files_path: str | None = None, hash_function: HashFunctionNameEnum, user: RequestUser | None = None)[source]
Bases:
Model
- hash_function: HashFunctionNameEnum
- user: RequestUser | None
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.tasks.PurgeDatasetsTaskRequest(*, dataset_ids: List[int])[source]
Bases:
Model
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class galaxy.schema.tasks.TaskState(value)[source]
-
Enum representing the possible states of a task.
- PENDING = 'PENDING'
The task is waiting for execution.
- STARTED = 'STARTED'
The task has been started.
- RETRY = 'RETRY'
The task is to be retried, possibly because of failure.
- FAILURE = 'FAILURE'
The task raised an exception, or has exceeded the retry limit.
- SUCCESS = 'SUCCESS'
The task executed successfully.
- class galaxy.schema.tasks.TaskResult(*, state: TaskState, result: str)[source]
Bases:
Model
Contains information about the result of an asynchronous task.
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'use_enum_values': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].