This commit is contained in:
burnettk 2022-10-07 17:45:36 -04:00
parent 368031a5d2
commit 30a786ad7f
1 changed files with 1 additions and 0 deletions

View File

@ -85,6 +85,7 @@ from spiffworkflow_backend.services.user_service import UserService
def _import(name: str, glbls: Dict[str, Any], *args: Any) -> None:
"""_import."""
if name not in glbls:
raise ImportError(f"Import not allowed: {name}", name=name)