Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autocompletion support for Notebook #13

Open
noklam opened this issue May 23, 2024 · 2 comments
Open

Autocompletion support for Notebook #13

noklam opened this issue May 23, 2024 · 2 comments
Labels
feature Improvement of existing feature or new feature Python Pull requests that update Python code

Comments

@noklam
Copy link
Contributor

noklam commented May 23, 2024

Supportcatalog.load(" (Hit Tab)-> catalog.load("shuttle"). catalog.datasets was introduced to support autocompletion but it suffers from the . attribute of python. As a result there is a workaround to transform it to __, but it makes thing inconsistent.

There is an opportunity to enable autocompletion support on notebook.

Challenge:

  • The main challenge is how to make autocomplete triggers at the right time. i.e. I don't want the catalog entry when I am just typing some random strings or docstring.
@jitu5 jitu5 added the feature Improvement of existing feature or new feature label Sep 24, 2024
@jitu5 jitu5 added javascript Pull requests that update Javascript code Python Pull requests that update Python code and removed javascript Pull requests that update Javascript code labels Sep 25, 2024
@astrojuanlu
Copy link
Member

Does the new KedroDataCatalog offer better autocomplete @ElenaKhaustova ?

@ElenaKhaustova
Copy link

Does the new KedroDataCatalog offer better autocomplete @ElenaKhaustova ?

The autocompletion itself remains the same, so will work when hitting Tab. But catalog.datasets["shauttles"] interface is replaced by just catalog["shuttles"] and datasets property will be removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Improvement of existing feature or new feature Python Pull requests that update Python code
Projects
Status: No status
Development

No branches or pull requests

4 participants