Edit : [closed] Inherited mypy/style-check error from main branch (agno/team/team.py line 4275) breaks PR validation

edit : [closed]

Description:
After merging the latest main branch into my working branch, all new PRs are failing the style-check due to a mypy error:

`agno/team/team.py:4275: error: Item "None" of "Optional[list[Union[Toolkit, Callable[..., Any], Function, dict[Any, Any]]]]" has no attribute "__iter__" (not iterable) [union-attr] Found 1 error in 1 file (checked 524 source files) Process completed with exit code 1 `

This type error was not present before merging main. It now affects anyone attempting to validate a PR after updating from main, even if their code did not touch this file.

My affected PRs:

  • #4757 ([refactor] Refactor PDF readers for efficiency and code reuse)

  • #4717 ([fix] preserve extra_content on early return in _clean_page_numbers)

  • #4722 ([feat] Add ImageReader feature with OCR and Vision modes)

Resolving this will unblock PR validation for all contributors.