Commit d19a966
fix: use absolute import for nl_to_sparql in function_app.py
Relative imports (from .nl_to_sparql) fail in Azure Functions v2
because the api/ directory is not treated as a Python package.
The function app root is added to sys.path, so absolute imports work.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 71451c5 commit d19a966
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments