Type annotations for boto3.Glue 1.13.26 service, generated by mypy-boto3-buider 2.0.4
Project description
mypy-boto3-glue
Type annotations for boto3.Glue 1.13.26 service compatible with mypy, VSCode, PyCharm and other tools.
Generated by mypy-boto3-buider 2.0.4.
More information can be found on boto3-stubs page.
How to use
Make sure you have mypy installed and activated in your IDE.
Install boto3-stubs
for Glue
service.
python -m pip install boto3-stubs[glue]
Use boto3
with mypy_boto3_glue
in your project and enjoy type checking and auto-complete.
import boto3
from mypy_boto3_glue import GlueClient
# Now mypy can check if your code is valid.
client: GlueClient = boto3.client("glue")
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: GlueClient = session.client("glue")
# Annotated paginators are included as well
import mypy_boto3_glue.paginator as glue_paginators
get_classifiers_paginator: glue_paginators.GetClassifiersPaginator = client.get_paginator("get_classifiers")
get_connections_paginator: glue_paginators.GetConnectionsPaginator = client.get_paginator("get_connections")
get_crawler_metrics_paginator: glue_paginators.GetCrawlerMetricsPaginator = client.get_paginator("get_crawler_metrics")
get_crawlers_paginator: glue_paginators.GetCrawlersPaginator = client.get_paginator("get_crawlers")
get_databases_paginator: glue_paginators.GetDatabasesPaginator = client.get_paginator("get_databases")
get_dev_endpoints_paginator: glue_paginators.GetDevEndpointsPaginator = client.get_paginator("get_dev_endpoints")
get_job_runs_paginator: glue_paginators.GetJobRunsPaginator = client.get_paginator("get_job_runs")
get_jobs_paginator: glue_paginators.GetJobsPaginator = client.get_paginator("get_jobs")
get_partitions_paginator: glue_paginators.GetPartitionsPaginator = client.get_paginator("get_partitions")
get_security_configurations_paginator: glue_paginators.GetSecurityConfigurationsPaginator = client.get_paginator("get_security_configurations")
get_table_versions_paginator: glue_paginators.GetTableVersionsPaginator = client.get_paginator("get_table_versions")
get_tables_paginator: glue_paginators.GetTablesPaginator = client.get_paginator("get_tables")
get_triggers_paginator: glue_paginators.GetTriggersPaginator = client.get_paginator("get_triggers")
get_user_defined_functions_paginator: glue_paginators.GetUserDefinedFunctionsPaginator = client.get_paginator("get_user_defined_functions")
Dynamic type annotations
mypy_boto3
command generates boto3.client/resource
type annotations for
mypy_boto3_glue
and other installed services.
# Run this command after you add or remove service packages
python -m mypy_boto3
Generated type annotations provide overloads for boto3.client
and boto3.resource
,
boto3.Session.client
and boto3.Session.resource
functions,
so explicit type annotations are not needed.
mypy
supports function overloads as expectedPyCharm
also supports function overloads, but consumes a lot of RAM, use carefully if you have many services installedVSCode
does not currently support function overloads, use explicit type annotations
import boto3
# Type is discovered correctly by mypy and PyCharm
# VSCode still needs explicit type annotations
client = boto3.client("glue")
session_client = boto3.Session().client("glue")
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-glue-1.13.26.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79a3c839758b710d1394f96db99f8a6a2d643d6ae0ab54999c49d1c9efd95051 |
|
MD5 | e9965e0475d93a15e8607b56ef610532 |
|
BLAKE2b-256 | a2051d3036b850f9db95f9cabe9bc329076d2dc0f7aea816e7eaaa51d29146e3 |
Hashes for mypy_boto3_glue-1.13.26.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c45f87c0e9b51677b381e31f4d79d90834d98d411b08dd17a29118facfab6eb |
|
MD5 | fe4e7ffaa511acb20d35b14deb2eb402 |
|
BLAKE2b-256 | e34173c937695c8a9378c0f3b01e72faeae28062a7e3de0136d7d68abfade110 |