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

Usage

Code samples can be found in Examples.

OmicsClient

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

Usage example
from boto3.session import Session

from mypy_boto3_omics.client import OmicsClient

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

Paginators

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

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"))

Waiters

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

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")

Literals

Type annotations for literals used in methods and schemas.

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.

Usage example
from mypy_boto3_omics.type_defs import ActivateReadSetFilterTypeDef

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