samuel-geraldo commented on issue #10867: URL: https://github.com/apache/airflow/issues/10867#issuecomment-7034526611
Hi, and thanks for the earlier discussion. The CLI part landed in #72484, so I'd like to pick up the REST API part (`GET /api/v2/connections` and `/variables`), which still returns database rows only with no hint that the list may be incomplete. Proposal: when an `AIRFLOW_CONN_*` / `AIRFLOW_VAR_*` environment variable or a custom secrets backend is configured, return a response header (name open to suggestions, e.g. `X-Airflow-List-Incomplete`), using the same check as the CLI. This avoids changing the response schema and the generated clients. If you'd prefer a new response field or a docs-only note, I'm happy to do that instead. @rino0601, you offered to pick this up in August. Are you working on it? @dheerenmohta, you mentioned a possible follow-up for the REST API/UI in #72484. Have you started on that? Glad to coordinate or leave it to either of you. I'll test the change before opening a PR. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
