villebro commented on code in PR #38360:
URL: https://github.com/apache/superset/pull/38360#discussion_r2877259730


##########
docs/developer_docs/extensions/development.md:
##########
@@ -100,15 +100,36 @@ The `extension.json` file contains the metadata necessary 
for the host applicati
   "displayName": "Dataset References",
   "version": "1.0.0",
   "license": "Apache-2.0",
-  "backend": {
-    "entryPoints": ["superset_extensions.dataset_references.entrypoint"],
-    "files": ["backend/src/superset_extensions/dataset_references/**/*.py"]
-  },
   "permissions": []
 }
 ```
 
-The `backend` section specifies Python entry points to load eagerly when the 
extension starts, and glob patterns for source files to include in the bundle.
+### Convention-Based Entry Points
+
+Extensions use standardized entry point locations:
+
+- **Backend**: 
`backend/src/superset_extensions/{publisher}/{name}/entrypoint.py`

Review Comment:
   This convention is already part of the framework. Without this namespacing, 
an extension with the publisher `pandas` would be able to override 
functionality in the `pandas` dependency. This just ensures that all extensions 
are collision free, both among external libraries, but also other extensions.



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to