Type annotations for boto3.ComprehendMedical 1.16.0 service, generated by mypy-boto3-buider 3.2.1
Project description
mypy-boto3-comprehendmedical
Type annotations for boto3.ComprehendMedical 1.16.0 service compatible with VSCode, PyCharm, mypy, pyright and other tools.
Generated by mypy-boto3-buider 3.2.1.
More information can be found on boto3-stubs page.
How to install
Install boto3-stubs
for ComprehendMedical
service.
python -m pip install boto3-stubs[comprehendmedical]
Usage
VSCode
- Install Python extension
- Install Pylance extension
- Set
Pylance
as your Python Language Server - Install
boto-stubs[comprehendmedical]
in your environment:python -m pip install 'boto3-stubs[comprehendmedical]'
Both type checking and auto-complete should work for ComprehendMedical
service.
No explicit type annotations required, write your boto3
code as usual.
PyCharm
- Install
boto-stubs[comprehendmedical]
in your environment:python -m pip install 'boto3-stubs[comprehendmedical]'
Both type checking and auto-complete should work for ComprehendMedical
service.
No explicit type annotations required, write your boto3
code as usual.
Auto-complete can be slow on big projects or if you have a lot of installed boto3-stubs
submodules.
Other IDEs
Not tested, but as long as your IDE support mypy
or pyright
, everything should work.
mypy
- Install
mypy
:python -m pip install mypy
- Install
boto-stubs[comprehendmedical]
in your environment:python -m pip install 'boto3-stubs[comprehendmedical]'
- Run
mypy
as usual
Type checking should work for ComprehendMedical
service.
No explicit type annotations required, write your boto3
code as usual.
pyright
- Install
pyright
:yarn global add pyright
- Install
boto-stubs[comprehendmedical]
in your environment:python -m pip install 'boto3-stubs[comprehendmedical]'
- Optionally, you can install
boto3-stubs
totypings
folder.
Type checking should work for ComprehendMedical
service.
No explicit type annotations required, write your boto3
code as usual.
Explicit type annotations
Client annotations
ComprehendMedicalClient
provides annotations for boto3.client("comprehendmedical")
.
import boto3
from mypy_boto3_comprehendmedical import ComprehendMedicalClient
client: ComprehendMedicalClient = boto3.client("comprehendmedical")
# now client usage is checked by mypy and IDE should provide code auto-complete
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: ComprehendMedicalClient = session.client("comprehendmedical")
Typed dictionations
mypy_boto3_comprehendmedical.type_defs
module contains structures and shapes assembled
to typed dictionaries for additional type checking.
from mypy_boto3_comprehendmedical.type_defs import (
AttributeTypeDef,
ComprehendMedicalAsyncJobFilterTypeDef,
ComprehendMedicalAsyncJobPropertiesTypeDef,
DescribeEntitiesDetectionV2JobResponseTypeDef,
DescribeICD10CMInferenceJobResponseTypeDef,
DescribePHIDetectionJobResponseTypeDef,
DescribeRxNormInferenceJobResponseTypeDef,
DetectEntitiesResponseTypeDef,
DetectEntitiesV2ResponseTypeDef,
DetectPHIResponseTypeDef,
EntityTypeDef,
ICD10CMAttributeTypeDef,
ICD10CMConceptTypeDef,
ICD10CMEntityTypeDef,
ICD10CMTraitTypeDef,
InferICD10CMResponseTypeDef,
InferRxNormResponseTypeDef,
InputDataConfigTypeDef,
ListEntitiesDetectionV2JobsResponseTypeDef,
ListICD10CMInferenceJobsResponseTypeDef,
ListPHIDetectionJobsResponseTypeDef,
ListRxNormInferenceJobsResponseTypeDef,
OutputDataConfigTypeDef,
RxNormAttributeTypeDef,
RxNormConceptTypeDef,
RxNormEntityTypeDef,
RxNormTraitTypeDef,
StartEntitiesDetectionV2JobResponseTypeDef,
StartICD10CMInferenceJobResponseTypeDef,
StartPHIDetectionJobResponseTypeDef,
StartRxNormInferenceJobResponseTypeDef,
StopEntitiesDetectionV2JobResponseTypeDef,
StopICD10CMInferenceJobResponseTypeDef,
StopPHIDetectionJobResponseTypeDef,
StopRxNormInferenceJobResponseTypeDef,
TraitTypeDef,
UnmappedAttributeTypeDef,
)
def get_structure() -> AttributeTypeDef:
return {
...
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for mypy-boto3-comprehendmedical-1.16.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 900e1de5e58652489a1d27f78f971f63570535cb9c7bc9512af2d13d6ca5def4 |
|
MD5 | b9250685fa955c6483a3c2e7464f6a94 |
|
BLAKE2b-256 | 20109de33963ba7e911feea296e45b36df2489ffddef667f495129c371ca2a28 |
Hashes for mypy_boto3_comprehendmedical-1.16.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08f08093a03b081839abab4db4a3b538877d912ec44fc0ee3f80dd8c09dec69b |
|
MD5 | 07cf18d3b1488c945f0e4ed4e59c9ade |
|
BLAKE2b-256 | 30d8feeb0da08f9f87f9f5f33c2e028f4f8008b74e42107c8a3e2a9f7c8770a5 |