Open fumitoh opened 3 months ago
The default completer setting of IPython ('limited') disallows listing the attributes of modelx objects from the second level.
'limited'
Option 1: Turning Jedi On
In Spyder: Check the option "Use Jedi completion in the IPython console," located at Preferences -> IPython console -> Advanced settings.
In VSCode: Type the following command in the IPython command prompt:
%config IPCompleter.use_jedi=True
Option 2: Changing the Evaluation Parameter
To change the evaluation parameter to 'unsafe', type the following commands:
'unsafe'
%config IPCompleter.use_jedi=False %config IPCompleter.evaluation='unsafe'
Both parameters can also be set in the config file located at .ipython/profile_default/ipython_config.py under your home directory.
.ipython/profile_default/ipython_config.py
The default completer setting of IPython (
'limited'
) disallows listing the attributes of modelx objects from the second level.Workaround Options
Option 1: Turning Jedi On
In Spyder: Check the option "Use Jedi completion in the IPython console," located at Preferences -> IPython console -> Advanced settings.
In VSCode: Type the following command in the IPython command prompt:
Option 2: Changing the Evaluation Parameter
To change the evaluation parameter to
'unsafe'
, type the following commands:Setting Parameters in the Config File
Both parameters can also be set in the config file located at
.ipython/profile_default/ipython_config.py
under your home directory.