Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Python dose not autocomplete methods from inherited class #52

@mindryu

Description

@mindryu

vscode : 1.30.2
intellicode : 1.1.2
os : Windows 10

I Can't found how to get autocomplete of inherited methods.
Am I misunderstanding about something?
Here is example.

from keras.models import Sequential
from keras.layers import Dense, Activation

model = Sequential([
    Dense(32, input_shape=(784,)),
    Activation('relu'),
    Dense(10),
    Activation('softmax'),
])

# not support autocomplete
model.summary()  
model.compile(loss='categorical_crossentropy', optimizer='sgd', metrics=['accuracy'])

# It works! 
model.__base__.compile() 
model.__base__.__base__.summary()

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions