{"id":3644,"library":"mypy-boto3-neptune-graph","title":"mypy-boto3-neptune-graph Type Stubs","description":"mypy-boto3-neptune-graph provides type annotations for the AWS NeptuneGraph service client in boto3, ensuring type-safe AWS interactions with MyPy. It is part of the larger `mypy-boto3` collection, automatically generated by `mypy-boto3-builder` version 8.12.0, and is currently at version 1.42.43. The `mypy-boto3` ecosystem follows a regular release cadence, often aligning with new boto3 service releases or builder improvements.","status":"active","version":"1.42.43","language":"python","source_language":"en","source_url":"https://github.com/youtype/mypy_boto3_builder","tags":["aws","boto3","mypy","typing","stubs","neptune-graph","type-hints"],"install":[{"cmd":"pip install mypy-boto3-neptune-graph","lang":"bash","label":"Install package"}],"dependencies":[{"reason":"This package provides type stubs for boto3; boto3 itself must be installed to use the client.","package":"boto3","optional":false}],"imports":[{"wrong":"from mypy_boto3_neptune_graph import NeptuneGraphClient","symbol":"NeptuneGraphClient","correct":"from mypy_boto3_neptune_graph import NeptuneGraphClient"}],"quickstart":{"code":"import boto3\nfrom mypy_boto3_neptune_graph.client import NeptuneGraphClient\nfrom botocore.exceptions import ClientError\n\ndef get_neptune_graph_client() -> NeptuneGraphClient:\n    \"\"\"Gets a type-annotated NeptuneGraph client.\"\"\"\n    try:\n        client: NeptuneGraphClient = boto3.client(\"neptune-graph\")\n        # Example usage: list graphs (requires appropriate permissions)\n        # response = client.list_graphs()\n        # print(f\"Graphs: {response.get('graphs')}\")\n        return client\n    except ClientError as e:\n        print(f\"Error creating NeptuneGraph client: {e}\")\n        raise\n\nif __name__ == \"__main__\":\n    neptune_client = get_neptune_graph_client()\n    print(f\"NeptuneGraph client type: {type(neptune_client)}\")\n","lang":"python","description":"This quickstart demonstrates how to obtain a type-annotated `NeptuneGraphClient` using `boto3.client`. The `mypy-boto3-neptune-graph` stubs provide the `NeptuneGraphClient` type for static analysis."},"warnings":[{"fix":"Upgrade Python to 3.9 or higher.","message":"Support for Python 3.8 has been removed in `mypy-boto3-builder` 8.12.0. Users on Python 3.8 must either upgrade their Python version or use an older `mypy-boto3-builder` version if possible.","severity":"breaking","affected_versions":">=8.12.0 (builder), >=1.42.43 (this package)"},{"fix":"Ensure your `mypy` configuration (e.g., `pyproject.toml`) does not interfere with standard stub discovery. Remove any custom `mypy_path` entries that might point to old stub locations.","message":"All `mypy-boto3` packages, including `mypy-boto3-neptune-graph`, migrated to PEP 561-compliant packages in `mypy-boto3-builder` 8.12.0. This means type checkers should automatically discover them, but in rare cases, custom `mypy` configurations might need adjustment if they previously relied on non-standard stub locations.","severity":"breaking","affected_versions":">=8.12.0 (builder), >=1.42.43 (this package)"},{"fix":"Review type annotations if upgrading from very old versions to ensure `TypeDef` names match the new conventions.","message":"From `mypy-boto3-builder` 8.9.0, some `TypeDef` names were shortened (e.g., `CreateDistributionRequestRequestTypeDef` became `CreateDistributionRequestTypeDef`) and conflicting `Extra` postfixes moved (`CreateDistributionExtraRequestTypeDef` to `CreateDistributionRequestExtraTypeDef`). While this specific service might not be directly affected, it's a general breaking change in the builder that could alter type definition names.","severity":"breaking","affected_versions":">=8.9.0 (builder), versions of this package generated by >=8.9.0 builder"},{"fix":"Ensure `boto3` is installed: `pip install boto3`.","message":"This package provides only type stubs. It does NOT include `boto3` or `botocore` libraries, which are required for runtime execution. You must install `boto3` separately.","severity":"gotcha","affected_versions":"All versions"},{"fix":"Install `mypy` (`pip install mypy`) and run it on your codebase (e.g., `mypy .`).","message":"For type checking, you need to run `mypy` or another compatible static type checker. Installing this package alone does not perform type checking automatically.","severity":"gotcha","affected_versions":"All versions"}],"env_vars":null,"search_vec":"'1.42.43':56 '8.12.0':50 'align':68 'annot':15 'automat':42 'aw':18,28,77 'boto3':3,10,23,40,47,60,71,78 'builder':48,75 'cadenc':66 'client':21 'collect':41 'current':53 'ecosystem':61 'ensur':24 'follow':62 'generat':43 'graph':5,12,84 'hint':87 'improv':76 'interact':29 'larger':37 'mypi':2,9,31,39,46,59,79 'mypy-boto3':38,58 'mypy-boto3-builder':45 'mypy-boto3-neptune-graph':1,8 'neptun':4,11,83 'neptune-graph':82 'neptunegraph':19 'new':70 'often':67 'part':34 'provid':13 'regular':64 'releas':65,73 'safe':27 'servic':20,72 'stub':7,81 'type':6,14,26,80,86 'type-hint':85 'type-saf':25 'version':49,55","created_at":"2026-04-11T17:38:28.805909+00:00","updated_at":"2026-04-16T17:05:57.201651+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\n  File \"/tmp/tmpfxyhdnpz/venv/lib/python3.12/site-packages/mypy_boto3_neptune_graph/__init__.py\", line 56, in <module>\n    from .client import NeptuneGraphClient\n  File \"/tmp/tmpfxyhdnpz/venv/lib/python3.12/site-packages/mypy_"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"1.43.56","cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/youtype/mypy_boto3_builder","docs":"https://youtype.github.io/boto3_stubs_docs/mypy_boto3_neptune_graph/","changelog":null,"pypi":"https://pypi.org/project/mypy-boto3-neptune-graph/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["type-stubs","aws"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-07-03","last_verified":"2026-08-29","next_check":"2026-07-10","install_tag":null}}