Type annotations for boto3.Glue 1.13.26 service, generated by mypy-boto3-buider 2.0.2
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.2.
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]
# update installed packages index for automated type discovery
python -m mypy_boto3
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")
Automated type discovery
mypy_boto3
package can generate index for mypy_boto3_glue
and other installed services.
# Run this command when you add or remove service packages
python -m mypy_boto3
Generated index provides overloads for boto3.client
and boto3.service
,
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 carefullyVSCode
does not currently support function overloads
Also, generated index allows you to import types from mypy_boto3
:
# you can replace imports
import mypy_boto3_glue as glue
from mypy_boto3_glue import GlueClient
# with these
from mypy_boto3 import glue
from mypy_boto3.glue import GlueClient
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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f110ca356ee653ccc4fc19a49fe2728c9da6f2b821332f9af7062ba7505bdd7a |
|
MD5 | 848426094ece6a4e741840044a1f9e7b |
|
BLAKE2b-256 | 8c2e4ce77fda4cd155a22c653d1d59bec86e4668fa959aafca5ec06530b20fcd |
Hashes for mypy_boto3_glue-1.13.26.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6789fa59a1f5d7f3ee1b498440041c2682b9e5fb14e4d59424f3bd5a8bce6b3 |
|
MD5 | 69b035c37b7ba84376ed7a432267e16c |
|
BLAKE2b-256 | 45a319ddf2d45e00fc36e65b91cb1972a6344820a75309dec8517ee21236b058 |