Fix Python 3.9 compatibility and formatting for lazy-loaded global context - #182
Conversation
Co-authored-by: LuckierDodge <15006408+LuckierDodge@users.noreply.github.com>
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot the tests are erroring out due to a 3.9 backcompat issue (use of a pipe operator instead of typing.Union for type hints). Please address this issue. |
Co-authored-by: LuckierDodge <15006408+LuckierDodge@users.noreply.github.com>
Fixed the Python 3.9 compatibility issue (commit 1ee2dfd). Replaced the pipe operator ( |
Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action |
||||||||||||||||||||||||
PR Info
Fixes Python 3.9 backward compatibility issue and formatting violations after implementing lazy-loaded GlobalMadsciContext to prevent
--helpargument capture.Changes:
|) withOptionalfrom typing for type unionsOptionalto imports incontext.pyMadsciContext | None→Optional[MadsciContext]test_global_context_across_threadsDeveloper Checklists
I have:
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.