Type annotations for boto3.Glue 1.16.38 service, generated by mypy-boto3-buider 4.2.0
Project description
mypy-boto3-glue
Type annotations for boto3.Glue 1.16.38 service compatible with VSCode, PyCharm, Emacs, Sublime Text, mypy, pyright and other tools.
Generated by mypy-boto3-buider 4.2.0.
More information can be found on boto3-stubs page.
See how it helps to find and fix potential bugs:
How to install
Install boto3-stubs
for Glue
service.
python -m pip install boto3-stubs[glue]
Usage
VSCode
- Install Python extension
- Install Pylance extension
- Set
Pylance
as your Python Language Server - Install
boto-stubs[glue]
in your environment:python -m pip install 'boto3-stubs[glue]'
Both type checking and auto-complete should work for Glue
service.
No explicit type annotations required, write your boto3
code as usual.
PyCharm
- Install
boto-stubs[glue]
in your environment:python -m pip install 'boto3-stubs[glue]'
Both type checking and auto-complete should work for Glue
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[glue]
in your environment:python -m pip install 'boto3-stubs[glue]'
- Run
mypy
as usual
Type checking should work for Glue
service.
No explicit type annotations required, write your boto3
code as usual.
pyright
- Install
pyright
:yarn global add pyright
- Install
boto-stubs[glue]
in your environment:python -m pip install 'boto3-stubs[glue]'
- Optionally, you can install
boto3-stubs
totypings
folder.
Type checking should work for Glue
service.
No explicit type annotations required, write your boto3
code as usual.
Explicit type annotations
Client annotations
GlueClient
provides annotations for boto3.client("glue")
.
import boto3
from mypy_boto3_glue import GlueClient
client: GlueClient = boto3.client("glue")
# 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: GlueClient = session.client("glue")
Paginators annotations
mypy_boto3_glue.paginator
module contains type annotations for all paginators.
from mypy_boto3_glue import GlueClient
from mypy_boto3_glue.paginator import (
GetClassifiersPaginator,
GetConnectionsPaginator,
GetCrawlerMetricsPaginator,
GetCrawlersPaginator,
GetDatabasesPaginator,
GetDevEndpointsPaginator,
GetJobRunsPaginator,
GetJobsPaginator,
GetPartitionIndexesPaginator,
GetPartitionsPaginator,
GetResourcePoliciesPaginator,
GetSecurityConfigurationsPaginator,
GetTablesPaginator,
GetTableVersionsPaginator,
GetTriggersPaginator,
GetUserDefinedFunctionsPaginator,
ListRegistriesPaginator,
ListSchemasPaginator,
ListSchemaVersionsPaginator,
)
client: GlueClient = boto3.client("glue")
# Explicit type annotations are optional here
# Type should be correctly discovered by mypy and IDEs
# VSCode requires explicit type annotations
get_classifiers_paginator: GetClassifiersPaginator = client.get_paginator("get_classifiers")
get_connections_paginator: GetConnectionsPaginator = client.get_paginator("get_connections")
get_crawler_metrics_paginator: GetCrawlerMetricsPaginator = client.get_paginator("get_crawler_metrics")
get_crawlers_paginator: GetCrawlersPaginator = client.get_paginator("get_crawlers")
get_databases_paginator: GetDatabasesPaginator = client.get_paginator("get_databases")
get_dev_endpoints_paginator: GetDevEndpointsPaginator = client.get_paginator("get_dev_endpoints")
get_job_runs_paginator: GetJobRunsPaginator = client.get_paginator("get_job_runs")
get_jobs_paginator: GetJobsPaginator = client.get_paginator("get_jobs")
get_partition_indexes_paginator: GetPartitionIndexesPaginator = client.get_paginator("get_partition_indexes")
get_partitions_paginator: GetPartitionsPaginator = client.get_paginator("get_partitions")
get_resource_policies_paginator: GetResourcePoliciesPaginator = client.get_paginator("get_resource_policies")
get_security_configurations_paginator: GetSecurityConfigurationsPaginator = client.get_paginator("get_security_configurations")
get_table_versions_paginator: GetTableVersionsPaginator = client.get_paginator("get_table_versions")
get_tables_paginator: GetTablesPaginator = client.get_paginator("get_tables")
get_triggers_paginator: GetTriggersPaginator = client.get_paginator("get_triggers")
get_user_defined_functions_paginator: GetUserDefinedFunctionsPaginator = client.get_paginator("get_user_defined_functions")
list_registries_paginator: ListRegistriesPaginator = client.get_paginator("list_registries")
list_schema_versions_paginator: ListSchemaVersionsPaginator = client.get_paginator("list_schema_versions")
list_schemas_paginator: ListSchemasPaginator = client.get_paginator("list_schemas")
Typed dictionations
mypy_boto3_glue.type_defs
module contains structures and shapes assembled
to typed dictionaries for additional type checking.
from mypy_boto3_glue.type_defs import (
ActionTypeDef,
BackfillErrorTypeDef,
BatchCreatePartitionResponseTypeDef,
BatchDeleteConnectionResponseTypeDef,
BatchDeletePartitionResponseTypeDef,
BatchDeleteTableResponseTypeDef,
BatchDeleteTableVersionResponseTypeDef,
BatchGetCrawlersResponseTypeDef,
BatchGetDevEndpointsResponseTypeDef,
BatchGetJobsResponseTypeDef,
BatchGetPartitionResponseTypeDef,
BatchGetTriggersResponseTypeDef,
BatchGetWorkflowsResponseTypeDef,
BatchStopJobRunErrorTypeDef,
BatchStopJobRunResponseTypeDef,
BatchStopJobRunSuccessfulSubmissionTypeDef,
BatchUpdatePartitionFailureEntryTypeDef,
BatchUpdatePartitionRequestEntryTypeDef,
BatchUpdatePartitionResponseTypeDef,
BinaryColumnStatisticsDataTypeDef,
BooleanColumnStatisticsDataTypeDef,
CancelMLTaskRunResponseTypeDef,
CatalogEntryTypeDef,
CatalogImportStatusTypeDef,
CatalogTargetTypeDef,
CheckSchemaVersionValidityResponseTypeDef,
ClassifierTypeDef,
CloudWatchEncryptionTypeDef,
CodeGenEdgeTypeDef,
CodeGenNodeArgTypeDef,
CodeGenNodeTypeDef,
ColumnErrorTypeDef,
ColumnStatisticsDataTypeDef,
ColumnStatisticsErrorTypeDef,
ColumnStatisticsTypeDef,
ColumnTypeDef,
ConditionTypeDef,
ConfusionMatrixTypeDef,
ConnectionInputTypeDef,
ConnectionPasswordEncryptionTypeDef,
ConnectionsListTypeDef,
ConnectionTypeDef,
CrawlerMetricsTypeDef,
CrawlerNodeDetailsTypeDef,
CrawlerTargetsTypeDef,
CrawlerTypeDef,
CrawlTypeDef,
CreateCsvClassifierRequestTypeDef,
CreateDevEndpointResponseTypeDef,
CreateGrokClassifierRequestTypeDef,
CreateJobResponseTypeDef,
CreateJsonClassifierRequestTypeDef,
CreateMLTransformResponseTypeDef,
CreateRegistryResponseTypeDef,
CreateSchemaResponseTypeDef,
CreateScriptResponseTypeDef,
CreateSecurityConfigurationResponseTypeDef,
CreateTriggerResponseTypeDef,
CreateWorkflowResponseTypeDef,
CreateXMLClassifierRequestTypeDef,
CsvClassifierTypeDef,
DatabaseIdentifierTypeDef,
DatabaseInputTypeDef,
DatabaseTypeDef,
DataCatalogEncryptionSettingsTypeDef,
DataLakePrincipalTypeDef,
DateColumnStatisticsDataTypeDef,
DecimalColumnStatisticsDataTypeDef,
DecimalNumberTypeDef,
DeleteJobResponseTypeDef,
DeleteMLTransformResponseTypeDef,
DeleteRegistryResponseTypeDef,
DeleteSchemaResponseTypeDef,
DeleteSchemaVersionsResponseTypeDef,
DeleteTriggerResponseTypeDef,
DeleteWorkflowResponseTypeDef,
DevEndpointCustomLibrariesTypeDef,
DevEndpointTypeDef,
DoubleColumnStatisticsDataTypeDef,
DynamoDBTargetTypeDef,
EdgeTypeDef,
EncryptionAtRestTypeDef,
EncryptionConfigurationTypeDef,
ErrorDetailsTypeDef,
ErrorDetailTypeDef,
EvaluationMetricsTypeDef,
ExecutionPropertyTypeDef,
ExportLabelsTaskRunPropertiesTypeDef,
FindMatchesMetricsTypeDef,
FindMatchesParametersTypeDef,
FindMatchesTaskRunPropertiesTypeDef,
GetCatalogImportStatusResponseTypeDef,
GetClassifierResponseTypeDef,
GetClassifiersResponseTypeDef,
GetColumnStatisticsForPartitionResponseTypeDef,
GetColumnStatisticsForTableResponseTypeDef,
GetConnectionResponseTypeDef,
GetConnectionsFilterTypeDef,
GetConnectionsResponseTypeDef,
GetCrawlerMetricsResponseTypeDef,
GetCrawlerResponseTypeDef,
GetCrawlersResponseTypeDef,
GetDatabaseResponseTypeDef,
GetDatabasesResponseTypeDef,
GetDataCatalogEncryptionSettingsResponseTypeDef,
GetDataflowGraphResponseTypeDef,
GetDevEndpointResponseTypeDef,
GetDevEndpointsResponseTypeDef,
GetJobBookmarkResponseTypeDef,
GetJobResponseTypeDef,
GetJobRunResponseTypeDef,
GetJobRunsResponseTypeDef,
GetJobsResponseTypeDef,
GetMappingResponseTypeDef,
GetMLTaskRunResponseTypeDef,
GetMLTaskRunsResponseTypeDef,
GetMLTransformResponseTypeDef,
GetMLTransformsResponseTypeDef,
GetPartitionIndexesResponseTypeDef,
GetPartitionResponseTypeDef,
GetPartitionsResponseTypeDef,
GetPlanResponseTypeDef,
GetRegistryResponseTypeDef,
GetResourcePoliciesResponseTypeDef,
GetResourcePolicyResponseTypeDef,
GetSchemaByDefinitionResponseTypeDef,
GetSchemaResponseTypeDef,
GetSchemaVersionResponseTypeDef,
GetSchemaVersionsDiffResponseTypeDef,
GetSecurityConfigurationResponseTypeDef,
GetSecurityConfigurationsResponseTypeDef,
GetTableResponseTypeDef,
GetTablesResponseTypeDef,
GetTableVersionResponseTypeDef,
GetTableVersionsResponseTypeDef,
GetTagsResponseTypeDef,
GetTriggerResponseTypeDef,
GetTriggersResponseTypeDef,
GetUserDefinedFunctionResponseTypeDef,
GetUserDefinedFunctionsResponseTypeDef,
GetWorkflowResponseTypeDef,
GetWorkflowRunPropertiesResponseTypeDef,
GetWorkflowRunResponseTypeDef,
GetWorkflowRunsResponseTypeDef,
GluePolicyTypeDef,
GlueTableTypeDef,
GrokClassifierTypeDef,
ImportLabelsTaskRunPropertiesTypeDef,
JdbcTargetTypeDef,
JobBookmarkEntryTypeDef,
JobBookmarksEncryptionTypeDef,
JobCommandTypeDef,
JobNodeDetailsTypeDef,
JobRunTypeDef,
JobTypeDef,
JobUpdateTypeDef,
JsonClassifierTypeDef,
KeySchemaElementTypeDef,
LabelingSetGenerationTaskRunPropertiesTypeDef,
LastCrawlInfoTypeDef,
LineageConfigurationTypeDef,
ListCrawlersResponseTypeDef,
ListDevEndpointsResponseTypeDef,
ListJobsResponseTypeDef,
ListMLTransformsResponseTypeDef,
ListRegistriesResponseTypeDef,
ListSchemasResponseTypeDef,
ListSchemaVersionsResponseTypeDef,
ListTriggersResponseTypeDef,
ListWorkflowsResponseTypeDef,
LocationTypeDef,
LongColumnStatisticsDataTypeDef,
MappingEntryTypeDef,
MetadataInfoTypeDef,
MetadataKeyValuePairTypeDef,
MLTransformTypeDef,
MLUserDataEncryptionTypeDef,
MongoDBTargetTypeDef,
NodeTypeDef,
NotificationPropertyTypeDef,
OrderTypeDef,
PaginatorConfigTypeDef,
PartitionErrorTypeDef,
PartitionIndexDescriptorTypeDef,
PartitionIndexTypeDef,
PartitionInputTypeDef,
PartitionTypeDef,
PartitionValueListTypeDef,
PhysicalConnectionRequirementsTypeDef,
PredecessorTypeDef,
PredicateTypeDef,
PrincipalPermissionsTypeDef,
PropertyPredicateTypeDef,
PutResourcePolicyResponseTypeDef,
PutSchemaVersionMetadataResponseTypeDef,
QuerySchemaVersionMetadataResponseTypeDef,
RecrawlPolicyTypeDef,
RegisterSchemaVersionResponseTypeDef,
RegistryIdTypeDef,
RegistryListItemTypeDef,
RemoveSchemaVersionMetadataResponseTypeDef,
ResetJobBookmarkResponseTypeDef,
ResourceUriTypeDef,
ResumeWorkflowRunResponseTypeDef,
S3EncryptionTypeDef,
S3TargetTypeDef,
ScheduleTypeDef,
SchemaChangePolicyTypeDef,
SchemaColumnTypeDef,
SchemaIdTypeDef,
SchemaListItemTypeDef,
SchemaReferenceTypeDef,
SchemaVersionErrorItemTypeDef,
SchemaVersionListItemTypeDef,
SchemaVersionNumberTypeDef,
SearchTablesResponseTypeDef,
SecurityConfigurationTypeDef,
SegmentTypeDef,
SerDeInfoTypeDef,
SkewedInfoTypeDef,
SortCriterionTypeDef,
StartExportLabelsTaskRunResponseTypeDef,
StartImportLabelsTaskRunResponseTypeDef,
StartJobRunResponseTypeDef,
StartMLEvaluationTaskRunResponseTypeDef,
StartMLLabelingSetGenerationTaskRunResponseTypeDef,
StartTriggerResponseTypeDef,
StartWorkflowRunResponseTypeDef,
StopTriggerResponseTypeDef,
StorageDescriptorTypeDef,
StringColumnStatisticsDataTypeDef,
TableErrorTypeDef,
TableIdentifierTypeDef,
TableInputTypeDef,
TableTypeDef,
TableVersionErrorTypeDef,
TableVersionTypeDef,
TaskRunFilterCriteriaTypeDef,
TaskRunPropertiesTypeDef,
TaskRunSortCriteriaTypeDef,
TaskRunTypeDef,
TransformEncryptionTypeDef,
TransformFilterCriteriaTypeDef,
TransformParametersTypeDef,
TransformSortCriteriaTypeDef,
TriggerNodeDetailsTypeDef,
TriggerTypeDef,
TriggerUpdateTypeDef,
UpdateColumnStatisticsForPartitionResponseTypeDef,
UpdateColumnStatisticsForTableResponseTypeDef,
UpdateCsvClassifierRequestTypeDef,
UpdateGrokClassifierRequestTypeDef,
UpdateJobResponseTypeDef,
UpdateJsonClassifierRequestTypeDef,
UpdateMLTransformResponseTypeDef,
UpdateRegistryResponseTypeDef,
UpdateSchemaResponseTypeDef,
UpdateTriggerResponseTypeDef,
UpdateWorkflowResponseTypeDef,
UpdateXMLClassifierRequestTypeDef,
UserDefinedFunctionInputTypeDef,
UserDefinedFunctionTypeDef,
WorkflowGraphTypeDef,
WorkflowRunStatisticsTypeDef,
WorkflowRunTypeDef,
WorkflowTypeDef,
XMLClassifierTypeDef,
)
def get_structure() -> ActionTypeDef:
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-glue-1.16.38.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a262675a13fb3db906a90e95dc8fbe0acfd771909e990b766d7296808f98e568 |
|
MD5 | 9ef64c8f902e8191559bb42a3baf2852 |
|
BLAKE2b-256 | c020c154440e2ad3fdaa5b643c53a78a093eb3e1c8432fdc9ef5dc5bee17bfd0 |
Hashes for mypy_boto3_glue-1.16.38.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 191424f610599ca13b894466d402c36f42659afbbe517c4b3a54ae416a511967 |
|
MD5 | 1b318a3a3952175d12fe9bb61c3b6c39 |
|
BLAKE2b-256 | cc6bbce87b95b344616979ed96f44e403103af1854c17576edd880e7dd386e5d |