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].