I'm not sure if I am doing something wrong, or doing something unsupported. I am using 2016.1.0633. Consider the following example:
# employee.py def create_employee(name, id): return Employee(name, id) class Employee(object): def __init__(self, name, id): self._name = name self._id = id def get_name(self): return self._name def get_id(seld): return self._id
# manager.py import employee emp = employee.create_employee("Alice", 1) print(emp.get_name()) # IntelliPrompt does NOT show employee methods assert isinstance(emp, employee.Employee) print(emp.get_name()) # IntelliPrompt does NOT show employee methods emp2 = employee.Employee("Bob", 2) print(emp2.get_name()) # IntelliPrompt does show employee methods
I am not sure if I can, and how to, get intelliprompt to work in either of the first two scenaros. Any help would be much appreciated. Thank you!
[Modified 6 years ago]