Revision history [back]
This can happen if a module is written in such a way that static analysis cannot determine the type of a function's return value (in this case boto3.client). It works in the Python Shell and will also work in the editor if you run to a break point there because then Wing can also use runtime analysis to determine types.
You can also add a type annotation for 'c' as a way to make it work also when static analysis is all that is available. For details see https://wingware.com/doc/edit/analysis-helping-type-hints