Skip to content

fix: minor type hint in interpreter_in_ctx#27

Closed
IthacaDream wants to merge 1 commit intoGhostInShells:mainfrom
IthacaDream:fix/type-hint-in-interpreter_in_ctx
Closed

fix: minor type hint in interpreter_in_ctx#27
IthacaDream wants to merge 1 commit intoGhostInShells:mainfrom
IthacaDream:fix/type-hint-in-interpreter_in_ctx

Conversation

@IthacaDream
Copy link
Collaborator

Fix minor type hint in interpreter_in_ctx

Summary

  • Correct return annotation from Interpreter to AsyncIterator[Interpreter] for the @asynccontextmanager method.
  • Aligns with actual usage (async with ...), resolves type-checker noise, no runtime impact
Before After
before after

@IthacaDream
Copy link
Collaborator Author

This is staled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant