mirror of
https://github.com/openai/harmony.git
synced 2025-08-27 13:17:11 -04:00
Add comment for # pragma: no branch
about TYPE_CHECKING
This commit is contained in:
parent
cc2a2ce2bf
commit
5c5c9ba367
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ if not TYPE_CHECKING:
|
|||
_PyHarmonyEncoding = _Stub()
|
||||
_PyStreamableParser = _Stub()
|
||||
_HarmonyError = RuntimeError
|
||||
else: # pragma: no branch
|
||||
else: # pragma: no branch - TYPE_CHECKING is always False at runtime
|
||||
from .openai_harmony import (
|
||||
HarmonyError as HarmonyError, # expose the actual Rust error directly
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue