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.0rc1.tar.gz (9.2 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.0rc1-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: apache_airflow_mypy-0.1.0rc1.tar.gz
  • Upload date:
  • Size: 9.2 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.0rc1.tar.gz
Algorithm Hash digest
SHA256 6f8dc829ac2da7cbc375705ea7a554573e827eca2960aeb240aa10db6212a9fc
MD5 7aec8eca7bd1ced3cdfe611c57c4d94b
BLAKE2b-256 c690b6607c5ea463e75c771dfe2ce48fa27afc44c4cd0940c58faf0f19446521

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for apache_airflow_mypy-0.1.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 8ffb22f7429073de8bb3f88708a327d82623b1852f69679743b04a7734cfd8c1
MD5 da44598f789eed92597c10517edaee3e
BLAKE2b-256 dfaf5eb27f42b31bba18f2e509f02b99b6e1822e738d89d59eb082f4a3fdc990

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