phanikumv commented on code in PR #70190:
URL: https://github.com/apache/airflow/pull/70190#discussion_r3629765571


##########
dev/registry/registry_tools/types.py:
##########
@@ -139,11 +181,19 @@
 
 # Class-level sections used by extract_parameters.py (subset of flat that
 # list full class paths rather than simple entries).
+#
+# "plugins" and "dialects" are also flat/class-path sections, but each entry 
is a
+# dict (plugin-class / dialect-class-name) rather than a bare string, so they 
are
+# handled by their own loops in extract_parameters.py instead of this generic 
one.
 CLASS_LEVEL_SECTIONS: dict[str, str] = {
     "notifications": "notifier",
     "secrets-backends": "secret",
     "logging": "logging",
     "executors": "executor",
+    "extra-links": "extra_link",

Review Comment:
   `extract_versions.py` doesn't read these `CLASS_LEVEL_SECTIONS` — it has its 
own hardcoded `FQCN_SECTIONS` (line 304) that still stops at 
notifications/secrets/logging/executors. So backfilled version pages won't show 
any of the new categories, only latest pages will. Was that intentional? 
   
   It'd be nice if `extract_versions.py` picked these up from here the way it 
already does with `MODULE_LEVEL_SECTIONS`.
   



-- 
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]

Reply via email to