Skip to main content

Apache Airflow Mypy plugins

Project description

Apache Airflow Mypy Plugins

This package provides Mypy plugins for Apache Airflow to enhance type checking capabilities.

Installation

pip install apache-airflow-mypy

Usage

Add the plugins to your mypy.ini or pyproject.toml configuration:

Using mypy.ini

[mypy]
plugins = airflow_mypy.plugins.decorators, airflow_mypy.plugins.outputs

Using pyproject.toml

[tool.mypy]
plugins = ["airflow_mypy.plugins.decorators", "airflow_mypy.plugins.outputs"]

Available Plugins

decorators Plugin

Provides type checking support for Airflow decorators that modify function signatures.

outputs Plugin

Handles type checking for operator outputs and XComArg types, allowing proper type inference when passing task outputs between tasks.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

apache_airflow_mypy-0.1.0rc2.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

apache_airflow_mypy-0.1.0rc2-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file apache_airflow_mypy-0.1.0rc2.tar.gz.

File metadata

  • Download URL: apache_airflow_mypy-0.1.0rc2.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for apache_airflow_mypy-0.1.0rc2.tar.gz
Algorithm Hash digest
SHA256 4933088a40915b77bccf14d06faabe8b65352cb74c8f05ae68fff5a8b8ba3f19
MD5 7805ecd2210a4ab6c94f680bc559ee2e
BLAKE2b-256 90d20d772ddfb1c931575b8d54c49fa2d1a10c15371a0f45d2fb970a1b9de2e9

See more details on using hashes here.

File details

Details for the file apache_airflow_mypy-0.1.0rc2-py3-none-any.whl.

File metadata

File hashes

Hashes for apache_airflow_mypy-0.1.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 ba88651ebc12ef8c4f18f2a14bcc117b3a3bcb09249c534a112054ff9f2f5303
MD5 d02a16d6b5607ac0ee52d4ac4cda3b2a
BLAKE2b-256 785f8b994013a1693e550a8ade724cc19dfd794e661c9afa9a2ee562fb245863

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page