Type annotations for boto3.LakeFormation 1.13.25 service, generated by mypy-boto3-buider 2.0.2
Project description
mypy-boto3-lakeformation
Type annotations for boto3.LakeFormation 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 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.25.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8eb7b8976ecce7eeb37b7ee81968bd46105d25eadb2df9abc9e5f2322de0cffe |
|
MD5 | 21fccb2a1891be6f91cac0d720d09715 |
|
BLAKE2b-256 | 1e03f53221365a0654dc40afe74b0b2a0ce6d9281fc54a2ff73674d9900c0c56 |
Hashes for mypy_boto3_lakeformation-1.13.25.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1fc86dd7b450327cd6f06be428d793afe9c428c73c13495f099d574230e34bf |
|
MD5 | 344382a442f167ac7072dd29a95b0744 |
|
BLAKE2b-256 | 76e91f1e853483ac82ffad3b39513f4afa0af285dffa33bf9b2b307daf359f9d |