mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-11-03 12:53:35 +08:00
Mypy on CI flagged ``second_run_state.get_prior(...).content`` because ``get_prior`` returns Optional[AgentResponse]. The preceding ``is not None`` assert doesn't narrow the next call's return type. Bind the result first, assert non-None, then access .content.