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: int | None[int | None] = 0, limit: int | None[int | None] = 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: int | None[int | None] = 0, limit: int | None[int | None] = 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: int[int])[source]
Bases:
FetchBaseModel
- type: typing_extensions.Literal[library_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.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: str | int | float | bool[str | int | float | bool] | 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: List[str] | None = None, created_from_basename: str | None = None, extra_files: ExtraFiles | None = None, auto_decompress: bool = False, elements_from: 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: List[FetchDatasetHash] | None = None, description: str | None = None)[source]
Bases:
FetchBaseModel
- 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: str | int | float | bool[str | int | float | bool] | 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: List[str] | None = None, created_from_basename: str | None = None, extra_files: ExtraFiles | None = None, auto_decompress: bool = False, elements_from: 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: List[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: str | int | float | bool[str | int | float | bool] | 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: List[str] | None = None, created_from_basename: str | None = None, extra_files: ExtraFiles | None = None, auto_decompress: bool = False, elements_from: 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: List[FetchDatasetHash] | None = None, description: str | None = None, src: typing_extensions.Literal[pasted], paste_content: str | int | float | bool[str | int | float | bool])[source]
Bases:
BaseDataElement
- src: typing_extensions.Literal[pasted]
- 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: str | int | float | bool[str | int | float | bool] | 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: List[str] | None = None, created_from_basename: str | None = None, extra_files: ExtraFiles | None = None, auto_decompress: bool = False, elements_from: 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: List[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: str | int | float | bool[str | int | float | bool] | 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: List[str] | None = None, created_from_basename: str | None = None, extra_files: ExtraFiles | None = None, auto_decompress: bool = False, elements_from: 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: List[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: str | int | float | bool[str | int | float | bool] | 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: List[str] | None = None, created_from_basename: str | None = None, extra_files: ExtraFiles | None = None, auto_decompress: bool = False, elements_from: 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: List[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: str | int | float | bool[str | int | float | bool] | 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: List[str] | None = None, created_from_basename: str | None = None, extra_files: ExtraFiles | None = None, auto_decompress: bool = False, elements_from: 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: List[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: str | int | float | bool[str | int | float | bool] | 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: List[str] | None = None, created_from_basename: str | None = None, extra_files: ExtraFiles | None = None, auto_decompress: bool = False, elements_from: 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: List[FetchDatasetHash] | None = None, description: str | None = None, src: typing_extensions.Literal[composite], composite: CompositeItems)[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: str | int | float | bool[str | int | float | bool] | 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: List[str] | None = None, created_from_basename: str | None = None, extra_files: ExtraFiles | None = None, auto_decompress: bool = False, elements_from: 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: List[FetchDatasetHash] | None = None, description: str | None = None, elements: List[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[FileDataElement | PastedDataElement | UrlDataElement | PathDataElement | ServerDirElement | FtpImportElement | CompositeDataElement] | 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[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[FileDataElement | PastedDataElement | UrlDataElement | PathDataElement | ServerDirElement | FtpImportElement | CompositeDataElement] | NestedElement])[source]
Bases:
BaseDataTarget
- items: List[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[FileDataElement | PastedDataElement | UrlDataElement | PathDataElement | ServerDirElement | FtpImportElement | CompositeDataElement] | 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[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[FileDataElement | PastedDataElement | UrlDataElement | PathDataElement | ServerDirElement | FtpImportElement | CompositeDataElement] | NestedElement])[source]
Bases:
BaseCollectionTarget
- items: List[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[FileDataElement | PastedDataElement | UrlDataElement | PathDataElement | ServerDirElement | FtpImportElement | CompositeDataElement] | 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: int[int], **extra_data: Any)[source]
Bases:
FetchBaseModel
- 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: int[int], targets: List[DataElementsTarget | HdcaDataItemsTarget | DataElementsFromTarget | HdcaDataItemsFromTarget | FtpImportTarget], **extra_data: 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: int[int], targets: 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][List[DataElementsTarget | HdcaDataItemsTarget | DataElementsFromTarget | HdcaDataItemsFromTarget | FtpImportTarget]] | List[DataElementsTarget | HdcaDataItemsTarget | DataElementsFromTarget | HdcaDataItemsFromTarget | FtpImportTarget], **extra_data: Any)[source]
Bases:
BaseDataPayload
- targets: 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][List[DataElementsTarget | HdcaDataItemsTarget | DataElementsFromTarget | HdcaDataItemsFromTarget | FtpImportTarget]] | 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
- 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: FilesSourceSupports[FilesSourceSupports]
- 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[RemoteFile | galaxy.schema.remote_files.RemoteDirectory[RemoteFile | RemoteDirectory]]
- 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.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: str[str], username: str, email: str, 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.UserModel(*, model_class: typing_extensions.Literal[User], id: str[str], username: str, email: str, deleted: bool, active: bool, last_password_change: 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: str[str], 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.
- 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: str[str], username: str, email: str, deleted: bool, active: bool, last_password_change: 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: str[str], username: str, email: str, deleted: bool, is_admin: bool, purged: bool, preferences: Dict[Any, Any], preferred_object_store_id: str | None = None, quota: str, quota_bytes: int | None = None, tags_used: 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
- 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: str[str], count: str | None = None, fasta: str[str] | None = None, linecount: str[str] | None = None)[source]
Bases:
CustomBuildBaseModel
- 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: str[str], count: str | None = None, fasta: str[str] | None = None, linecount: str[str] | 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: int[int], name: str)[source]
Bases:
Model
,WithModelClass
User group 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.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.
- 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: List[int[int]] = [], access: List[int[int]] = [])[source]
Bases:
Model
Role-based permissions for accessing and managing 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.Hyperlink(*, target: str, href: str, text: str)[source]
Bases:
Model
Represents some text with an Hyperlink.
- 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: str[str], name: str | None, history_id: str[str], hid: int, deleted: bool, visible: bool)[source]
Bases:
Model
Basic information provided by items contained 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.HistoryItemCommon(*, id: str[str], name: str | None, history_id: str[str], hid: int, deleted: bool, visible: bool, type_id: str | None = None, type: str, create_time: datetime | None, update_time: datetime | None, url: str, tags: TagCollection)[source]
Bases:
HistoryItemBase
Common information provided by items contained in a History.
- 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: str[str], name: str | None, history_id: str[str], hid: int, deleted: bool, visible: bool, type_id: str | None = None, type: str, create_time: datetime | None, update_time: datetime | None, url: str, tags: TagCollection, history_content_type: typing_extensions.Literal[dataset], copied_from_ldda_id: str[str] | None = None)[source]
Bases:
HistoryItemCommon
- history_content_type: typing_extensions.Literal[dataset][typing_extensions.Literal[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.HDASummary(*, id: str[str], name: str | None, history_id: str[str], hid: int, deleted: bool, visible: bool, type_id: str | None = None, type: str, create_time: datetime | None, update_time: datetime | None, url: str, tags: TagCollection, history_content_type: typing_extensions.Literal[dataset], copied_from_ldda_id: str[str] | None = None, dataset_id: str[str], state: DatasetState[DatasetState], extension: str | None, purged: bool, genome_build: str | None = '?')[source]
Bases:
HDACommon
History Dataset Association summary information.
- state: DatasetState[DatasetState]
- 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: str[str], name: str | None, history_id: str[str], hid: int, deleted: bool, visible: bool, type_id: str | None = None, type: str, create_time: datetime | None, update_time: datetime | None, url: str, tags: TagCollection, history_content_type: typing_extensions.Literal[dataset], copied_from_ldda_id: str[str] | None = None, accessible: typing_extensions.Literal[False], state: DatasetState[DatasetState])[source]
Bases:
HDACommon
History Dataset Association information when the user can not access it.
- accessible: typing_extensions.Literal[False]
- state: DatasetState[DatasetState]
- 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: str[str], hash_function: HashFunctionNameEnum, hash_value: str, extra_files_path: str | None = None)[source]
Bases:
Model
- model_class: typing_extensions.Literal[DatasetHash]
- 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.DatasetSource(*, id: str[str], source_uri: str, extra_files_path: str | None = None, transform: List[Any] | 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.HDADetailed(*, model_class: typing_extensions.Literal[HistoryDatasetAssociation], id: str[str], name: str | None, history_id: str[str], hid: int, deleted: bool, visible: bool, type_id: str | None = None, type: typing_extensions.Literal[file] = 'file', create_time: datetime | None, update_time: datetime | None, url: str, tags: TagCollection, history_content_type: typing_extensions.Literal[dataset], copied_from_ldda_id: str[str] | None = None, dataset_id: str[str], state: DatasetState[DatasetState], extension: str | None, purged: bool, genome_build: str | None = '?', hda_ldda: DatasetSourceType = DatasetSourceType.hda, accessible: bool, misc_info: str | None = None, misc_blurb: str | None = None, file_ext: str, file_size: int, resubmitted: bool, metadata: Any | None = None, meta_files: List[MetadataFile], data_type: str, peek: str | None = None, creating_job: str, rerunnable: bool, uuid: UUID[UUID], permissions: DatasetPermissions, file_name: str | None = None, display_apps: List[DisplayApp], display_types: List[DisplayApp], validated_state: 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: List[DatasetHash], drs_id: str, sources: List[DatasetSource], copied_from_history_dataset_association_id: str[str] | None = None)[source]
Bases:
HDASummary
,WithModelClass
History Dataset Association detailed information.
- model_class: typing_extensions.Literal[HistoryDatasetAssociation][typing_extensions.Literal[HistoryDatasetAssociation]]
- hda_ldda: DatasetSourceType
- meta_files: List[MetadataFile]
- permissions: DatasetPermissions
- display_apps: List[DisplayApp]
- display_types: List[DisplayApp]
- validated_state: DatasetValidatedState
- type: typing_extensions.Literal[file][typing_extensions.Literal[file]]
- api_type: typing_extensions.Literal[file][typing_extensions.Literal[file]]
- hashes: List[galaxy.schema.schema.DatasetHash][List[DatasetHash]]
- sources: List[galaxy.schema.schema.DatasetSource][List[DatasetSource]]
- 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: str[str], name: str | None, history_id: str[str], hid: int, deleted: bool, visible: bool, type_id: str | None = None, type: typing_extensions.Literal[file] = 'file', create_time: datetime | None, update_time: datetime | None, url: str, tags: TagCollection, history_content_type: typing_extensions.Literal[dataset], copied_from_ldda_id: str[str] | None = None, dataset_id: str[str], state: DatasetState[DatasetState], extension: str | None, purged: bool, genome_build: str | None = '?', hda_ldda: DatasetSourceType = DatasetSourceType.hda, accessible: bool, misc_info: str | None = None, misc_blurb: str | None = None, file_ext: str, file_size: int, resubmitted: bool, metadata: Any | None = None, meta_files: List[MetadataFile], data_type: str, peek: str | None = None, creating_job: str, rerunnable: bool, uuid: UUID[UUID], permissions: DatasetPermissions, file_name: str | None = None, display_apps: List[DisplayApp], display_types: List[DisplayApp], validated_state: 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: List[DatasetHash], drs_id: str, sources: List[DatasetSource], copied_from_history_dataset_association_id: str[str] | None = None, tool_version: str, parent_id: int[int] | None = None, designation: str | None = None)[source]
Bases:
HDADetailed
History Dataset Association extended information.
- 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: str[str], create_time: datetime, update_time: datetime, collection_type: str, populated_state: 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]
- 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.HDAObject(*, model_class: typing_extensions.Literal[HistoryDatasetAssociation], id: str[str], state: DatasetState[DatasetState], hda_ldda: DatasetSourceType = DatasetSourceType.hda, history_id: str[str], tags: List[str], copied_from_ldda_id: str[str] | None = None, accessible: bool | None = None, purged: bool, **extra_data: Any)[source]
Bases:
Model
,WithModelClass
History Dataset Association Object
- model_class: typing_extensions.Literal[HistoryDatasetAssociation]
- state: DatasetState[DatasetState]
- hda_ldda: DatasetSourceType
- 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: str[str], collection_type: str, populated: bool = None, element_count: int | None = None, contents_url: str[str] | None = None, elements: List[DCESummary] = [])[source]
Bases:
Model
,WithModelClass
Dataset Collection Object
- model_class: typing_extensions.Literal[DatasetCollection]
- 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: str[str], element_index: int, element_identifier: str, element_type: DCEType | None = None, object: HDAObject | HDADetailed | DCObject | None = None)[source]
Bases:
Model
,WithModelClass
Dataset Collection Element summary information.
- 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: str[str], create_time: datetime, update_time: datetime, collection_type: str, populated_state: DatasetCollectionPopulatedState, populated_state_message: str | None = None, element_count: int | None = None, populated: bool = None, elements: List[DCESummary] = [])[source]
Bases:
DCSummary
Dataset Collection detailed information.
- 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: str[str], name: str | None, history_id: str[str], hid: int, deleted: bool, visible: bool, type_id: str | None = None, type: str, create_time: datetime | None, update_time: datetime | None, url: str, tags: TagCollection, history_content_type: typing_extensions.Literal[dataset_collection])[source]
Bases:
HistoryItemCommon
- history_content_type: typing_extensions.Literal[dataset_collection][typing_extensions.Literal[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.HDCASummary(*, model_class: typing_extensions.Literal[HistoryDatasetCollectionAssociation], id: str[str], name: str | None, history_id: str[str], hid: int, deleted: bool, visible: bool, type_id: str | None = None, type: typing_extensions.Literal[collection] = 'collection', create_time: datetime | None, update_time: datetime | None, url: str, tags: TagCollection, history_content_type: typing_extensions.Literal[dataset_collection], collection_type: str, populated_state: DatasetCollectionPopulatedState, populated_state_message: str | None = None, element_count: int | None = None, elements_datatypes: Set[str], job_source_id: str[str] | None = None, job_source_type: JobSourceType | None = None, job_state_summary: HDCJobStateSummary | None = None, contents_url: str, collection_id: str[str])[source]
Bases:
HDCACommon
,WithModelClass
History Dataset Collection Association summary information.
- model_class: typing_extensions.Literal[HistoryDatasetCollectionAssociation]
- type: typing_extensions.Literal[collection][typing_extensions.Literal[collection]]
- populated_state: DatasetCollectionPopulatedState
- job_source_type: JobSourceType | None
- job_state_summary: HDCJobStateSummary | 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.HDCADetailed(*, model_class: typing_extensions.Literal[HistoryDatasetCollectionAssociation], id: str[str], name: str | None, history_id: str[str], hid: int, deleted: bool, visible: bool, type_id: str | None = None, type: typing_extensions.Literal[collection] = 'collection', create_time: datetime | None, update_time: datetime | None, url: str, tags: TagCollection, history_content_type: typing_extensions.Literal[dataset_collection], collection_type: str, populated_state: DatasetCollectionPopulatedState, populated_state_message: str | None = None, element_count: int | None = None, elements_datatypes: Set[str], job_source_id: str[str] | None = None, job_source_type: JobSourceType | None = None, job_state_summary: HDCJobStateSummary | None = None, contents_url: str, collection_id: str[str], populated: bool = None, elements: List[DCESummary] = [], implicit_collection_jobs_id: str[str] | None = None)[source]
Bases:
HDCASummary
History Dataset Collection Association detailed information.
- 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.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: HistoryContentType, id: int[int])[source]
Bases:
HistoryContentItemBase
- 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: HistoryContentType, id: str[str])[source]
Bases:
HistoryContentItemBase
- 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: HistoryContentType, id: int[int], **extra_data: 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].
- history_content_type: HistoryContentType
- 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: str[str], name: str, deleted: bool, purged: bool, archived: bool, url: str, published: bool, count: int, annotation: str | None, tags: TagCollection, update_time: datetime, preferred_object_store_id: str | None = None)[source]
Bases:
Model
,WithModelClass
History summary information.
- 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: str[str], name: str, deleted: bool, purged: bool, archived: bool, url: str, published: bool, count: int, annotation: str | None, tags: TagCollection, update_time: datetime, preferred_object_store_id: str | None = None, contents_url: str, size: int, user_id: str[str] | None = None, create_time: datetime, importable: bool, slug: str | None = None, username: str | None = None, username_and_slug: str | None = None, genome_build: str | None = '?', state: DatasetState, state_ids: Dict[DatasetState, List[int[int]]], state_details: Dict[DatasetState, int])[source]
Bases:
HistorySummary
History detailed information.
- state: DatasetState
- 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: str | None[str | None] = 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: TagCollection | None = None, update_time: datetime | None = None, preferred_object_store_id: str | None = None, contents_url: str | None = None, size: int | None = None, user_id: str[str] | None = None, create_time: 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: DatasetState | None = None, state_ids: Dict[DatasetState, List[int[int]]] | None = None, state_details: Dict[DatasetState, int] | None = None, contents_active: HistoryActiveContentCounts | None = None, contents_states: Dict[DatasetState | 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
- state: DatasetState | 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: int | None[int | None] = 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: List[str] | None = None, user_details: bool = False, user_id: int[int] | None = None, tool_ids: List[str] | None = None, tool_ids_like: List[str] | None = None, date_range_min: datetime[datetime] | date | None = None, date_range_max: datetime[datetime] | date | None = None, history_id: int[int] | None = None, workflow_id: int[int] | None = None, invocation_id: int[int] | None = None, implicit_collection_jobs_id: int[int] | None = None, order_by: JobIndexSortByEnum = JobIndexSortByEnum.update_time, search: str | None = None, limit: int = 500, offset: int = 0)[source]
Bases:
Model
- 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: int | None[int | None] = 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: int | None[int | None] = 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: int[int] | None = None)[source]
Bases:
Model
- sort_by: typing_extensions.Literal[create_time, title, update_time, username]
- 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: int[int] | None = None, all_datasets: bool | None = True, archive_source: str | None = None, archive_type: HistoryImportArchiveSourceType | None = HistoryImportArchiveSourceType.url, archive_file: Any | None = None)[source]
Bases:
Model
- 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: ColletionSourceType, id: int[int] | None = None, collection_type: str | None = None, element_identifiers: List[CollectionElementIdentifier] | None = None, tags: List[str] | None = None)[source]
Bases:
Model
- src: ColletionSourceType
- 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: List[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: int[int] | None = None, folder_id: int[int] | None = None)[source]
Bases:
Model
- 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.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].
- model_store_format: ModelStoreFormat | None
- 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
- 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: str[str], ready: bool, preparing: bool, up_to_date: 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.JobExportHistoryArchiveModel(*, id: str[str], ready: bool, preparing: bool, up_to_date: bool, job_id: str[str], download_url: str, external_download_latest_url: AnyUrl, external_download_permanent_url: AnyUrl)[source]
Bases:
ObjectExportResponseBase
- 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: str[str], object_type: ExportObjectType, user_id: str[str] | None = None, payload: WriteStoreToPayload | ShortTermStoreExportPayload)[source]
Bases:
Model
- object_type: ExportObjectType
- 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, 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: str[str], ready: bool, preparing: bool, up_to_date: bool, task_uuid: UUID[UUID], create_time: datetime, export_metadata: 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: int[int] | None = None, purge_history: 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.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].
- model_store_format: ModelStoreFormat
- 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: ExportRecordData | None = None, id: str[str], name: str, deleted: bool, purged: bool, archived: bool, url: str, published: bool, count: int, annotation: str | None, tags: TagCollection, update_time: 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].
- tags: TagCollection
- class galaxy.schema.schema.ArchivedHistoryDetailed(*, model_class: typing_extensions.Literal[History], export_record_data: ExportRecordData | None = None, id: str[str], name: str, deleted: bool, purged: bool, archived: bool, url: str, published: bool, count: int, annotation: str | None, tags: TagCollection, update_time: datetime, preferred_object_store_id: str | None = None, contents_url: str, size: int, user_id: str[str] | None = None, create_time: datetime, importable: bool, slug: str | None = None, username: str | None = None, username_and_slug: str | None = None, genome_build: str | None = '?', state: DatasetState, state_ids: Dict[DatasetState, List[int[int]]], state_details: Dict[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].
- state: DatasetState
- state_details: Dict[DatasetState, int]
- model_class: HISTORY_MODEL_CLASS
- id: HistoryID
- url: RelativeUrlField
- tags: TagCollection
- update_time: datetime
- class galaxy.schema.schema.CustomArchivedHistoryView(*, model_class: typing_extensions.Literal[History] | None = None, export_record_data: ExportRecordData | None = None, id: str | None[str | None] = 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: TagCollection | None = None, update_time: datetime | None = None, preferred_object_store_id: str | None = None, contents_url: str | None = None, size: int | None = None, user_id: str[str] | None = None, create_time: 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: DatasetState | None = None, state_ids: Dict[DatasetState, List[int[int]]] | None = None, state_details: Dict[DatasetState, int] | None = None, contents_active: HistoryActiveContentCounts | None = None, contents_states: Dict[DatasetState | 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
- state: DatasetState | 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: str[str])[source]
Bases:
Model
Contains the ID of the job associated with a particular request.
- 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: str[str], history_id: str[str] | None = None, tool_id: str, state: JobState, exit_code: int | None = None, create_time: datetime, update_time: datetime, galaxy_version: str | None = None)[source]
Bases:
Model
,WithModelClass
- 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: str[str], history_id: str[str] | None = None, tool_id: str, state: JobState, exit_code: int | None = None, create_time: datetime, update_time: 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: str[str], populated_state: DatasetCollectionPopulatedState, states: Dict[JobState, int] = {})[source]
Bases:
Model
- 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: str[str], populated_state: DatasetCollectionPopulatedState, states: Dict[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: str[str], populated_state: DatasetCollectionPopulatedState, states: Dict[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: str[str], populated_state: DatasetCollectionPopulatedState, states: Dict[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: str[str], history_id: str[str] | None = None, tool_id: str, state: JobState, exit_code: int | None = None, create_time: datetime, update_time: 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: DatasetSourceType, id: int[int])[source]
Bases:
DatasetSourceIdBase
- 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: DatasetSourceType, id: str[str])[source]
Bases:
DatasetSourceIdBase
- 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: str[str], src: DataItemSourceType)[source]
Bases:
Model
- 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: str[str], src: 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: DatasetSourceType, id: int[int], uuid: UUID[UUID])[source]
Bases:
DatasetSourceId
- 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: str[str], history_id: str[str] | None = None, tool_id: str, state: JobState, exit_code: int | None = None, create_time: datetime, update_time: 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: Any = None, inputs: Dict[str, DatasetJobInfo] = {}, outputs: Dict[str, 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: str[str], history_id: str[str] | None = None, tool_id: str, state: JobState, exit_code: int | None = None, create_time: datetime, update_time: 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: Any = None, inputs: Dict[str, DatasetJobInfo] = {}, outputs: Dict[str, DatasetJobInfo] = {}, tool_stdout: str, tool_stderr: str, job_stdout: str, job_stderr: str, stdout: str, stderr: str, job_messages: List[str], job_metrics: 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: str[str], create_time: datetime, update_time: datetime, name: str, url: str, published: bool, annotations: List[str] | None = None, tags: TagCollection, deleted: bool, hidden: bool, owner: str, latest_workflow_uuid: UUID[UUID] | None = None, number_of_steps: int | None = None, show_in_tool_panel: bool | None = None)[source]
Bases:
Model
,WithModelClass
- model_class: typing_extensions.Literal[StoredWorkflow]
- 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: UUID[UUID] | 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: UUID[UUID] | 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: Dict[str, InputStep], when: str | None, tool_id: str | None = None, tool_version: str | None = None, tool_inputs: Any = None, type: typing_extensions.Literal[subworkflow], workflow_id: str[str])[source]
Bases:
WorkflowStepBase
- type: typing_extensions.Literal[subworkflow]
- 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: UUID[UUID], 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: UUID[UUID], 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: UUID[UUID], 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: UUID[UUID], 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: UUID[UUID] | 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: str[str], 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.RoleModelResponse(*, model_class: typing_extensions.Literal[Role], id: str[str], name: str, type: str, description: str[str] | None, url: str)[source]
Bases:
BasicRoleModel
,WithModelClass
- 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: List[int[int]] | None = [], group_ids: List[int[int]] | 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.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: str[str], name: str, url: 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.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: str[str], email: str, url: 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.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: int[int])[source]
Bases:
Model
- src: typing_extensions.Literal[hda, ldda]
- 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: str[str], 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: InstalledRepositoryToolShedStatus | None)[source]
Bases:
Model
,WithModelClass
- model_class: typing_extensions.Literal[ToolShedRepository]
- 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: str[str], name: str, description: str | None = '', synopsis: str | None = None, root_folder_id: str[str], create_time: datetime, deleted: bool)[source]
Bases:
Model
,WithModelClass
- 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: str[str], name: str, description: str | None = '', synopsis: str | None = None, root_folder_id: str[str], create_time: 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].
- model_store_format: ModelStoreFormat | None
- 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: List[int[int]] | int[int] | None = [], LIBRARY_MODIFY_in: List[int[int]] | int[int] | None = [], LIBRARY_ADD_in: List[int[int]] | int[int] | None = [], LIBRARY_MANAGE_in: List[int[int]] | int[int] | None = [])[source]
Bases:
RequireOneSetOption
- 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: List[int[int]] | int[int] | None = [], manage_ids: List[int[int]] | int[int] | None = [], modify_ids: List[int[int]] | int[int] | None = [])[source]
Bases:
RequireOneSetOption
- 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: List[int[int]] | int[int] | None = [], manage_ids: List[int[int]] | int[int] | None = [], modify_ids: List[int[int]] | int[int] | None = [], action: LibraryPermissionAction | None = None, access_ids: List[int[int]] | int[int] | None = [])[source]
Bases:
LibraryPermissionsPayloadBase
- action: LibraryPermissionAction | 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: List[int[int]] | int[int] | None = [], manage_ids: List[int[int]] | int[int] | None = [], modify_ids: List[int[int]] | int[int] | None = [], action: 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: str[str], name: str, description: str | None = '', item_count: int, parent_library_id: str[str], parent_id: str[str] | None = None, genome_build: str | None = '?', update_time: datetime, deleted: bool, library_path: List[str] = [])[source]
Bases:
Model
,WithModelClass
- model_class: typing_extensions.Literal[LibraryFolder]
- 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, update_time: datetime, can_manage: bool, deleted: bool, id: str[str], can_modify: bool, description: str | None = '')[source]
Bases:
LibraryFolderItemBase
- 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, update_time: datetime, can_manage: bool, deleted: bool, id: str[str], file_ext: str, date_uploaded: datetime, is_unrestricted: bool, is_private: bool, state: DatasetState[DatasetState], file_size: str, raw_size: int, ldda_id: str[str], tags: TagCollection, message: str | None = None)[source]
Bases:
LibraryFolderItemBase
- type: typing_extensions.Literal[file]
- state: DatasetState[DatasetState]
- 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: str[str], folder_name: str, folder_description: str, total_rows: int, can_modify_folder: bool, can_add_library_item: bool, full_path: List[Tuple[str[str], 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.LibraryFolderContentsIndexResult(*, metadata: LibraryFolderMetadata, folder_contents: List[FileLibraryFolderItem | galaxy.schema.schema.FolderLibraryFolderItem[FileLibraryFolderItem | FolderLibraryFolderItem]])[source]
Bases:
Model
- metadata: LibraryFolderMetadata
- folder_contents: List[FileLibraryFolderItem | galaxy.schema.schema.FolderLibraryFolderItem[FileLibraryFolderItem | FolderLibraryFolderItem]]
- 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: int[int] | None = None, from_hdca_id: int[int] | None = None, ldda_message: 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.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: DatasetPermissionAction | None = DatasetPermissionAction.set_permissions, access_ids: List[int[int]] | int[int] | None = None, manage_ids: List[int[int]] | int[int] | None = None, modify_ids: List[int[int]] | int[int] | None = None)[source]
Bases:
UpdateDatasetPermissionsPayloadBase
- 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: DatasetPermissionAction | None = DatasetPermissionAction.set_permissions, access: List[int[int]] | int[int] | None = None, manage: List[int[int]] | int[int] | None = None, modify: List[int[int]] | int[int] | None = None)[source]
Bases:
UpdateDatasetPermissionsPayloadBase
- 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: DatasetPermissionAction | None = DatasetPermissionAction.set_permissions, access_ids: List[int[int]] | int[int] | None = None, manage_ids: List[int[int]] | int[int] | None = None, modify_ids: List[int[int]] | int[int] | None = None)[source]
Bases:
UpdateDatasetPermissionsPayloadBase
- 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: str | None[str | None] = None, name: str | None = None, history_id: str | None[str | None] = 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 | None = None, update_time: datetime | None = None, url: str | None = None, tags: TagCollection | None = None, history_content_type: typing_extensions.Literal[dataset] | None = None, copied_from_ldda_id: str[str] | None = None, dataset_id: str | None[str | None] = None, state: DatasetState | None[DatasetState | None] = None, extension: str | None = None, purged: bool | None = None, genome_build: str | None = None, hda_ldda: 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: Any | None = None, meta_files: List[MetadataFile] | None = None, data_type: str | None = None, peek: str | None = None, creating_job: str | None = None, rerunnable: bool | None = None, uuid: UUID[UUID] | None = None, permissions: DatasetPermissions | None = None, file_name: str | None = None, display_apps: List[DisplayApp] | None = None, display_types: List[DisplayApp] | None = None, validated_state: 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: List[DatasetHash] | None = None, drs_id: str | None = None, sources: List[DatasetSource] | None = None, copied_from_history_dataset_association_id: str[str] | None = None, visualizations: List[Visualization] | None = None, **extra_data: 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
- 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
- class galaxy.schema.schema.HDCACustom(*, model_class: typing_extensions.Literal[HistoryDatasetCollectionAssociation] | None = None, id: str | None[str | None] = None, name: str | None = None, history_id: str | None[str | None] = 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 | None = None, update_time: datetime | None = None, url: str | None = None, tags: TagCollection | None = None, history_content_type: typing_extensions.Literal[dataset_collection] | None = None, collection_type: str | None = None, populated_state: DatasetCollectionPopulatedState | None = None, populated_state_message: str | None = None, element_count: int | None = None, elements_datatypes: Set[str] | None = None, job_source_id: str[str] | None = None, job_source_type: JobSourceType | None = None, job_state_summary: HDCJobStateSummary | None = None, contents_url: str | None = None, collection_id: str | None[str | None] = None, populated: bool | None = None, elements: List[DCESummary] | None = None, implicit_collection_jobs_id: str[str] | 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_type: JobSourceType | None
- job_state_summary: HDCJobStateSummary | None
- elements: List[DCESummary] | 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: int[int], 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.
- 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[HDACustom | galaxy.schema.schema.HDADetailed | galaxy.schema.schema.HDASummary | galaxy.schema.schema.HDAInaccessible | galaxy.schema.schema.HDCACustom | galaxy.schema.schema.HDCADetailed | galaxy.schema.schema.HDCASummary[HDACustom | HDADetailed | HDASummary | HDAInaccessible | HDCACustom | HDCADetailed | HDCASummary]]
- 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[HDACustom | galaxy.schema.schema.HDADetailed | galaxy.schema.schema.HDASummary | galaxy.schema.schema.HDAInaccessible | galaxy.schema.schema.HDCACustom | galaxy.schema.schema.HDCADetailed | galaxy.schema.schema.HDCASummary[HDACustom | HDADetailed | HDASummary | HDAInaccessible | HDCACustom | HDCADetailed | HDCASummary]])[source]
Bases:
Model
Includes stats with items counting
- stats: HistoryContentStats
- contents: List[HDACustom | galaxy.schema.schema.HDADetailed | galaxy.schema.schema.HDASummary | galaxy.schema.schema.HDAInaccessible | galaxy.schema.schema.HDCACustom | galaxy.schema.schema.HDCADetailed | galaxy.schema.schema.HDCASummary[HDACustom | HDADetailed | HDASummary | HDAInaccessible | HDCACustom | HDCADetailed | HDCASummary]]
- 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: str[str], 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.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: str[str], title: str, importable: bool, published: bool, users_shared_with: List[UserEmail] = [], email_hash: str | None = None, username: str | None = None, username_and_slug: 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.HDABasicInfo(*, id: str[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].
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: str[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.MaterializeDatasetInstanceAPIRequest(*, source: DatasetSourceType, content: int[int])[source]
Bases:
Model
- 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.schema.MaterializeDatasetInstanceRequest(*, source: DatasetSourceType, content: int[int], history_id: int[int])[source]
Bases:
MaterializeDatasetInstanceAPIRequest
- 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: str[str], content_format: PageContentFormat = PageContentFormat.html, content: str | None = '', annotation: str | None = None, invocation_id: int[int] | None = None, **extra_data: Any)[source]
Bases:
PageSummaryBase
- 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.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: str[str], request: Dict[str, Any], state: ToolRequestState, state_message: str | None)[source]
Bases:
Model
- 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: str[str], id: str[str], username: str, email_hash: str, published: bool, importable: bool, deleted: bool, latest_revision_id: str[str], revision_ids: List[str[str]], create_time: datetime, update_time: datetime, tags: TagCollection)[source]
Bases:
PageSummaryBase
,WithModelClass
- 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: str[str], id: str[str], username: str, email_hash: str, published: bool, importable: bool, deleted: bool, latest_revision_id: str[str], revision_ids: List[str[str]], create_time: datetime, update_time: datetime, tags: TagCollection, content_format: PageContentFormat = PageContentFormat.html, content: str | None = '', generate_version: str | None = None, generate_time: str | None = None, **extra_data: 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: UUID[UUID], tool_id: str, tool_version: str | None = None, request_state: Dict[str, Any] | None = None, state: LandingRequestState)[source]
Bases:
Model
- 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: UUID[UUID], workflow_id: str, workflow_target_type: typing_extensions.Literal[stored_workflow, workflow, trs_url], request_state: Dict[str, Any], state: LandingRequestState)[source]
Bases:
Model
- 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].