Type annotations for boto3.Glue 1.13.25 service, generated by mypy-boto3-buider 2.0.2
Project description
mypy-boto3-glue
Type annotations for boto3.Glue 1.13.25 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.25.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc15458e801289ac0d93835ffd3eaca8e239cd0ced375510b5865f03c86f66fe |
|
MD5 | 527a11820780924e5d6ce654fd3b689c |
|
BLAKE2b-256 | e051724fd9f57211411c4ba6dc6a4ce909122091a3b10bf61f99c0d075096fb6 |
Hashes for mypy_boto3_glue-1.13.25.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86e6556f8fae86ab6a4a3ce53633ffdeac4daf2b9fbde5a7099f4436c60bff29 |
|
MD5 | 63e68f63c0fad86a355c0e1f2807f8ca |
|
BLAKE2b-256 | ae893300344a7711bf7f6e316b3cf6a5b3bb7627a35093b225b200d26f264dd1 |