Commit dba5766
Nico Thomaier
chore(lint): import ClientResult to satisfy ruff F821 in ClientQuery
Ruff flagged F821 (undefined name) for "ClientResult" used in the TypeVar
bound in office365/runtime/queries/client_query.py. While the forward
reference works at runtime, static analysis requires the symbol to be
imported.
- Add explicit import: `from office365.runtime.client_result import ClientResult`
- No runtime behavior change
- Improves type checking/IDE hints and lets pre-commit (ruff) pass1 parent 2d9053f commit dba5766
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
0 commit comments