packages/vaex-ui/vaex/ui/main.py
def open(self, path):
        """Add a dataset and add it to the UI"""
        logger.debug("open dataset: %r", path)
        if path.startswith("http") or path.startswith("ws"):
            dataset = vaex.open(path, thread_mover=self.call_in_main_thread)
        else:
            dataset = vaex.open(path)
        self.add_recently_opened(path)
        self.dataset_selector.add(dataset)
        return dataset
def open(self, path):
        logger.debug("open dataset: %r", path)
        if path.startswith("http") or path.startswith("ws"):
            dataset = vaex.open(path, thread_mover=self.call_in_main_thread)
        else:
            dataset = vaex.open(path)
        self.add_recently_opened(path)
        self.dataset_selector.add(dataset)
        return dataset
def open ( self , path ) : logger . debug ( "open dataset: %r" , path ) if path . startswith ( "http" ) or path . startswith ( "ws" ) : dataset = vaex . open ( path , thread_mover = self . call_in_main_thread ) else : dataset = vaex . open ( path ) self . add_recently_opened ( path ) self . dataset_selector . add ( dataset ) return dataset
Add a dataset and add it to the UI
Add a dataset and add it to the UI