Skip to content

Commit be5c121

Browse files
adwk67claude
andcommitted
docs: make the vendored Flask writer doc operator-agnostic
Neutralises the operator-specific wording in config/writer.rs so the file can be kept byte-identical between airflow-operator and superset-operator (which vendors the same writer), making the later move to a shared crate a trivial lift. Comment-only change. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 7a370cf commit be5c121

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

rust/operator-binary/src/config/writer.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
//! Writer for Flask App configurations (Python config files).
22
//!
3-
//! Vendored verbatim from `product_config::flask_app_config_writer` so
4-
//! airflow-operator can drop the `product-config` crate dependency. Applications
5-
//! based on the Flask App Builder (e.g. Apache Airflow, Apache Superset) use
3+
//! Vendored verbatim from `product_config::flask_app_config_writer` so the
4+
//! operator does not depend on the `product-config` crate. Applications based
5+
//! on the Flask App Builder (e.g. Apache Airflow, Apache Superset) use
66
//! configuration files written in Python. This writer only covers top-level
77
//! assignments of a few primitive types and expressions — it is not a general
88
//! Python code generator.
@@ -11,10 +11,10 @@
1111
//! invalid expressions produce invalid configuration files. Config overrides that do
1212
//! not map to a known option are treated as plain expressions.
1313
//!
14-
// TODO: This is vendored, not airflow-specific. superset-operator still depends on
15-
// `product_config::flask_app_config_writer`; this writer is a candidate for a shared
16-
// crate (e.g. operator-rs) so both operators can drop the product-config crate.
17-
// Until such a home exists it is duplicated here, kept identical to the upstream source.
14+
// TODO: This file is vendored identically in airflow-operator and superset-operator;
15+
// it is a candidate for a shared crate (e.g. operator-rs) so the duplication can be
16+
// removed. Until such a home exists it is kept identical in both operators and to the
17+
// upstream source.
1818

1919
use std::{
2020
io::{self, Write},

0 commit comments

Comments
 (0)