Skip to content

Omics module

Index > Omics

Auto-generated documentation for Omics type annotations stubs module mypy-boto3-omics.

How to install

VSCode extension

Add AWS Boto3 extension to your VSCode and run AWS boto3: Quick Start command.

Click Modify and select boto3 common and Omics.

From PyPI with pip

Install boto3-stubs for Omics service.

# install with boto3 type annotations
python -m pip install 'boto3-stubs[omics]'

# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'boto3-stubs-lite[omics]'

# standalone installation
python -m pip install mypy-boto3-omics

How to uninstall

python -m pip uninstall -y mypy-boto3-omics


Code samples can be found in Examples.


Type annotations and code completion for boto3.client("omics") as OmicsClient boto3 documentation

# OmicsClient usage example

from boto3.session import Session

from mypy_boto3_omics.client import OmicsClient

def get_client() -> OmicsClient:
    return Session().client("omics")


Type annotations and code completion for paginators from boto3.client("omics").get_paginator("...").

# ListAnnotationImportJobsPaginator usage example

from boto3.session import Session

from mypy_boto3_omics.paginator import ListAnnotationImportJobsPaginator

def get_list_annotation_import_jobs_paginator() -> ListAnnotationImportJobsPaginator:
    return Session().client("omics").get_paginator("list_annotation_import_jobs"))


Type annotations and code completion for waiters from boto3.client("omics").get_waiter("...").

# AnnotationImportJobCreatedWaiter usage example

from boto3.session import Session

from mypy_boto3_omics.waiter import AnnotationImportJobCreatedWaiter

def get_annotation_import_job_created_waiter() -> AnnotationImportJobCreatedWaiter:
    return Session().client("omics").get_waiter("annotation_import_job_created")


Type annotations for literals used in methods and schemas.

# AnnotationImportJobCreatedWaiterName usage example

from mypy_boto3_omics.literals import AnnotationImportJobCreatedWaiterName

def get_value() -> AnnotationImportJobCreatedWaiterName:
    return "annotation_import_job_created"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

# ActivateReadSetFilterTypeDef usage example

from mypy_boto3_omics.type_defs import ActivateReadSetFilterTypeDef

def get_value() -> ActivateReadSetFilterTypeDef:
    return {
        "createdAfter": ...,