Repository navigation
Commit dda62d3
fix(examples): Handle import outside Flask app context
Wrap discover_datasets() call in try/except to gracefully handle
imports outside of an active Flask application context (e.g., in
tests or tooling).
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent d4dbd1f commit dda62d3
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
170 | 174 | | |
171 | 175 | | |
172 | 176 | | |
| |||
0 commit comments