Commit 892f4ef
Fix log_handler docstring type for consistency
The Copilot reviewer noted that the log_handler parameter docstring
in TaskHubGrpcWorker.__init__ used optional[logging.Handler], which
is not valid typing syntax and was inconsistent with the surrounding
parameters' X | None, optional form (a pre-existing lowercase typo
that the typing-modernization regex didn't catch).
Normalize it to logging.Handler | None, optional to match the style
used for all other parameters in the docstring.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent e55a700 commit 892f4ef
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
445 | | - | |
| 445 | + | |
446 | 446 | | |
447 | 447 | | |
448 | 448 | | |
| |||
0 commit comments