mirror of
https://github.com/apache/airflow.git
synced 2026-11-04 16:01:19 +00:00
* Java SDK: Describe native Java Dags without reference to Python A Dag authored entirely in Java has no Python in the picture, so teaching its edge verbs as "Java's spelling of >> and <<" asks the reader to know a language the feature does not involve. The mixed-language surface keeps its Python references, because there the Python Dag file is part of what the reader has to understand. * Java SDK: Generate Dag and task configuration from the serialization schema A Java-authored Dag could carry no schedule, retries, tags or any other Airflow setting, so it could be defined but not configured. Hand-listing those settings in Java would drift from the Python semantics they mirror, so they are recorded and validated against Airflow's own Dag serialization schema instead, and take effect once the runtime answers parse requests. The `Builder` annotations are generated from a copy of that schema vendored at java-sdk/sdk/schema/dag-schema.json, so a source release builds without the monorepo; a prek hook keeps the copy in sync.