Commit 2a4a23d
User
fix: Add None check before OpikLogger instantiation
- Check if OpikLogger is None before calling constructor
- Add type: ignore[misc] for the instantiation
- Ensures mypy passes with all optional dependency scenarios
mypy now reports: Success: no issues found in 16 source files1 parent 9ee00fc commit 2a4a23d
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
288 | | - | |
| 288 | + | |
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
295 | | - | |
| 295 | + | |
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
| |||
0 commit comments