First time here? Check out the FAQ!

Boto3 autocomplete issue

  • retag add tags

When I use aws sdk, boto3, I can't get autocomplete function. For example,

import boto3

c = boto3.client("dynamodb")


| is the cursor position. In python shell, it will popup a menu with all functions about client, but in the editor, it will not show anything.

bai's avatar
asked 2023-08-29 03:03:36 -0600, updated 2023-08-29 03:05:07 -0600
edit flag offensive 0 remove flag close merge delete


add a comment see more comments

1 Answer


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…

Wingware Support's avatar
Wingware Support
answered 2023-08-29 06:22:05 -0600
edit flag offensive 0 remove flag delete link


add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer