refactor(extensions): add Pydantic validation for extension configuration (#36767)

This commit is contained in:
Michael S. Molina
2025-12-19 13:33:10 -03:00
committed by GitHub
parent fb6f3fbb4d
commit 5920cb57ea
8 changed files with 517 additions and 116 deletions

View File

@@ -564,9 +564,9 @@ class SupersetAppInitializer: # pylint: disable=too-many-public-methods
if backend_files := extension.backend:
install_in_memory_importer(backend_files)
backend = extension.manifest.get("backend")
backend = extension.manifest.backend
if backend and (entrypoints := backend.get("entryPoints")):
if backend and (entrypoints := backend.entryPoints):
for entrypoint in entrypoints:
try:
eager_import(entrypoint)