Netflix/metaflow

Support auto-completion of Metaflow objects/API in notebooks

Closed

#1,114 opened on Aug 18, 2022

 (9 comments) (2 reactions) (0 assignees)Python (695 forks)batch import
enhancementhelp wantedupforgrabs

Repository metrics

Stars
 (7,202 stars)
PR merge metrics
 (Avg merge 31d 18h) (23 merged PRs in 30d)

Description

We could support some form of auto-completion for Metaflow in iPython. Some examples:

def _ipython_key_completions_(self):
    return [s.id for s in self.steps()]

on a run to complete something like my_run['<tab>

Details on the possibilities here: https://ipython.readthedocs.io/en/stable/config/integrating.html#tab-completion

Contributor guide