Package: types-aiobotocore-docdb
types-aiobotocore-docdbType annotations foraiobotocore.DocDB 2.12.0service compatible withVSCode,PyCharm,Emacs,Sublime Text,mypy,pyrightand other tools.Generated bymypy-boto3-builder 7.23.2.More information can be found ontypes-aiobotocorepage and intypes-aiobotocore-docdb docs.See how it helps to find and fix potential bugs:types-aiobotocore-docdbHow to installFrom PyPI with pipHow to uninstallUsageVSCodePyCharmEmacsSublime TextOther IDEsmypypyrightExplicit type annotationsClient annotationsPaginators annotationsWaiters annotationsLiteralsType definitionsHow it worksWhat's newImplemented featuresLatest changesVersioningThank youDocumentationSupport and contributingHow to installFrom PyPI with pipInstalltypes-aiobotocoreforDocDBservice.# install with aiobotocore type annotationspython-mpipinstall'types-aiobotocore[docdb]'# Lite version does not provide session.client/resource overloads# it is more RAM-friendly, but requires explicit type annotationspython-mpipinstall'types-aiobotocore-lite[docdb]'# standalone installationpython-mpipinstalltypes-aiobotocore-docdbHow to uninstallpython-mpipuninstall-ytypes-aiobotocore-docdbUsageVSCodeInstallPython extensionInstallPylance extensionSetPylanceas your Python Language ServerInstalltypes-aiobotocore[docdb]in your environment:python-mpipinstall'types-aiobotocore[docdb]'Both type checking and code completion should now work. No explicit type
annotations required, write youraiobotocorecode as usual.PyCharmInstalltypes-aiobotocore-lite[docdb]in your environment:python-mpipinstall'types-aiobotocore-lite[docdb]'`Both type checking and code completion should now work. Explicit type
annotationsare required.Usetypes-aiobotocorepackage instead for implicit type discovery.EmacsInstalltypes-aiobotocorewith services you use in your environment:python-mpipinstall'types-aiobotocore[docdb]'Installuse-package,lsp,companyandflycheckpackagesInstalllsp-pyrightpackage(use-packagelsp-pyright:ensuret:hook(python-mode.(lambda()(require'lsp-pyright)(lsp))); or lsp-deferred:init(when(executable-find"python3")(setqlsp-pyright-python-executable-cmd"python3")))Make sure emacs uses the environment where you have installedtypes-aiobotocoreType checking should now work. No explicit type annotations required, write
youraiobotocorecode as usual.Sublime TextInstalltypes-aiobotocore[docdb]with services you use in your environment:python-mpipinstall'types-aiobotocore[docdb]'InstallLSP-pyrightpackageType checking should now work. No explicit type annotations required, write
youraiobotocorecode as usual.Other IDEsNot tested, but as long as your IDE supportsmypyorpyright, everything
should work.mypyInstallmypy:python -m pip install mypyInstalltypes-aiobotocore[docdb]in your environment:python-mpipinstall'types-aiobotocore[docdb]'`Type checking should now work. No explicit type annotations required, write
youraiobotocorecode as usual.pyrightInstallpyright:npm i -g pyrightInstalltypes-aiobotocore[docdb]in your environment:python-mpipinstall'types-aiobotocore[docdb]'Optionally, you can installtypes-aiobotocoretotypingsfolder.Type checking should now work. No explicit type annotations required, write
youraiobotocorecode as usual.Explicit type annotationsClient annotationsDocDBClientprovides annotations forsession.create_client("docdb").fromaiobotocore.sessionimportget_sessionfromtypes_aiobotocore_docdbimportDocDBClientsession=get_session()asyncwithsession.create_client("docdb")asclient:client:DocDBClient# now client usage is checked by mypy and IDE should provide code completionPaginators annotationstypes_aiobotocore_docdb.paginatormodule contains type annotations for all
paginators.fromaiobotocore.sessionimportget_sessionfromtypes_aiobotocore_docdbimportDocDBClientfromtypes_aiobotocore_docdb.paginatorimport(DescribeCertificatesPaginator,DescribeDBClusterParameterGroupsPaginator,DescribeDBClusterParametersPaginator,DescribeDBClusterSnapshotsPaginator,DescribeDBClustersPaginator,DescribeDBEngineVersionsPaginator,DescribeDBInstancesPaginator,DescribeDBSubnetGroupsPaginator,DescribeEventSubscriptionsPaginator,DescribeEventsPaginator,DescribeGlobalClustersPaginator,DescribeOrderableDBInstanceOptionsPaginator,DescribePendingMaintenanceActionsPaginator,)session=get_session()asyncwithsession.create_client("docdb")asclient:client:DocDBClient# Explicit type annotations are optional here# Types should be correctly discovered by mypy and IDEsdescribe_certificates_paginator:DescribeCertificatesPaginator=client.get_paginator("describe_certificates")describe_db_cluster_parameter_groups_paginator:DescribeDBClusterParameterGroupsPaginator=(client.get_paginator("describe_db_cluster_parameter_groups"))describe_db_cluster_parameters_paginator:DescribeDBClusterParametersPaginator=(client.get_paginator("describe_db_cluster_parameters"))describe_db_cluster_snapshots_paginator:DescribeDBClusterSnapshotsPaginator=(client.get_paginator("describe_db_cluster_snapshots"))describe_db_clusters_paginator:DescribeDBClustersPaginator=client.get_paginator("describe_db_clusters")describe_db_engine_versions_paginator:DescribeDBEngineVersionsPaginator=client.get_paginator("describe_db_engine_versions")describe_db_instances_paginator:DescribeDBInstancesPaginator=client.get_paginator("describe_db_instances")describe_db_subnet_groups_paginator:DescribeDBSubnetGroupsPaginator=client.get_paginator("describe_db_subnet_groups")describe_event_subscriptions_paginator:DescribeEventSubscriptionsPaginator=(client.get_paginator("describe_event_subscriptions"))describe_events_paginator:DescribeEventsPaginator=client.get_paginator("describe_events")describe_global_clusters_paginator:DescribeGlobalClustersPaginator=client.get_paginator("describe_global_clusters")describe_orderable_db_instance_options_paginator:(DescribeOrderableDBInstanceOptionsPaginator)=client.get_paginator("describe_orderable_db_instance_options")describe_pending_maintenance_actions_paginator:DescribePendingMaintenanceActionsPaginator=(client.get_paginator("describe_pending_maintenance_actions"))Waiters annotationstypes_aiobotocore_docdb.waitermodule contains type annotations for all
waiters.fromaiobotocore.sessionimportget_sessionfromtypes_aiobotocore_docdb.clientimportDocDBClientfromtypes_aiobotocore_docdb.waiterimportDBInstanceAvailableWaiter,DBInstanceDeletedWaitersession=get_session()asyncwithsession.create_client("docdb")asclient:client:DocDBClient# Explicit type annotations are optional here# Types should be correctly discovered by mypy and IDEsdb_instance_available_waiter:DBInstanceAvailableWaiter=client.get_waiter("db_instance_available")db_instance_deleted_waiter:DBInstanceDeletedWaiter=client.get_waiter("db_instance_deleted")Literalstypes_aiobotocore_docdb.literalsmodule contains literals extracted from
shapes that can be used in user code for type checking.Full list ofDocDBLiterals can be found indocs.fromtypes_aiobotocore_docdb.literalsimportApplyMethodTypedefcheck_value(value:ApplyMethodType)->bool:...Type definitionstypes_aiobotocore_docdb.type_defsmodule contains structures and shapes
assembled to typed dictionaries and unions for additional type checking.Full list ofDocDBTypeDefs can be found indocs.fromtypes_aiobotocore_docdb.type_defsimportAddSourceIdentifierToSubscriptionMessageRequestTypeDefdefget_value()->AddSourceIdentifierToSubscriptionMessageRequestTypeDef:return{...}How it worksFully automatedmypy-boto3-buildercarefully
generates type annotations for each service, patiently waiting foraiobotocoreupdates. It delivers drop-in type annotations for you and makes
sure that:All availableaiobotocoreservices are covered.Each public class and method of everyaiobotocoreservice gets valid type
annotations extracted frombotocoreschemas.Type annotations include up-to-date documentation.Link to documentation is provided for every method.Code is processed byblackandisortfor readability.What's newImplemented featuresFully type annotatedboto3,botocore,aiobotocoreandaioboto3librariesmypy,pyright,VSCode,PyCharm,Sublime TextandEmacscompatibilityClient,ServiceResource,Resource,WaiterPaginatortype
annotations for each serviceGeneratedTypeDefsfor each serviceGeneratedLiteralsfor each serviceAuto discovery of types forboto3.clientandboto3.resourcecallsAuto discovery of types forsession.clientandsession.resourcecallsAuto discovery of types forclient.get_waiterandclient.get_paginatorcallsAuto discovery of types forServiceResourceandResourcecollectionsAuto discovery of types foraiobotocore.Session.create_clientcallsLatest changesBuilder changelog can be found inReleases.Versioningtypes-aiobotocore-docdbversion is the same as relatedaiobotocoreversion
and followsPEP 440format.Thank youAllie Fitterforboto3-type-annotations,
this package is based on top of his workblackdevelopers for an awesome formatting
toolTimothy Edmund Crosleyforisortand how flexible it ismypydevelopers for doing all dirty work
for uspyrightteam for the new era of typed
PythonDocumentationAll services type annotations can be found inaiobotocore docsSupport and contributingThis package is auto-generated. Please reports any bugs or request new features
inmypy-boto3-builderrepository.