Skip to content

Neptune module#

Index > Neptune

Auto-generated documentation for Neptune type annotations stubs module types-aiobotocore-neptune.

How to install#

From PyPI with pip#

Install types-aiobotocore for Neptune service.

# install with aiobotocore type annotations
python -m pip install 'types-aiobotocore[neptune]'


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


# standalone installation
python -m pip install types-aiobotocore-neptune

How to uninstall#

python -m pip uninstall -y types-aiobotocore-neptune

Usage#

Code samples can be found in Examples.

NeptuneClient#

Type annotations and code completion for session.create_client("neptune") as NeptuneClient boto3 documentation

# NeptuneClient usage example

from aiobotocore.session import get_session

from types_aiobotocore_neptune.client import NeptuneClient


session = get_session()
async with session.create_client("neptune") as client:
    client: NeptuneClient

Paginators#

Type annotations and code completion for paginators from session.create_client("neptune").get_paginator("...").

# DescribeDBClusterEndpointsPaginator usage example

from types_aiobotocore_neptune.paginator import DescribeDBClusterEndpointsPaginator

def get_describe_db_cluster_endpoints_paginator() -> DescribeDBClusterEndpointsPaginator:
    return client.get_paginator("describe_db_cluster_endpoints"))

Waiters#

Type annotations and code completion for waiters from session.create_client("neptune").get_waiter("...").

# DBInstanceAvailableWaiter usage example

from types_aiobotocore_neptune.waiter import DBInstanceAvailableWaiter

def get_db_instance_available_waiter() -> DBInstanceAvailableWaiter:
    return Session().client("neptune").get_waiter("db_instance_available")

Literals#

Type annotations for literals used in methods and schema.

# ApplyMethodType usage example

from types_aiobotocore_neptune.literals import ApplyMethodType

def get_value() -> ApplyMethodType:
    return "immediate"

Type definitions#

Type annotations for type definitions used in methods and schema.