Registry / type-stubs / mypy-boto3-appflow

mypy-boto3-appflow

JSON →
library1.43.23pypypi✓ verified 24d ago

mypy-boto3-appflow provides type annotations for the boto3 Appflow service, enhancing static analysis for Python applications using mypy. It's generated by the `mypy-boto3-builder` project, currently at version 1.42.3, and follows a rapid release cycle to keep pace with boto3 updates.

pip install mypy-boto3-appflow boto3
INSTALL
IMPORT
SIG · MYPY-BOTO3-APPFLOW
M
mypy-boto3-appflow
type-stubspythonv1.43.23
Install
4.0s avg
Import
637ms
Disk
50MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.43.23 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.652s · 52MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 4.0s · import 0.622s · 53MB
50MB installed
● package 50MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AppflowClient
from mypy_boto3_appflow.client import AppflowClient
ListFlowsResponseTypeDef
from mypy_boto3_appflow.type_defs import ListFlowsResponseTypeDef

This quickstart demonstrates how to use `mypy-boto3-appflow` to add type hints to a `boto3` Appflow client. It initializes an Appflow client, calls `list_flows` with type-annotated variables, and prints flow details. Ensure `boto3` is also installed and AWS credentials are configured.

import boto3 from mypy_boto3_appflow.client import AppflowClient from mypy_boto3_appflow.type_defs import ListFlowsResponseTypeDef def get_appflow_flows() -> ListFlowsResponseTypeDef: # mypy-boto3-appflow provides type hints for the boto3 client client: AppflowClient = boto3.client('appflow') response: ListFlowsResponseTypeDef = client.list_flows() for flow in response.get('flows', []): print(f"Flow Name: {flow.get('flowName')}, ARN: {flow.get('flowArn')}") return response if __name__ == '__main__': # This example requires AWS credentials configured (e.g., via ~/.aws/credentials # or environment variables like AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY). # It will attempt to list Appflow flows in the configured region. try: print("Listing Appflow flows...") get_appflow_flows() print("Finished listing Appflow flows.") except Exception as e: print(f"An error occurred: {e}")
Debug
Known issues
breakingSupport for Python 3.8 was removed in `mypy-boto3-builder` version 8.12.0 (which generates `mypy-boto3-appflow` versions 1.42.x onwards). Packages now require Python 3.9 or newer.
fix
Upgrade your Python environment to 3.9 or newer if you are using recent versions of `mypy-boto3-appflow`.
affects: >=1.42.0
breakingTypeDef naming conventions changed in `mypy-boto3-builder` version 8.9.0. This might affect code that explicitly imports or references TypeDefs with previously conflicting or redundant naming patterns (e.g., `CreateDistributionRequestRequestTypeDef` becoming `CreateDistributionRequestTypeDef`).
fix
Review your codebase for explicit TypeDef imports and adjust names according to the updated conventions. Common changes include shorter names for packed method arguments and `Extra` postfix moving to the end of the name.
affects: >=1.38.0 (corresponding to builder v8.9.0)
gotchaThis package (`mypy-boto3-appflow`) provides *only* type stubs for the Appflow service. It does not include the actual runtime `boto3` library. You must install `boto3` separately for your code to function.
fix
Always install `boto3` alongside `mypy-boto3-appflow` (e.g., `pip install boto3 mypy-boto3-appflow`).
affects: All versions
gotchaYour `boto3` environment must be configured with a default AWS region, either through environment variables (AWS_REGION, AWS_DEFAULT_REGION), shared configuration files, or by explicitly passing it to `boto3.client`/`Session` when initializing.
fix
Ensure your AWS environment or `boto3` client initialization includes a specified region (e.g., set `AWS_REGION` environment variable or pass `region_name='us-east-1'` to `boto3.client`).
affects: All versions
gotchaYour Boto3 client requires an AWS region to be specified. This can be done via environment variables (AWS_DEFAULT_REGION or AWS_REGION), AWS config files, or by passing the 'region_name' argument to the client constructor. If no region is specified, Boto3 operations will fail.
fix
Ensure an AWS region is configured for your Boto3 client by setting environment variables, configuring AWS CLI/SDK, or explicitly passing 'region_name' when creating Boto3 clients.
affects: All versions
Upgrade
Version history
1.43.23latest on PyPI · released Jun 4, 2026
Audit
Dependencies
boto3requiredProvides the runtime AWS SDK that these type stubs complement. This package only adds type hints, not functionality.
Agent activity
30 hits · last 30 days
node
26
OpenAI (training)
1
Resources
mypy-boto3-appflow — pip install mypy-boto3-appflow · libregistry