Type annotations for boto3.LakeFormation 1.13.26 service, generated by mypy-boto3-buider 2.0.3
Project description
mypy-boto3-lakeformation
Type annotations for boto3.LakeFormation 1.13.26 service compatible with mypy, VSCode, PyCharm and other tools.
Generated by mypy-boto3-buider 2.0.3.
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 LakeFormation
service.
python -m pip install boto3-stubs[lakeformation]
# update installed packages index for automated type discovery
python -m mypy_boto3
Use boto3
with mypy_boto3_lakeformation
in your project and enjoy type checking and auto-complete.
import boto3
from mypy_boto3_lakeformation import LakeFormationClient
# Now mypy can check if your code is valid.
client: LakeFormationClient = boto3.client("lakeformation")
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: LakeFormationClient = session.client("lakeformation")
Automated type discovery
mypy_boto3
package can generate index for mypy_boto3_lakeformation
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_lakeformation as lakeformation
from mypy_boto3_lakeformation import LakeFormationClient
# with these
from mypy_boto3 import lakeformation
from mypy_boto3.lakeformation import LakeFormationClient
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-lakeformation-1.13.26.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | be62d40d559e0d49a23ce988b4e2724664bcdbc69d7a2c28e7a0b47ba6fe959f |
|
MD5 | f854e29b240d78fe3b32df0eef253a93 |
|
BLAKE2b-256 | 3881ccbd381547f2c736dce69b811f81bf94eac644e2ef6a8dc0a7e82e324661 |
Hashes for mypy_boto3_lakeformation-1.13.26.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8fb65414ad4698a294b044987cf2405eeec42dc4a738856c9c73e45814a7b72 |
|
MD5 | 8f93327cff1fb40d59cb7613547ac73d |
|
BLAKE2b-256 | f3417730e9ed3325a12f4beb8f9711ca7fd32c102dfb0ae66ed83dc26ff4925c |