From 029bbcacdb1d4ce76a6909230977db5e294b41bf Mon Sep 17 00:00:00 2001 From: Nautics889 Date: Mon, 2 Oct 2023 22:29:24 +0300 Subject: [PATCH] docs: update `load_connector()` docstring * (docs): fix inconsistency in `load_connector()` docstring --- pandasai/smart_dataframe/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pandasai/smart_dataframe/__init__.py b/pandasai/smart_dataframe/__init__.py index 2b1e4d81b..c73769eda 100644 --- a/pandasai/smart_dataframe/__init__.py +++ b/pandasai/smart_dataframe/__init__.py @@ -155,7 +155,10 @@ def load_connector(self, temporary: bool = False): Load a connector into the smart dataframe Args: - connector (BaseConnector): Connector to be loaded + temporary (bool): Whether the connector is for one time usage. + If `True` passed, the connector will be unbound during + the next call of `dataframe` providing that dataframe has + been loaded. """ self.dataframe = self.connector.execute() self._df_loaded = True